O'Reilly logo

Special Edition Using Enterprise JavaBeans™ 2.0 by Brian Keeton, Chuck Cavaness

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

Deploying a Session Bean

The deployment information for a session bean must identify the associated interfaces and classes, specify a session bean type, and select the transaction management option. It also must declare any EJB reference, environment entries, and transaction attributes. You’ll see more about these entries in Chapter 12 and Chapter 15, “Deployment.” For now, the relevant portions of a deployment descriptor for the auction house stateless session bean are shown in the following:

 <ejb-jar> <enterprise-beans> ... <session> <ejb-name>AuctionHouse</ejb-name> <home>com.que.ejb20.auction.controller.AuctionHouseHome</home> <remote>com.que.ejb20.auction.controller.AuctionHouse</remote> <ejb-class>com.que.ejb20.auction.controller.AuctionHouseBean</ejb-class> ...

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