"MyEclipse Latest version download"
First, create an EJB project
1. Select File>new Project, select EJB Project, and then click Next.
2. Enter FIRSTEJB in the Project Name field.
3. Select the EE 1.3 option for the specification level, select MyEclipse Generic runtime for EE 1.3 from the drop-down list in the target runtime, and click Next.
to create a new EJB project
Project name – must be a valid Eclipse Java project name.
Location – Uncheck the box to specify a place for the custom file system for the new project and its resources.
Directory – The project's default file system location is located under the MyEclipse Startup Workspace folder, and you can select a different file location outside the workspace folder.
Note: You cannot select an alternate folder in the workspace folder because Eclipse does not allow this.
The source folder –java will contain the Java package, the *.java file, and the properties file. The contents of this folder are added to the project's Java build path.
Note: If you specify a non-default value, you need to update the Xdoclet default settings in this document accordingly.
JEE Specification level – Specify the JEE specification compliance levels. Ensure that the appropriate specification level is selected for the JEE functionality required by your application, and that your target deployment Application Server supports this specification level.
4. Click the default source folder, and then click Edit. Change the folder name to SRC, and then click OK.
Rename source folder
5. Click Next and uncheck the Generate Scaffolding code check box.
Disabling Scaffolding generation
6. Click Finish. The remaining wizard pages are imported from the MyEclipse EJB project template, which is defined in the MyEclipse JEE project parameter.
Depicts the new EJB project structure. The newly created EJB project contains a default Ejb-jar.xml file, but during this process, no EJB exists, and the Ejb-jar.xml file appears with an error token. The required EJB definitions are then created using Xdoclet technology.
EJB Project Structure
For more information, please visit MyEclipse Chinese network >>
Developing Java EE applications using myeclipse: Creating EJB 2 Session Bean Project with Xdoclet (i)