I might be able to put something together for you. I'll see what I can do and I'll make it available via SVN from my website.
-----Original Message----- From: Nicolas [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 4:59 AM To: Tapestry users Subject: Re: [OT] Re: Best practice - Integration Hibernate/Tapestry Hi, Reading this, Tapestry + Spring + Hibernate looks great ! Does anyone have a small application using Tapestry 4 + Hibernate 3 + Spring ? Thanx in advance, Nicolas On 2/20/06, Pedro Abelleira Seco <[EMAIL PROTECTED]> wrote: > > EJB's are different things mixed. I'd you recommend you to read the Rod > Johnson books, but a good rule of thumb is: if you are not _sure_ you > need them the chances are that you don't need them. > > Use Spring to wire your DAO's and it's utility classes to help you write > them (with Hibernate or plain JDBC, if you are more used to it). Then > use your DAO's from Tapestry. It's really simple, once you have > bootstraped your enviroment, and more ellegant than the EJB normal > applications, IMHO. > > You might want to have a look at the jpetstore and petclinic sample apps > in the spring distribution. > > Regards > Pedro > > El sáb, 18-02-2006 a las 00:48 +0100, Andreas Bulling escribió: > > Hi again, > > > > I'm in despair because I just can't understand the whole > Hibernate/EJB/domain-model/etc. > > stuff even after reading documentation, tutorials and example code for > days, now :( > > (perhaps I've just read the wrong documents, I don't know...) > > > > So *please*, even if it's not directly related to Tapestry, but as other > OT messages > > have been posted and answered already on this list and I don't know > > whom to ask instead or which documents/books to read. > > > > If someone has a few minutes: > > Could someone please explain to me (even a short explanation would help) > > > > - What's the difference between CMP and Hibernate and in which situation > which > > one can/should be used? What are the pro's and con's of both approaches? > > > > - How can Hibernate be used in a Tapestry vlib-style application (where > CMP was used > > so far)? (the mentioned epluribus example seems to be reorganized > completely and I don't > > know if it's possible/reasonable at all to recode everything). Therefore > which > > Classes would need to be replaced/changed? > > > > - Is it possible/reasonable to use EJB's _and_ Hibernate and if yes how > can they > > be used together? > > > > Thanks a lot for any answer! > > Andreas > > > > --------------------------------------------------------------------- > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]