Arun is a DZone Zone Leader and has posted 65 posts at DZone. You can read more from them at their website. View Full User Profile

Web Services Designer in NetBeans 6

01.30.2008
| 9192 views |
  • submit to reddit

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

References
Published at DZone with permission of its author, Arun Gupta. (source)

Comments

Ash Mughal replied on Thu, 2012/01/26 - 2:13am

NetBeans IDE 6.0 introduced support for developing IDE modules and rich client applications based on the NetBeans platform, a Java Swing GUI builder (formerly known as "Project Matisse"), improved CVS support,Weblogic 9 and JBoss 4 support, and many editor enhancements. NetBeans 6 is available in official repositories of major Linux distributions.

advanced java

Matt Coleman replied on Fri, 2012/11/30 - 2:36am

this video helps me  a lot in being a web service designer. Thanks from buffalo search engine optimization 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.