Chapter 7 Developing Applications with PowerJ and EAServer


Building Enterprise JavaBeans 1.1 components

PowerJ 3.6 supports Version 1.1 of the Enterprise JavaBeans specification.

Note   See Sun EJB component specs The EJB 1.1 specification has specified modifications to some EJB class information. For information, see the EJB 1.1 specification from Sun Microsystems and the EJB 1.0 specification http://java.sun.com/products/ejb/docs10.html .

Using Power J, you can automatically deploy EJB 1.1 components to Sybase Enterprise Application Server (Jaguar CTS). But EJB 1.1 components created in PowerJ can also be imported into other application servers by using that application server's importing methodology.

If you are currently using an application server that does not support EJB 1.1 component technology, either upgrade your current application server to a version in which EJB 1.1 is supported or use Sybase Jaguar CTS.

Creating an EJB 1.1 component is done in nearly the same way as described in the PowerJ 3.5 documentation. You use the EJB 1.1 Component wizard to specify the EJB component and the wizard creates an EJB 1.1 target and, optionally, an associated JAR file. The EJB 1.1 target contains the EJB component's implementation class, the Home interface, and the Remote interface.

 


Copyright © 2000 Sybase, Inc. All rights reserved.