Creating Java EE projects using wizards
You can use wizards to create Java™ EE projects in your workspace.
If you do not see the Java EE icon, , in the top right tab of the workspace, you need to switch to the Java EE perspective.
To create Java EE projects using wizards:
- To use the Java EE wizard from the menu bar, select
File | New | Java EE.
- Select the type of enterprise application you want to create:
- Enterprise Application Project
- Dynamic Web Project
- EJB Project
- Connector Project
- Application Client Project
- Utility Project
- Click Next.
- In the
Project Name field, type a name for your project.
- In the
Target runtime field, select your target runtime, or click
New to create a new runtime.
- In the
<module-type> Module version field, you can accept the default value or change the module version number. This field controls the primary facet version for your project. The available versions are filtered based on the target runtime that you selected in the
Target runtime field. For example, if the target runtime is WebSphere® Application Server v6.1, then the Dynamic Web project versions available are versions 2.2, 2.3, and 2.4. If the target runtime is WAS version 7.0, then the Dynamic Web project versions available are versions 2.2, 2.3, 2.4, and 2.5. Changing the module version here is similar to clicking
Modify... beside the
Configuration field.
- In the
Configuration field, you may accept the default configuration, select a pre-defined project configuration from the
Configurations drop-down list, or click
Modify... to change the facets for your project.
If you modify the configuration, you can save this new configuration and reuse it in future projects. For instance, you might create different configurations depending on the module versions you are using: Web2.4Configuration or EJB3.0Configuration.
- Select one or more project facets from the
Project Facets list.
- To specify server runtime environments, click
Show Runtimes and select one or more runtimes.
- After making your selections, you can save your custom configuration by clicking
Save.
- Optional:
Select
Add project to an EAR module in the
EAR Membership field to add the new module to an enterprise module (EAR) project. Type a new project name or select an existing enterprise module project from the drop-down list in the
EAR Project Name combination box. Or, click
New to launch the New EAR module Project wizard.
- Click Next to continue defining your enterprise project, or click Finish.
Related concepts
Developing Java EE Applications
Creating and configuring Java EE modules using annotations
Securing enterprise applications