Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Web Services Designer in NetBeans 6

DZone's Guide to

Web Services Designer in NetBeans 6

· Java Zone
Free Resource

Build vs Buy a Data Quality Solution: Which is Best for You? Gain insights on a hybrid approach. Download white paper now!

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

Build vs Buy a Data Quality Solution: Which is Best for You? Maintaining high quality data is essential for operational efficiency, meaningful analytics and good long-term customer relationships. But, when dealing with multiple sources of data, data quality becomes complex, so you need to know when you should build a custom data quality tools effort over canned solutions. Download our whitepaper for more insights into a hybrid approach.

Topics:

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

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}