Re: Struts w/EJB

2003-08-01 Thread Erik Price
Martin Naskovski wrote: Hello all. Is there an app that demonstrates the use of Struts EJB as a persistence layer? I checked out Struts-Resume from Matt Raible, but it uses Hibernate... Is there anything available w/EJB's? Thanks. http://xpetstore.sf.net/ There are two implementations of

Re: Struts w/EJB

2003-08-01 Thread Vic Cekvenich
Maybe EJB should be used with JSF (and blue prints http://java.sun.com/blueprints/code/index.html) instead of Struts. Struts is more like this http://ibatis.com/jpetstore/jpetstore.html. .V Erik Price wrote: Martin Naskovski wrote: Hello all. Is there an app that demonstrates the use of

Re: Struts w/EJB

2003-07-31 Thread James Mitchell
Download modelj from sourceforge and try it. Supply the path to your j2ee.jar and build the sample app in 2 minutes. Modelj will create a struts/ejb application for you from one single config file. Using JBoss, all you have to do is setup a default data source and deploy your sample.ear.

RE: Struts w/EJB

2003-07-31 Thread Kalra, Ashwani
hi, Struts doesnt enforce or set any rules or guidelines for using ejbs. With in your action classes you should use Business Delegate to hide the client's dependency on any persistance layer ejb or DAO. Cheers Ashwani Kalra http://www.geocities.com/ashwani_kalra/ -Original Message-

RE: Struts w/EJB

2003-07-31 Thread Shashank Dixit
try looking xpetstore. xpetsotre.sourceforge.net. see if it helps Shashank -Original Message- From: Kalra, Ashwani [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 10:24 AM To: 'Struts Users Mailing List' Subject: RE: Struts w/EJB hi, Struts doesnt enforce or set any rules