Part of development includes setting up the environment, as well as packaging and deploying your applications.
Directory Structure Recommendations for EJB Development
Create the Deployment Descriptor
Archive the EJB Application
Prepare the EJB Application for Assembly
Deploy the Enterprise Application to OC4J
Sharing Classes
Configuring Environment References