struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Chew" <keith.c...@jungledrum.co.nz>
Subject RE: Best Approach for Database Access?
Date Wed, 13 Feb 2002 00:09:51 GMT

More pointers...

In the example I gave earlier, the DaoBean is responsible for communicating
with the database. So, you can implement the data access with any of these
technologies:
- direct SQL
- O/R mapper like Castor, Toplink, Cocobase
- JDO
- ...

In the CMP environment, the container will take care of all these. However,
you need to configure the O/R settings at the container level.

PS: The Core J2EE Patterns is a very good reference book. Definitely
worthwhile getting a copy.

Keith


-----Original Message-----
From: Rooms, Christoph [mailto:CRooms@SilverStream.com]
Sent: Wednesday, 13 February 2002 11:04 a.m.
To: 'Galbreath, Mark '; ''Struts Users Mailing List' '
Subject: RE: Best Approach for Database Access?


Check out castor, worked fine for me !!!

http://www.castor.org

-----Original Message-----
From: Galbreath, Mark
To: 'Struts Users Mailing List'
Sent: 12/02/2002 22:52
Subject: RE: Best Approach for Database Access?

Check out the "Guidelines" and "Patterns" at

http://java.sun.com/blueprints/,

"Accessing Relational Databases" at

http://jakarta.apache.org/struts/userGuide/index.html,

and get 'hold of "Core J2EE Patterns" by Alur, et al.

Mark

-----Original Message-----
From: Paul Idusogie [mailto:Paul.Idusogie@stellent.com]
Sent: Tuesday, February 12, 2002 3:38 PM

Could you kindly provide guidance on the best approach to implement
database
access.?
I have encountered various schools of thought in my reading, that
suggest
extracting the business logic and database code from the jsp into a jsp
bean
or ejb or servlet.

Thanks,

Paul Idusogie

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message