Enterprise JavaBeans Tutorial Training IndexTMEnterprise JavaBeans Tutorial:Building Your First Stateless SessionBeanby Tom Daly and Uday Shetty l About this Tutoriall About the Examplel How to Build Your First Stateless Session Bean Step 1: Install an Enterprise JavaBeans Server Step 2: Specify the Enterprise JavaBeans Remote Interface Step 3: Specify the Home Interface Step 4: Write the Enterprise JavaBean Class Step 5: Create the ejb-jar File Step 6: Deploy the DemoBean Enterprise JavaBeans Step 7: Write the Enterprise JavaBean Client Step 8: Run the Clientl SummaryAbout this TutorialThe intention of this tutorial is to demonstrate how easy it is tobuild server-side Java components using the Enterprise JavaBeanscomponent model. In fact, ease-of-use and ease-of-programmingare key. It is designed to enhance your understanding of theEnterprise JavaBeans Specification, and the Enterprise JavaBeansmodel by providing concrete examples and step-by-step guidelinesfor building and using Enterprise JavaBeans applications.This tutorial shows you how to program Enterprise JavaBeans, andhow to install, or deploy, them in an Enterprise JavaBeanscontainer. Note: in Enterprise JavaBeans terminology theinstallation process is called deployment. The Enterprise JavaBeansContainer is provided by the Enterprise JavaBeans server vendor, sois not something the programmer has to worry too much about.By following the eight steps, and working ...
Enterprise JavaBeans Tutorial Training Index Enterprise JavaBeansTMTutorial: Building Your First Stateless Session Bean by Tom Daly and Uday Shett lAbout this Tutorial lAbout the Example lHow to Build Your First Stateless Session Bean Step 1: Install an Enterprise JavaBeans Server Step 2: Specify the Enterprise JavaBeans Remote Interface Step 3: Specify the Home Interface Step 4: Write the Enterprise JavaBean Class Step 5: Create theejb-jarFile Step 6: Deploy the DemoBean Enterprise JavaBeans Step 7: Write the Enterprise JavaBean Client Step 8: Run the Client lSummary About this Tutorial The intention of this tutorial is to demonstrate how easy it is to build server-side Java components using the Enterprise JavaBeans component model. In fact, ease-of-use and ease-of-programming are key. It is designed to enhance your understanding of the Enterprise JavaBeans Specification, and the Enterprise JavaBeans model by providing concrete examples and step-by-step guidelines for building and using Enterprise JavaBeans applications. This tutorial shows you how to program Enterprise JavaBeans, and how to install, ordeploy, them in an Enterprise JavaBeans container. Note: in Enterprise JavaBeans terminology the installation process is calleddeployment. The Enterprise JavaBeans Container is provided by the Enterprise JavaBeans server vendor, so is not something the programmer has to worry too much about. By following the eight steps, and working through the examples, you will become familiar with the fundamental pieces of the Enterprise JavaBeans model, and create the Enterprise JavaBeans version of the "Hello World" program. To get the most out of this tutorial you need to be familiar with at http://developer.java.sun.com/developer/onlineTraining/Beans/EJBTutorial/index.html (1 de 3) [12/31/1999 11:28:54 AM]
least the basic concepts of the Enterprise JavaBeans programming model. Programmers who are not familiar with Enterprise JavaBeans should refer to theJava Tutorial, and the white paper, Enterprise JavaBeans Technology. About the Example The example introduces a complete stateless session enterprise JavaBean with source code for all the components. It is functionally equivalent to the perennial "Hello World" program. It is the simplest of all enterprise beans to write, and demonstrates the Enterprise JavaBeans model with minimum complexity. The example is built assuming access to the BEA Weblogic Enterprise JavaBeans server, which is mainly for convenience as an evaluation version of this server, and is available on the Web, (see Step 1for BEA Weblogic download and installation instructions). The code for the bean should work in any Enterprise JavaBeans-compliant container or server. The only changes required should be in the deployment process and perhaps the client code. The diagram below describes the architecture of the DemoBean example and its client program.
[ This page was updated: 13-Dec-99 ] Products & APIs|Developer Connection|Docs & Training|Online Support Community Discussion|Industry News|Solutions Marketplace|Case Studies Glossary-Applets-Tutorial-Employment-Business & Licensing-Java Store-Java in the Real World FAQ|Feedback|Map|A-Z Index