November 27, 2003

The Real Test

So I took my code for testing out Jaxor and actually implemented the appropriate JSP's and Actions to go along to take my theories for a spin around the webapp. It all works. My Actions are a bit ugly because they are very specific to the Use Case that I am using for testing, so they will need refactoring soon. I have functionality to add and view Entities. The one problem that I bumped into was with JSTL not approving of the Entity specific List being returned. I noticed a toList() method in the Entity's List object, so I added a getList() that returns toList() so that JSTL will know what to do with it all. Of course if I was using Velocity, I may not have that problem.

I didn't have any problems with the lazy loading... I put JaxorContext's start and end in the BaseAction, but then my list only has 3 entries, so it may not be affecting me right now.

Posted by carl at November 27, 2003 11:00 PM

Comments