Cover image for Enterprise JavaBeans : developing component-based distributed applications
Title:
Enterprise JavaBeans : developing component-based distributed applications
Personal Author:
Publication Information:
Reading, Mass. : Addison-Wesley, 1999
Physical Description:
1v + 1 CD-ROM (CP 4120)
ISBN:
9780201604467

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010022359 QA76.73.J38 V34 1999 Open Access Book Book
Searching...

On Order

Summary

Summary

"Enterprise JavaBeans facilitates the development of distributed Java applications, providing an object-oriented transactional environment for building distributed, component-based, multitier enterprise applications." "Enterprise JavaBeans is designed to get you up-to-speed quickly, focusing on the exact information you need to become an effective Enterprise JavaBeans programmer. This example-filled book serves as an introduction and tutorial, and provides the in-depth information you need to handle real-world programming challenges." "You will find precise explanations on specific topics such as: the differences between stateful and stateless beans; the differences between bean-managed and container-managed Entity beans; how to call a bean from a servlet, another bean, or an applet; how to obtain and examine Enterprise JavaBeans metadata; how to identify deployment descriptors and the values they contain; how to use access control lists to set up permissions on an Enterprise JavaBeans server; and how a bean can retrieve and test a client's identity."--BOOK JACKET.Title Summary field provided by Blackwell North America, Inc. All Rights Reserved


Author Notes

Tom Valesky is Principal Software Engineer for Computer Based Systems, Inc., a contracting firm that specializes in working with civilian-sector Federal agencies. He has extensive experience developing client-server software under a variety of platforms. He is also a Contributing Editor for Advisor Publications' E-Business Advisor.



0201604469AB04062001


Table of Contents

Foreword
Preface
1 The Big Picture.
Introduction.
Transaction Processors.
ACID Properties of Transactions.
OLTP Versus OLAP.
Two-Tier, Client-Server Architecture.
Three-Tier Architecture.
Sockets.
RPCs.
CORBA.
RMI.
OLE/DCOM.
Message Queues.
Distributed Transaction Processing.
EJB's Role.
Conclusion.
2 EJB's Architecture.
Logical Architecture.
Overview of EJB's Software Architecture.
EJB Servers.
EJB Containers.
Enterprise Beans.
A High-Level View of an EJB Conversation.
Finding the Bean.
Getting Access to a Bean.
Calling the Bean's Methods.
Getting Rid of the Bean.
RMI Clients.
CORBA Clients.
Building and Deploying EJBs.
Writing the EJB.
Deploying the EJB.
Connecting to the EJB.
Roles in EJB.
Enterprise Bean Provider.
Deployer.
Application Assembler.
EJB Server Provider.
EJB Container Provider.
System Administrator.
3 Hello, EJB!
Requirements.
Design.
Implementation.
Step 1 reate the Remote Interface for the Bean.
Step 2 reate the Bean's Home Interface.
Step 3 reate the Bean's Implementation Class.
Step 4 ompile the Remote Interface, Home Interface, and Implementation Class.
Step 5 reate a Session Descriptor.
Step 6 reate a Manifest.
Step 7 reate an ejb-jar File.
Step 8 eploy the ejb-jar File.
Step 9 rite a Client.
Step 10 Run the Client.
What's Really Going on Here?
Conclusion.
4 Writing EJB Session Beans.
When to Use Session Beans.
Constraints on Session Beans.
Session Bean Life Cycle.
Transactions and EJB.
Stateful Session Bean Example.
Requirements.
Design.
Implementation.
Summing Up the Stateful Session Bean Example.
Stateless Session Bean Example.
Requirements.
Design.
Implementation.
Deploying the Example.
Conclusion.
5 Writing EJB Entity Beans.
When to Use Entity Beans.
Concurrent Use by Several Clients.
Long Lifetime.
Survival of Server Crashes.
Direct Representation of Data in an Underlying Database.
Bean-Managed Versus Container-Managed Persistence.
Primary Keys.
Entity Bean Life Cycle.
Nonexistence.
The Pooled State.
The Ready State.
Reentrant Instances.
Example: Container-Managed Persistence.
Requirements.
Design.
Implementation.
Example: Bean-Managed Persistence.
Requirements.
Design.
Implementation.
Conclusion.
6 EJB Clients.
An EJB Bean as a Client to Another Bean.
The Home Interface.
The Remote Interface.
The EJB Client Bean.
The Client.
Serializing a Handle.
The Client.
Invoking the Client.
Transactions in Clients.
Authentication in Clients.
Getting Metadata.
A Servlet Client.
HTML to Make a Call to the Servlet.
Setting Up Web