i have some entity beans and also i am using struts.
what i want to know is when i am calling the create method should that be defined in the perfom method of the struts action or is there any other and better way to do this.
Last time I used Struts my action classes simply acted as proxies to my Stateless Session Beans. My stateless session beans implemented the Facade pattern.
I did this to achieve a true separation of the Web tier from the Application tier.
Interesting timing. I just posted the draft chapter of "Struts and Enterprise JavaBeans (EJB)" from my upcoming O'Reilly Struts book on this site today. It covers these topics. You can download the chapter from here:
Any feedback would be appreciated.