Changes between Version 2 and Version 3 of S2S_FACADE_RESOURCE_ACCESS_R0
- Timestamp:
- 01/25/09 17:31:29 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified S2S_FACADE_RESOURCE_ACCESS_R0
v2 v3 7 7 8 8 == Overview == 9 The Sophie 2 Server Facade layer provides interface which is the same on both the server and the client sides for manipulating the resources on the server. The Facade layer accesses the Server core logic. 9 The Sophie 2 Server Facade layer provides interface which is the same on both the server and the client sides for manipulating the resources on the server. The Facade layer accesses the Server core logic. 10 10 11 11 12 == Task requirements == 12 This task must make initialmodel of the facade logic for accessing resources. For now the facade has UserManager and GroupManager implemented, so at least BookManager can be created.13 * Create BookManager class, which provides the core functionality for accessing books for now.13 This task must improve th model of the facade logic for accessing resources. For now the facade has UserManager and GroupManager implemented, so at least BookManager can be created. 14 * Create class in the facade, which provides the core functionality for accessing books. 14 15 * What else should be added, depends on the result of [wiki:S2S_CORE_RESOURCES_R0]. 15 16 * Refactor the current code to use the new facade classes. This includes jsps, servlets. … … 17 18 18 19 == Task result == 19 More functional S2S facade (source code).20 Source code. 20 21 21 22 == Implementation idea == 22 ^(Provide some rough implementation idea(s).)^ 23 For every major kind of resource, create an interface in org.sophie2.server.facade, and its implementation in org.sophie2.server.facade.impl. For example, for the book resource create: 24 * Interface BookManager in org.sophie2.server.facade, which uses the BookService class. The methods there should be able to add/save/delete books, get all books, search books by different criterias 25 * Class ServerBookManager, which implements BookManager. 23 26 24 27 == Related == 25 ^(Add links to related tasks that could be useful or helpful.)^ 28 [wiki:S2S_DEPLOY_TECHNOLOGIES_R0] [[BR]] 29 [wiki:S2S_CORE_MODEL_R0] - Description of BookService [[BR]] 30 [wiki:S2S_CORE_RESOURCES_R0] - Description of other resources [[BR]] 31 [wiki:S2S_FACADE_META_ACCESS_R0] [[BR]] 32 [wiki:S2S_FACADE_LARGE_RESOURCE_ACCESS_R0] [[BR]] 33 [wiki:S2S_FACADE_RESOURCE_CHANGES_R0] 26 34 27 35 == How to demo == 28 ^(Provide instructions for demonstration of the task.)^ 36 Show the new class(es), run the unit tests. 29 37 30 38 = Design =