blob: 09bdc9e4d089dff2f2a15ad11c727db081554f76 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
<title>NetBeans IDE - Web Service Development</title>
<link rel="stylesheet" href="../../netbeans.css" type="text/css">
<link rel="stylesheet" type="text/css" href="../../features.css">
<meta name="description"
content="NetBeans IDE - Integrated tools for web service developers">
<meta http-equiv="content-language" content="en">
<meta name="author" content="Ruth Kusterer">
</head>
<body>
<h1>Web Service Development</h1>
<p><a href="../../images_www/v7/screenshots/websvc.png"><img
src="../../images_www/v7/screenshots/websvc-cut.png"
alt="Web service development in the NetBeans IDE" width="650"
border="none" height="209"></a><a
href="../../images_www/v6/8/screenshots/web-services.png"><span
class="font-11"><br>
Click image for fullscreen preview</span></a> </p>
<p><strong> The NetBeans IDE assists you with web service
interoperability, security, reliability and transactions. </strong></p>
<table class="features-table">
<tbody>
<tr>
<td>
<h2>Standards-Based Web Services Development</h2>
<p> The NetBeans IDE supports Java EE 6 and Java EE 5, including
the JAX-WS 2.2, JAX-RS 1.1, and JAXB 2.2 web service standards. You can
work with GlassFish Server Open Source Edition, Oracle Weblogic, Apache
Tomcat, JBoss, and many more. The code completion functionality
includes annotations that you can use in your web services. </p>
</td>
<td class="screenshots-col align-center"><img alt="cute little glassfish logo"
src="../../images_www/v5/product-pages/ide-glassfish.png" width="107"
align="center" height="49"></td>
</tr>
<tr>
<td>
<h2>RESTful Web Services&nbsp;<img alt="improved!"
src="../../images_www/v6/features/improved_small.gif"></h2>
<p> The IDE assists you in creating <a
href="http://jersey.dev.java.net/">JSR-311</a>-compliant (JAX-RS 1.1)
RESTful web services from JPA entity classes and patterns, or even
directly from a database. The code generated from JPA entities works on
top of the Spring framework. RESTful web services are available to wrap
entity beans and provide easy CRUD functionality. </p>
<p>For Java EE 6 RESTful web services, the IDE uses JAXB annotations in
the entity classes and EJB session facades for the service classes.
This removes the need for converter classes and generates simpler code.</p>
<p>You can also use facades for Java EE 5 RESTful web services.
The IDE can generate EE 5 RESTful services with JPA Persistence API controller classes
instead of generating converter classes.</p>
<p> The IDE also supports testing and building client
applications that access RESTful web services. Generate code for
invoking web services (both RESTful and SOAP-based), such as JavaScript
client stubs from WADL. You can also generate RESTful Java clients in
Java Web and Java applications for services registered with NetBeans
IDE. NetBeans IDE comes with several widely used services already
registered, such as Flickr and Twitter. <br>
<a class="notes" href="../../kb/docs/websvc/rest.html">Getting
Started with RESTful Web Services</a> </p>
</td>
<td class="screenshots-col">
<p><img src="../../images_www/v7/1/features/ws-restful-ee5-71.png" alt="EE5 RESTful project structure" height="165" width="200" class="b-bottom b-top"></p>
</td>
</tr>
<tr>
<td>
<h2>SOAP-based Web Services</h2>
<p> Use the Web Services wizards and Web Service Visual Designer
to create and develop web services from Java classes or WSDL files. </p>
<p> The IDE provides tools to work with Web Service annotations (<a
href="http://jcp.org/en/jsr/detail?id=181">Web Services Metadata for
Java</a>). Java classes annotated with @javax.jws.WebService annotation
are automatically recognized as web services in a project. The IDE
provides support for the <a href="https://jax-ws.dev.java.net">JAX-WS
2.2</a> runtime in various features, such as the Visual Designer or Web
Service Customization editor. NetBeans IDE 7.2 extends the Visual Designer to
Maven projects.</p>
<p> Convert SOAP based web services to RESTful service resources
by using the action available in the web service node. Use the Web
Service Customization editor to create asynchronous web service
clients. </p>
</td>
<td class="screenshots-col">
<p><img alt="google maps screenshot"
src="../../images_www/v6/features/ws-google-maps_200px.png" class="box"
width="200" height="149"></p>
</td>
</tr>
<tr>
<td>
<h2>Reliable, Secure, Transactional Web Services</h2>
<p> Wsb Service Interoperability Technologies (WSIT) are directly
available from the Web Services Designer. Use the <a
href="http://metro.dev.java.net/">Metro 2.0</a> (JAX-WS 2.2) support
in the <a href="http://glassfish.dev.java.net/">GlassFish Server Open
Source Edition 3.1.2</a> to help you build interoperable, transactional,
reliable, and secure web services. </p>
</td>
<td class="screenshots-col" align="center">
<p><img src="../../images_www/v6/javanet.gif" alt="Java.net logo" width="82" height="45"></p>
</td>
</tr>
<tr>
<td>
<h2>Web APIs</h2>
<p> Use the Services tab to easily create server-side mash-up
applications, and add services from their web service descriptor files
(WSDL or WADL). Drag and drop service operations into a POJO, Servlet,
JSP, JSF, or PHP page, and the IDE will generate the access code. </p>
<p> Use the Web Service Manager to access popular RESTful Web
APIs provided by Google, Facebook, Yahoo, flickr, Amazon, Twitter and
many more. You can also access SOAP-based web services, e.g.
StrikeIron. </p>
<h2>Mobile Web Services</h2>
<p> Write applications that access web services directly from a
JSR-172-enabled phone. Write code that uses the Wireless Connection
Bridge to access web services and other server-side data on any device
from MIDlets via servlets. </p>
<p>&nbsp;</p>
<p><img alt="-" src="../../images_www/v6/arrow-button.gif"
width="15" height="12">&nbsp;<a href="../../kb/trails/web.html">Web
Services Learning Trail</a></p>
</td>
<td class="screenshots-col">
<p><img alt="mobile services diagram"
src="../../images_www/v6/features/ws-diagram.png"
class="box float-right" width="200" height="228"></p>
</td>
</tr>
</tbody>
</table>
</body>
</html>