Grid Services Exercise with Service Data

Part 1: Programming Exercise

To start with, go through the steps in the preliminary Grid Exercise.

Using this starting point, create a new service MathServiceSD that adds a Service Data Elements to your service: Cost, which will be a float. Use the Service Data implementation notes and the GT3 Programmer's Tutorial to help you. Use ant deploy to either, 1) deploy two persistent MathServiceSD, each with a different cost, or 2) create two transient MathServiceSD each with a different cost. How you choose to do this is up to you, but more "interesting" programs will receive higher grades.

Also, create a client, CheapClient, as follows:

CheapClient should accept a parameter, Value, which is an integer, and the GSH of two MathServices, as appropriate.

The client should contact the two different MathServices and query the Cost SDE to determine the cost of the service. The client should then select the least expensive service and perform an add operation as in the preliminary Grid Exercise.

What to turn in: The MathServiceSD implementation code for your assignment should be in your account on talon, in a subdirectory entitled "GridServices/yourusernameAssignments/services/MathServiceSD". The CheapClient code for your assignment should be in your account on talon, in a subdirectory entitled "GridServices/yourusernameAssignments/clients/CheapClient". The supporting files will also be in your GridServices subdirectory.

I may ask for a demonstration so that you can show me how your code works.

Part 2: Assessment Questions

Also answer the following questions, which will help me to improve this assignment. Turn these answers in on a separate piece of paper without your name on it.
  1. How many hours did you spend on this assignment?

    Rate each of the following on a scale of 1-10 where 1 is "none/not at all" and 10 is "completely/definitely"

  2. Rate your prior proficiency with Grid Services.
  3. Rate your current proficiency with Grid Services.
  4. The assignment was reasonable, given your starting skills.
  5. The preliminary reading material was sufficient. If it was not, can you describe what was missing?
  6. The assignment was comprehensible.
  7. The assignment was hard.
  8. I enjoyed the assignment.
  9. It was helpful to have completed the Java RMI assignment prior to the Grid Services assignment.
  10. It was helpful to have completed the Web Services assignment prior to the Grid Services assignment.
  11. The Grid Services assignment depended on knowledge gained from the RMI assignment. If so, can you give some detail about what know from the RMI assignment helped in this assignment?
  12. The Grid Services assignment depended on knowledge gained from the Web Services assignment. If so, can you give some detail about what know from the Web Services assignment helped in this assignment?
  13. I feel prepared to write a more advanced Grid Service on my own.
  14. The tools on talon were sufficient for this a ssignment. If not, what tools would you suggest that we use instead?

    Finally, answer the following open-ended questions.

  15. If I had to list the most important things that you should know before trying to learn Grid Services, I would say that these are:
  16. What would you change about this assignment?

Last modified: Mon Oct 11 23:14:49 Central Daylight Time 2004