Chapter 7 Enterprise JavaBeans Overview


Jaguar's EJB support

Jaguar can host Enterprise JavaBean (EJB) components developed according to version 1.1 or 1.0 of the Enterprise JavaBeans specification. Jaguar supports session Beans and entity Beans with Bean-managed persistence or container-managed persistence. Jaguar uses CORBA 2.3 as the basis for the EJB component support, allowing interoperability with other client and component models and with CORBA-2.3-compliant ORBs from other vendors.

Running EJB components in Jaguar

Jaguar can host Enterprise JavaBean (EJB) components developed according to either version 1.1 or 1.0 of the Enterprise JavaBeans specification. Jaguar supports session Beans and entity Beans with Bean-managed persistence or container-managed persistence. Jaguar uses CORBA 2.3 as the basis for the EJB component support, allowing interoperability with other client and component models and with ORBs from other vendors that are compliant with CORBA 2.3.

Note   EJB 1.1 components require JDK 1.2 You must run EJB 1.1 component in the JDK 1.2 version of Jaguar server.

You can run Enterprise JavaBeans as Jaguar components using any of these techniques:

Jaguar also supports the Enterprise JavaBean client model. You can generate EJB-style proxies for any IDL interface, and use the proxies to call methods on components that implement that interface.

EJB clients connecting to Jaguar

Jaguar also supports the Enterprise JavaBean client model by generating EJB proxies and providing an EJB-compliant implementation of the JNDI NamingContext class. You can generate EJB-style proxies for any IDL interface (not just those associated with EJB components), and use the proxies to call methods on components that implement that interface. The NamingContext class can also be used in EJB components to instantiate home interfaces for intercomponent calls.

For more information

For information about

See this chapter

Creating, importing, and exporting EJB components.

Chapter 8, "Creating Enterprise JavaBean Components"

Creating EJB clients, generating EJB stubs, instantiating home and remote interface proxies, managing transactions, and serializing and deserializing Bean proxies.

Chapter 8, "Creating Enterprise JavaBean Components"

Configuring container-managed persistence for entity Beans and passivation of stateful session Beans

Chapter 29, "Managing Persistent Component State"

Invoking non-EJB components from EJB clients and invoking EJB components from non-EJB clients.

The information in this chapter applies to both EJB 1.0 and EJB 1.1 components.

Chapter 10, "Jaguar EJB Interoperability"

 


Copyright © 2000 Sybase, Inc. All rights reserved.