An EJB project or a Web project exists.
1. In the J2EE Explorer orJ2EE DC Explorer, select the project.
2. From the context menu, choose New → Package.
3. In the Name field, enter the package name (for example, com.sap.examples.calculator).
4. In the Source Folder field, accept the default source folder (<project_name>/source) or select a different existing folder.
5. Choose Finish.
You can now see the package in the J2EE Explorer (for ordinary projects) or J2EE DC Explorer (for DC projects). You can also see it in the Package Explorer view.
To delete a package, select it and choose Delete from the context menu.