Miles to go …

January 3, 2008

TOTD #21: Metro 1.1 with GlassFish v2 UR1 and NetBeans 6

Filed under: webservices — arungupta @ 12:02 am

Metro 1.1 was released last month. This blog describes how to install Metro 1.1 on GlassFish v2 UR1 (which comes with Metro 1.0.1 baked in) and use it with NetBeans IDE.

  1. Download & Install Metro 1.1.
  2. Download, Install & Configure GlassFish (detailed instructions)
    1. Download GlassFish v2 UR1.
    2. Install GlassFish by giving the command:

      ant -f setup.xml

    3. Set AS_HOME to the location of GlassFish v2 UR1 directory and install Metro 1.1 by giving the following command in Metro 1.1 directory:

      ant -f wsit-on-glassfish.xml install

      This will install the latest Metro 1.1 binaries in the GlassFish Application Server instance.

    4. Configure GlassFish in NetBeans 6 by going to the "Services" tab and right-clicking on "Servers" node and selecting "Add Server...".
  3. Create a simple Metro Web service by following this tutorial. Create a Secure and Reliable Web service following screencast #ws7. The complete tutorial to add WS-* capabilities to your endpoint is available here.

These instructions can also be used to override Metro 1.0 that is baked in GlassFish v2 Final build.

Please leave suggestions on other TOTD that you’d like to see. A complete archive is available here.

Technorati: totd webservices metro glassfish netbeans

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • email
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot
Related posts:
  1. Screencast #WS7: Secure and Reliable Web service using Metro/GlassFish and NetBeans IDE 6
  2. TOTD #16: Optimizing Metro Stubs by locally packaging the WSDL
  3. GlassFish, Metro and NetBeans @ Delhi University
  4. TOTD #23: JavaFX Client invoking a Metro endpoint
  5. TOTD #98: Create a Metro JAX-WS Web service using GlassFish Tools Bundle for Eclipse

1 Comment »

  1. [Trackback] Java SE 6 Update 4 is now released. Download it here. If you are a Metro user (either JAX-WS or WSIT) then this is a milestone release for you because it includes JAX-WS 2.1 API in the rt.jar. This means…

    Comment by Arun Gupta's Blog — January 11, 2008 @ 5:57 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.
Powered by WordPress