Java EE Perspective
Definition
The Java EE perspective provides tools for creating Java EE applications. The development process involves modular development of application components: enterprise beans, servlets, JavaServer Pages (JSP), persistent entities, connector components, and so on.
Use
You use the Java EE perspective to:
-
Create enterprise beans
-
Create Web components (servlets, JSP files, HTML files, filters, listeners, and so on)
-
Create JCA resource adapter components
-
Create application clients
-
Create Java EE libraries
-
Build the Java EE applications and deploy them on the AS Java
For more information about the possible Java EE development tasks in the Developer Studio, see Tasks .
Structure
Like all perspectives in the Developer Studio, the Java EE perspective consists of a number of views. The most important views available in the Java EE perspective are:
-
Project Explorer
Displays all Java EE projects with their components.
-
Servers
Allows you to perform basic management operations over the AS Java, and to deploy applications there.
-
Outline
Shows the structure of the selected component, and allows you to perform basic operations there.
Java EE Projects
The Java EE project types help you modularize the development process according to the different components of Java EE applications. You create each component type in a different project type. For example, you create enterprise beans in EJB projects, servlets and JSP files in Dynamic Web projects, and so on.
-
JPA project
Allows you to develop in the Java persistence tier.
-
EJB project
Used for creating enterprise beans. The basic components that are to be contained in such projects are:
-
EJB session bean
-
Message-driven bean
-
-
Dynamic Web project
Used for creating Web application components. The basic components contained in such projects are:
-
Servlets
-
Listeners
-
Filters
-
-
Enterprise Application project
Assembles the components to be wrapped in the enterprise application archive.
-
Connector project
Wraps a resource adapter (connector) component.
-
Application Client project
Wraps an application client.
Integration
-
If you want to add persistent entities to JPA (or other) projects, you can switch to the JPA perspective.
For more information, see JPA Perspective .
-
If you want to debug application components deployed on the AS Java, you can switch to the Debug perspective.