O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

You've covered a lot of ground today. You've learned that there are stateless and stateful Session beans, and each has their own lifecycle. You've seen in detail how to specify a Session bean by defining its home and remote interfaces and how to implement a bean by providing corresponding implementations for the methods in the home and remote interfaces, as well as how to implement the lifecycle methods as defined in the javax.ejb.SessionBean interface.

You've also learned in detail how the deployment descriptor provides configuration information describing the bean's characteristics and dependencies to the EJB container.

Additionally, you've seen that those dependencies are logical dependencies that must be mapped by the EJB deployer ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required