Tuesday, November 13, 2007

Lab 3 Postmortem

UI Implementation
The templating engine I chose to use is Velocity. This is great because all I have to do is:

1) determine which objects will be visible to the velocity template and use it in teh html (actually *.vm) file to populate the dynamic data.
2) in the servlet, inject the Java objects I used in step (1) into the template context.

Getting the listings
Here, I used HttpClient to maje the "GET" calls.

Overall coding
This lab required a bit more programming than the previous labs. This was mainly because I wanted to add some smarts to the page navigation.

No comments: