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 an Entity Bean Using BMP

After you’ve defined a bean’s home and component interfaces and developed a bean implementation class, the last step is to provide the deployment information for it. As you’ve seen throughout the chapter, this information controls a number of characteristics of a bean. Listing 6.14 shows a complete ejb-jar.xml deployment descriptor for the auction, item, and bidder entity beans.

Listing 6.14. ejb-jar.xml–XML Deployment Descriptor
 <?xml version="1.0"?> <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'> <ejb-jar> <enterprise-beans> <entity> <ejb-name>EnglishAuction</ejb-name> <local-home>com.que.ejb20.auction.model.EnglishAuctionHome</local-home> ...

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