In this chapter, we've seen how, should you choose to use Spring together with EJBs, Spring can make accessing and implementing EJBs much easier. We've explored the use of convenient proxies for encapsulating access to EJB Home objects as well as the EJBs themselves, along with the use of Spring's abstract base classes for easily implementing Session Beans and Message Driven Beans, with access to an automatically loaded bean factory or application context. We've also learned about the ContextSingletonBeanFactoryLocator, useful for EJBs to access beans from a shared application context, and in fact useful for any glue code that has some of the same constraints as EJBs. Finally, we've discussed some strategies for testing your code when EJBs come into the picture.

Professional Java Development with the Spring Framework
Professional Java Development with the Spring Framework
ISBN: 0764574833
EAN: 2147483647
Year: 2003
Pages: 188 © 2008-2017.
If you may any questions please contact us: