Developing EJB 2.x enterprise beans
You can develop EJB 2.x enterprise beans for WebSphere® Application Server in this task.
About this task
WebSphere Application Server supports the Java EE 7 specifications, which includes Enterprise JavaBeans (EJB) 3.2. The EJB 3.2 specification requires backward compatibility support for the EJB 2.x API group, except for some optional features which includes support of entity beans. WebSphere Application Server continues to support the EJB 2.X APIs, including the optional features, and remains compliant with the Java EE 7 specifications. Use the steps in this task to develop EJB 2.X enterprise beans.
- EJB 2.0 module considerations
When you are using Enterprise JavaBeans (EJB) 2.0 modules, keep in mind the following considerations.
- Create stubs command
For Enterprise JavaBeans 1.X or 2.X modules that are in a Java™ EE 7 application, the createEJBStubs command must be used to create stub classes for remote interfaces of Enterprise JavaBeans (EJB) beans packaged in Java archive (JAR) or Enterprise archive (EAR) files. It also provides an option to create a single stub class from an interface class located in a directory or a JAR file. Several command options are provided to package the generated stub classes in different ways. See the Syntax and Examples sections for more details.