Hi liooil,
I'm using OJB in my struts application.

At the beginning I used Druid to create the package with the beans
(BusinessObjects? or DTO as explained in
http://www.reumann.net/struts/lesson1/step4.do) and the repository.xml file.

Here you can find Druid: http://druid.sourceforge.net/index.html

Then I've created a package of BusinessObjectsService that I can call from
my Action (as explained in http://www.reumann.net/struts/lesson1/step5.do).

I use the class of this package to store and retrieve data from the db using
the PersistenceBroker as explained in the related OJB tutorial.

I don't use the DAO pattern but it works...

Hoping this help,
aris.




----- Original Message ----- 
From: "liooil " <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 15, 2004 10:41 AM
Subject: OJB && struts


Hello world,

I'm trying to connect my web to my db through OJB ...
I found many threads relative to this topic (persistence, ...,
whatever, ...)
And after that, i feel fuzzy about all mentioned patterns :
DAO, Broker, Business Delagate, and so on ...

At this moment, i'm stuck with my ODMG/OJB Struts plugIn (like in
Cavaness's Beer4all) and i don't how i could connect that to my
DAO pattern.

Code Exemples on topice are not numerous. Or they just ignore the
whole chain needed for reliable production web.


Any comments, links are welcome

thx,


liooil,


___[ Pub ]____________________________________________________________
Inscrivez-vous gratuitement sur Tandaime, Le site de rencontres !
http://rencontre.rencontres.com/index.php?origine=4



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


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

Reply via email to