EJB Porting Considerations
Consider the following when porting Enterprise JavaBeans to WebLogic Server 7.0.
WebLogic Server Version 7.0 supports the Enterprise JavaBeans 1.1 and 2.0
specifications.
The XML parser is stricter with XML deployment descriptors in WebLogic 7.0
than it was in WebLogic 5.1. Some errors allowed in earlier versions are no
longer permitted. This is described in
Java
EJB 1.1 beans are deployable in WebLogic Server 7.0. However, if you are
developing new beans, it is recommended that you use EJB 2.0. EJB 1.1 beans
can be converted to 2.0 using the DDConverter utility. For more information, see
the
JavaBeans.
You can upgrade EJB 1.0 deployment descriptors to EJB 2.0 using the
DDConverter utility, but first those descriptors must be upgraded to 1.1.
WebLogic Server 5.1 deployment descriptors can be upgraded to 7.0 to take
advantage of new features in WebLogic Server 7.0. Details on the DDConverter
utility are provided in the
Programming WebLogic Enterprise JavaBeans.
The finder expressions feature of EJB 1.1 is no longer supported. This is the
only non-supported feature of EJB 1.1.
Deploying beans is described in the
Container
If
automatically when the bean is deployed. You do not need to compile beans with
ejbc
See details in
Programming WebLogic Enterprise JavaBeans.
An EJB deployment includes a standard deployment descriptor in the
ejb-jar.xml
(document type definition) or the EJB 2.0 DTD.
An EJB deployment needs the
Server-specific deployment descriptor that includes configuration information
Porting and Converting Enterprise JavaBeans Applications
Beans.
DDConverter documentation
section of Programming WebLogic Enterprise JavaBeans.
has not been run on an EJB, WebLogic Server 7.0 will run
ejbc
before deploying. If you wish to run
Packaging EJBs for the WebLogic Server Container
file. The
Introducing WebLogic Server Enterprise
in Programming WebLogic Enterprise
WebLogic Server EJB Utilities
Packaging EJBs for the WebLogic Server
ejbc
must conform to either the EJB 1.1 DTD
ejb-jar.xml
weblogic-ejb-jar.xml
BEA WebLogic Server 7.0 Upgrade Guide
section of
ejbc
during startup, you may do so.
in
file, a WebLogic
2-17
Need help?
Do you have a question about the WebLogic Server 7 and is the answer not in the manual?