Skip to main content

Eclipse Web Tools Platform 3.2 M6 - New and Noteworthy

Back

Web Services

JAX-RS Facet and Enhancements


    Additional support for JAX-RS (RESTful Web Services) application development:
    • Support for JAX-RS 1.1 and JEE 6
    • Shared Library support
    • Support for adding JAX-RS implementation libraries
    • A new JAX-RS property page

    Added JAX-RS project facet
    The JAX-RS facet has been added to support JAX-RS 1.0 and 1.1, and JEE 6 (including support for Dynamic Web Module v 2.5 and 3.0). Use version 1.1 of the facet for developing JAX-RS 1.1 applications, and version 1.0 for developing JAX-RS 1.0 applications. If using Tomcat, use version 6.0.

    Shared library support added
    Adopters can now take advantage of Shared library support to install JAX-RS libraries when the Shared Library option is selected. When Shared Library option is selected install of the JAX-RS libraries is delegated to the adopter. For details see org.eclipse.jst.ws.jaxrs.core.jaxrsSharedLibrarySupport.

    Adopters can contribute their own libraries
    Adopters can now contribute a JAX-RS Implementation Library Type to the JAX-RS Capabilities page. For details see extension point org.eclipse.jst.common.project.facet.core.libraryProviders and use org.eclipse.jst.ws.jaxrs.core.internal.project.facet.JAXRSSharedLibraryProviderInstallOperationConfig.

    Properties page for JAX-RS-enabled projects
    A new property page is available for projects that have the JAX-RS facet. Changes can be made to the Library configuration (Deploy vs. Shared Library). Changes to the Library Type is now done using the property page instead of the classpath container wizard used in WTP 3.0. Servlet information can also be changed.


Up

WTP Logo Banner

Back to the top