There are often newbie requests asking how to deal with a database layer
from Struts. Since there are so many ways this can be done,
'simple' examples of how this can be done seem hard to come by. Since I
currently use iBATIS as my persistence mechanism of choice, I created a
simple Struts application demonstrating just one way a developer could
use database persistence:  

http://www.reumann.net/do/struts/ibatisLesson1

I didn't really have the time to write up a full lesson like the others
on the site, but I did provide some comments on a few of the components
that deal directly with iBATIS http://www.ibatis.com/.(The iBATIS
documentation is excellent and should be read first along side the
application). I've looked at the way others have plugged into the
database layer and happen to think the approach I demonstrate is simple
yet also very flexible. 

For a more powerful implementation the user should check out the
awesome JPetStore application at
http://www.ibatis.com/jpetstore/jpetstore.html.

Also, Vic has an interesting approach using iBATIS demonstrated in
the basicPortal application that you can check out
here: http://www.basicportal.com/

-- 
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to