Help with using EJB and Spring's EJB implementation classes
I read the documentation, the reference manual and the Javadocs, however, I am still having difficulty getting started with using Spring and its convenience EJB Implementation classes. I would like to create a stateless session bean and delegate to a POJO class (as described in 15.2) in the reference manual. I have created the classes; the interface, the POJO Impl, and the EJBImpl which extends AbstractStatelessSessionBean. Now how do I go about writing the correct spring.xml file to load and use my EJBImpl? Can someone provide a detailed example? Also, how do I deploy this stuff in an EJB container? I am using Sun's Java Application Server 8 (with J2EE 1.4) to try this out.
Any help is appreciated.
Would appreciate an answer to question if possible
I have been through a large number of the posts on the forum regarding this topic - there was one that was almost helpful w.r.t. describing how the spring.xml would look for another type of EJB (remote I think). Anyway, my question isn't whether or not I think I should use EJB or POJO's [personally, I would like to avoid using EJB]. However, I am required to learn more about how I can use Spring and EJB together.
A lot of the documentation that comes with Spring is pretty good - Chapter 15 is a little too sparse, and the samples that come with Spring don't seem to have any examples of using EJB. I am not going to buy Rod's book and read chapter 11 (as suggested in the Javadocs) just to get some more info on this one topic either so please don't suggest I do so - I use many other features of Spring just fine by reading the Ref. manual, javadocs, and sample code.
Also, the topics suggested below (and the quote) are not helpful at all as I am not looking for architectural opinions - rather, I am looking for a concrete usage example, instructions, or both.