Over a million developers have joined DZone.

Web Services Designer in NetBeans 6

DZone's Guide to

Web Services Designer in NetBeans 6

· Java Zone
Free Resource

The single app analytics solutions to take your web and mobile apps to the next level.  Try today!  Brought to you in partnership with CA Technologies

If you think creating and deploying Web services in Java is hard, think again! NetBeans 6 has changed the landscape by adding a visual Web service designer and allows web services to be deployed directly to a variety of containers. Let's understand how.

First, a couple of introductions...

  • Metro - A Web services stack that serves all your needs for simple Hello World Web service to Secure, Reliable, Transactional and .NET 3.0 interoperable web service. NetBeans IDE provides complete tooling support for Metro and the runtime is bundled in in GlassFish. Metro runtime can be installed on other containers as well.
  • GlassFish - An open source Java EE 5 compatible Application server with several enterprise features such as clustering, high-availability, highly performant and unified administration. Metro runtime is bundled with GlassFish.

NetBeans IDE allows you to create Web services using a visual designer and specify the quality of service attributes on each Web service. These attributes define whether a Web service endpoint needs to be reliable, secure (algorithms, key sizes, key store/trust store locations etc) and similar capabilities. Once the attributes are configured, the Web service can be deployed on GlassFish and the Metro runtime generates the appropriate WSDL with correct set of policy assertions. This Web service endpoint can be tested using the Test Web Service context-sensitive menu or by generating a Web Service Reference. The reference can be easily drag-and-dropped in a JSP or Servlet to invoke the endpoint.

Follow screencast #ws7 that guides you through the process of creating a Web service, making it secure and reliable and deploying on GlassFish:

Screencast #WS7

CA App Experience Analytics, a whole new level of visibility. Learn more. Brought to you in partnership with CA Technologies.


Published at DZone with permission of Arun Gupta, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}