Skip to main content

Eclipse Web Tools Platform 3.0 M6
New and Noteworthy

Back

Java EE Tools

EAR 5.0 Bundled Libraries Support

    In accordance with the Java EE 5 specification, a couple of enhancements are introduced in the EAR 5.0 Java EE Module Dependencies property page:
    • new column with check-boxes appears in the modules table, allowing the user to choose if a certain bundled library should be packed in the EAR's library directory;
    • new Change Library Directory button appears on the same page to allow the user to change easily the location of the library directory.


    J2EE Module Dependencies


    Appropriate message dialogs pop up in the Java EE Module Dependencies property page to warn and allow the user to automatically resolve conflicts between EAR packing and MANIFEST.MF class path dependencies.

    Dependencies Conflict

Java EE Deployment Descriptor Nodes

    Deployment Descriptor nodes for Java EE 5 projects are introduced. This nodes are shown in the project explorer and apply for:
    • EJB 3.0 project
    • Web 2.5 project
    • EAR 5.0 project


    Java EE Deployment Descriptor Nodes


    According to the Java EE specification artifacts can be described both in the deployment descriptor and with the use of java annotations in the source code. Current implementation will show you a merged view between the artifacts described with java annotations and those described in the deployment descriptor.
    The result of the following annotated bean:

    Annotated bean code

    will be:

    EJB 3.0 Deployment Descriptor Node

    Merging artifacts is also done for Web 2.5 projects. The result from merging the following Servlet class:

    Servlet with java annotations

    will result in the following deployment descriptor node:

    Web 3.0 Deployment Descriptor Node


Back to the top