At 9:47 AM -0500 12/15/04, James Mitchell wrote:
Why did you choose OJB? Is it something you are already familiar with or is it something your Company has dictated?

James' question aside, the fact that you are trying to connect to a persistence framework based on OJB is not important. How are you implementing your DAO pattern? How are the DAO managers being configured and instantiated?


I'm not directly familiar with Chuck's ODMG/OJB plugin, but the way I've done this in the past is to have a PlugIn which instantiates DAO objects (and configures, if necessary, but OJB bootstraps its own configuration) and then put the DAO objects into the ServletContext where the Actions will know to retrieve them.

Does that make any sense? Can you be more specific about where you are having trouble?

Joe

PS as an aside, at my day job we have been using OJB since before Hibernate had gained all of the mindshare it currently seems to enjoy, and it is working just fine for us. We see no compelling reason to switch, although I do sometimes wonder if we've chosen the Betamax to Hibernate's VHS.



--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx

----- Original Message ----- From: "liooil " <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 15, 2004 4: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]


--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex


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

Reply via email to