I second the suggestion to start with JDBC. I've written a simple JdbcReader and JdbcWriter that I use within a DAO for accessing the database. You can find it at http://idiacomputing.com/moin/JdbcPersistence
- George > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 19, 2006 10:17 AM > To: Struts Users Mailing List > Subject: [OT] Re: Database Access > > > It appears that you're still a student and you've asked for a > "...simple > way to access a database." > > My suggestion, start with JDBC. From there, you can > investigate other > options including, but not limited to, DbUtils, iBatis, > Hibernate, EJB > entity beans, etc. > > Scott Ambler has a nice article you might be interested in: > http://www.ambysoft.com/essays/persistenceLayer.html > > -Dennis > > > > > Asad Habib <[EMAIL PROTECTED]> > 01/19/2006 10:10 AM > Please respond to > "Struts Users Mailing List" <user@struts.apache.org> > > > To > user@struts.apache.org > cc > > Subject > Database Access > > > > > > > What are the different ways in designing the persistence > layer so that it > works with a Struts application? I am looking for a simple > way to access a > > database. Should I use hibernate? Are there any articles online that > discuss these alternatives and their tradeoffs? Thanks. > > - Asad --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]