Changes between Version 6 and Version 7 of SimpleDataServicePart13-Invoke

Show
Ignore:
Author:
ppreddy@uab.edu (IP: 138.26.125.8)
Timestamp:
09/15/09 11:57:07 (2 months ago)
Comment:

dev:sds:change repo source links

Legend:

Unmodified
Added
Removed
Modified
  • SimpleDataServicePart13-Invoke

    v6 v7  
    1111 To import the project into the Eclipse workspace 
    1212 1. File -> Import -> Existing Projects into Workspace 
    13 [[Image(source:exp/sds/images/sds13/ImportPrj1.png)]] 
     13[[Image(source:exp/sds/exp1/images/sds13/ImportPrj1.png)]] 
    1414 2. Browse to the location where you saved the Introduce created data service in [http://dev.uabgrid.uab.edu/wiki/SimpleDataServicePart13-SvcSkel#GenerateDomainModel step 6 of generating the domain model] 
    15 [[Image(source:exp/sds/images/sds13/ImportPrj2.png)]] 
     15[[Image(source:exp/sds/exp1/images/sds13/ImportPrj2.png)]] 
    1616 3. Click Finish 
    1717 
    2424 1. Expand project Person in Eclipse and navigate to src -> edu.uab.uabgrid.cacoresdk.domain package 
    2525 2. Select the package -> Right Click -> New -> class 
    26 [[Image(source:exp/sds/images/sds13/CreateClass1.png)]] 
     26[[Image(source:exp/sds/exp1/images/sds13/CreateClass1.png)]] 
    2727 3. Type the class Name as ''!HibernateUtil.java'' -> Finish 
    2828 4. Copy [source:exp/sds/output/local-client/src/HibernateUtil.java this java code] and paste to the above created ''!HibernateUtil.java'' 
    2929 5. Make sure that the first line in the above class is the package name ''package edu.uabgrid.uab.cacoresdk.domain'' to preserve the namespace 
    30 [[Image(source:exp/sds/images/sds13/CreateClass2.png)]] 
     30[[Image(source:exp/sds/exp1/images/sds13/CreateClass2.png)]] 
    3131 6. Save project Ctrl-S 
    3232  
    3535 1. Repeat steps 1 and 2 above to create a new class 
    3636 2. Type the class Name as ''!PeopleClient.java'' -> Finish 
    37  3. Copy [source:exp/sds/output/local-client/src/PeopleClient.java this java code] and paste to the above created ''!PeopleClient.java'' 
     37 3. Copy [source:exp/sds/exp1/output/local-client/src/PeopleClient.java this java code] and paste to the above created ''!PeopleClient.java'' 
    3838 4. Make sure that the first line in the above class is the package name ''package edu.uabgrid.uab.cacoresdk.domain'' to preserve the namespace 
    3939 5. Save project Ctrl-S 
    40 [[Image(source:exp/sds/images/sds13/CreateClass3.png)]] 
     40[[Image(source:exp/sds/exp1/images/sds13/CreateClass3.png)]] 
    4141 
    4242== Add External Jar == 
    5252 1. Select project Person -> Right Click -> Properties 
    5353 2. In the Properties window -> select Java Build Path -> Click on the tab Libraries  
    54 [[Image(source:exp/sds/images/sds13/AddExtJar1.png)]] 
     54[[Image(source:exp/sds/exp1/images/sds13/AddExtJar1.png)]] 
    5555 3. Click on the tab Add External Jars 
    5656 4. Navigate to the above specified location to add the ''person-orm.jar'' 
    57 [[Image(source:exp/sds/images/sds13/AddExtJar2.png)]] 
     57[[Image(source:exp/sds/exp1/images/sds13/AddExtJar2.png)]] 
    5858 5. Click OK -> OK 
    5959 6. You will now see the ''person-orm.jar listed under the ''Referenced Libraries'' folder 
    7070 1. In Eclipse, navigate to Person -> src -> edu.uabgrid.uab.cacoresdk.domain  
    7171 2. Select !PeopleClient.java -> Right Click -> Run As -> Java Application 
    72 [[Image(source:exp/sds/images/sds13/RunApp.png)]] 
     72[[Image(source:exp/sds/exp1/images/sds13/RunApp.png)]] 
    7373 3. The console will list the objects in the table ''PERSON'' of the ''Person'' caGrid data service 
    74 [[Image(source:exp/sds/images/sds13/QueryResult.png)]] 
     74[[Image(source:exp/sds/exp1/images/sds13/QueryResult.png)]] 
    7575 
    7676== Check the Data Service Registration ==