Because it is the best to store all auxiliary classes externally, you will need a Java project as a separate source container. This enables a clear separation between EJBs and the required auxiliary classes.
Choose...
1. Choose the menu File → New → Project…to start the New Project Wizard.
2. Select Java (in the left pane), followed by Java Project (in the right pane). Choose Next.
3. In the Project name field, type the name Helperclasses for your new Java project and leave the default settings for Project contents unchanged.
4. Choose Finish.
A dialog box appears asking you whether you want to switch to Java Perspective.
5. Choose Yes.
The wizard generates a new Java project that will serve as a source container for all your auxiliary classes.