Borland Software Corporation may have patents and/or pending patent applications covering subject matter in this document. Please refer to the product CD or the About dialog box for the list of applicable patents. The furnishing of this document does not give you any license to these patents.
COPYRIGHT \u00a9 1997\u20132001 Borland Software Corporation. All rights reserved. All Borland brand and product names are trademarks or registered trademarks of Borland Software Corporation in the United States and other countries. All other marks are the property of their respective owners.
Contacting Borland developer support. . . . . 1-4 Online resources. . . . . . . . . . . . . . . . 1-4 World Wide Web. . . . . . . . . . . . . . . . 1-4 Borland newsgroups. . . . . . . . . . . . . . 1-5 Usenet newsgroups. . . . . . . . . . . . . . 1-5 Reporting bugs. . . . . . . . . . . . . . . . . 1-5
Why are J2EE applications desirable?. . . . . . 2-1
Benefits of the multi-tier model. . . . . . . . 2-3
How JBuilder can help. . . . . . . . . . . . . . 2-5
Client tier technologies. . . . . . . . . . . . 2-5
Middle-tier technologies. . . . . . . . . . . . 2-6
Other J2EE technologies. . . . . . . . . . . . 2-7
Preparing to deploy J2EE applications. . . . 2-8
Learning about J2EE. . . . . . . . . . . . . . . . 2-8
application. . . . . . . . . . . . . . . . . . . . 3-2
Application roles. . . . . . . . . . . . . . . . 3-2
Infrastructure roles. . . . . . . . . . . . . . . 3-3
Deployment and operation roles. . . . . . . 3-4
EJB architecture. . . . . . . . . . . . . . . . . . 3-4
The EJB server. . . . . . . . . . . . . . . . . 3-5
The EJB container. . . . . . . . . . . . . . . . 3-5
How an enterprise bean works. . . . . . . . 3-6
Types of enterprise beans. . . . . . . . . . . . . 3-7
Session beans. . . . . . . . . . . . . . . . . . 3-7
Entity beans. . . . . . . . . . . . . . . . . . . 3-7
Message-driven beans. . . . . . . . . . . . . 3-7
Remote and local access. . . . . . . . . . . . . . 3-8
Developing enterprise beans. . . . . . . . . . . 3-8
project. . . . . . . . . . . . . . . . . . . . . . . 4-4
Making the ORB available to JBuilder. . . . . . 4-4
Selecting an application server. . . . . . . . . . 4-4
Setting up JDBC drivers. . . . . . . . . . . . . . 4-5
Creating the .library and .config files. . . . . 4-6
Adding the JDBC driver to projects. . . . . . 4-7
existing deployment descriptors. . . . . 5-4
Displaying the EJB Designer. . . . . . . . . . . . 5-5
Creating session beans. . . . . . . . . . . . . . . 5-7
Viewing a bean\u2019s source code. . . . . . . . . . . 5-8
Modifying the bean. . . . . . . . . . . . . . . . . 5-9
Editing bean attributes. . . . . . . . . . . . . 5-9
Adding a new field. . . . . . . . . . . . . . . 5-9
Removing a field. . . . . . . . . . . . . . 5-10
Adding a new method. . . . . . . . . . . . 5-10
Removing a method. . . . . . . . . . . . 5-11
Creating message-driven beans. . . . . . . . . 5-12
Creating entity beans. . . . . . . . . . . . . . . 5-13
imported data source. . . . . . . . . . . . 5-13 Importing a data source. . . . . . . . . . 5-13 Modifying the imported data