JavaDeploy
SiteMap
JSP - Servlets
JDBC
EJB Concepts
Entity Beans
EJB Architecture
«Prev
Enterprise JavaBeans
EJB Architecture
EJB Clients Remote Objects
Transport Stubs Skeletons
Client Stub Proxy Pattern
Separating Business Logic
EJB Reusable Components
Object Monitors
Transactional Environment
Transactions Remote Objects
Distributed Objects
Stateful Stateless Beans
EJB Container Services
EJB Session Beans
Deployment Descriptor Jar
Client View Bean
Client Bean Relationship
Home Object Interface
Finding Home Object
Creating EJB Session
Calling EJB Business Methods
EJB Exception Handling
Bean Identity Session Handles
EJB Client Program
EJB Deployment
EJB Clients and remote objects
Clients,
remote objects,
services, and
messages
The client will build a message that contains the request to retrieve the balance by invoking getBalance() and send it out across the network to the remote object.
The network passes the message to the remote object.
The message invokes the getBalance() method of the BankAccount object.
The getBalance() method executes and retrieves the balance.
The balance is returned by the remote object to the client over the network.
The message with the balance is passed across the network
The balance is passed from the network to the client