Changes between Version 2 and Version 3 of S2S_FACADE_RESOURCE_ACCESS_R0


Ignore:
Timestamp:
01/25/09 17:31:29 (16 years ago)
Author:
kyli
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified S2S_FACADE_RESOURCE_ACCESS_R0

    v2 v3  
    77 
    88== 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.  
     9The 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 
    1011 
    1112== Task requirements == 
    12 This task must make initial model 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. 
     13This 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. 
    1415 * What else should be added, depends on the result of [wiki:S2S_CORE_RESOURCES_R0]. 
    1516 * Refactor the current code to use the new facade classes. This includes jsps, servlets. 
     
    1718 
    1819== Task result == 
    19 More functional S2S facade (source code). 
     20Source code. 
    2021 
    2122== Implementation idea == 
    22 ^(Provide some rough implementation idea(s).)^ 
     23For 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. 
    2326 
    2427== 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]  
    2634 
    2735== How to demo == 
    28 ^(Provide instructions for demonstration of the task.)^ 
     36Show the new class(es), run the unit tests. 
    2937 
    3038= Design =