Show TOC Start of Content Area

Object documentation Java EE Perspective  Locate the document in its SAP Library structure

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, refer to 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 3.0

       Message Driven Bean 3.0

      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.

Note

You can also create J2EE 1.4 compliant components in the same project types.

More information: Creating J2EE 1.4 Applications in SAP NetWeaver Developer Studio

Integration

·        If you want to add persistent entities to EJB Projects 3.0, you need to switch to the JPA Development Perspective.

·        If you want to debug application components deployed on the AS Java, you need to switch to the Debug perspective.

 

End of Content Area