... h3.Web Services Code Samples |
|
| Web services are web-based services that are accessed by business application programs. The service receives the request for its services and returns a response. The Java programming language provides a number of APIs for writing web
[service|http://www.text-link-builder.com/search-engine-optimization/]
applications. |
* [#Getting Started] |
... * [#Registration and Discovery] * [#Java Web Services Developer Pack] * [#JAX-RPC] * [#Performance]
h5.Getting Started
* [Getting Started Application download|http://java.sun.com/webservices/downloads/webservicestutorial.html] from the [Java Series book The Java Web Services Tutorial|http://java.sun.com/webservices/docs/1.6/tutorial/doc/index.html].
* HelloClient.java is a remote client that contacts a web service and invokes the {{sayHello}} method. HelloIF.java is the service definition interface, and HelloImpl.java is the impl ementation interface for the {{HelloIF}} class. For more information see [The Java Web Services Tutorial: Java API for XML-based RPC|http://java.sun.com/webservices/docs/1.6/tutorial/doc/index.html].
* HelloClient.java makes two remote procedure calls. For more information see [The Java Web Services Tutorial: Java API for XML-based RPC|http://java.sun.com/webservices/docs/1.6/tutorial/doc/index.html].
h5.Java Web Services Developer Pack
* JAX-RPC and JAXM example application. For more information see Java Web Services Developer Pack. Part 2: Calls, Messaging, and the JAX-RPC and JAXM API.
h5JAX-RPC
* Request.java sends a request-response message to a web service. For more information see The Java Web Services Tutorial: Java API for XML Messaging.
* [SunRegImpl.java|http://java.sun.com/developer/technicalArticles/WebServices/getstartjaxrpc/#code2] hows the service implementation class for SunRegPort. For more information see [Getting Started with JAX-RPC|http://java.sun.com/developer/technicalArticles/WebServices/getstartjaxrpc/].
* [SunRegPort.java|http://java.sun.com/developer/technicalArticles/WebServices/getstartjaxrpc/#code1] shows code for the service endpoint interface for SunReg. For more information see [Getting Started with JAX-RPC|http://java.sun.com/developer/technicalArticles/WebServices/getstartjaxrpc/].
h5.Registration and Discovery
* MyUddiPing.java accesses a test version of a UDDI service registry. A Universal Description, Discovery, and Integration (UDDI) service is a business registry and repository from which you can get information about businesses that have registered themselves with the registry. For more information see The Java Web Services Tutorial: Java API for XML Messaging.
|
* [NaicsQuery.java|http://java.sun.com/developer/technicalArticles/WebServices/jaxrws/#code2] hows how to perform queries programmatically. For more information see [Registration and Discovery of Web Services Using JAXR with XML Registries such as UDDI and ebXML|http://java.sun.com/developer/technicalArticles/WebServices/jaxrws/].
|
| * [PublishORG.java|http://java.sun.com/developer/technicalArticles/WebServices/jaxrws/#code1] shows how to create an organization and publish it in the IBM UDDI V2 Business Registry. For more information see [Registration and Discovery of Web Services Using JAXR with XML Registries such as UDDI and ebXML|http://java.sun.com/developer/technicalArticles/WebServices/jaxrws/].
[seo|http://www.text-link-builder.com/search-engine-optimization/] |
h5.Performance |
... * WS Test 1.0 Web Services Processing Performance in Java and .NET code sample. Download this WS Test to compare the performance of common Web Services operations in Java and .NET. Requires Windows Server 2003 and [J2SE 1.4.2|http://java.sun.com/j2se/1.4.2/download.html]. See the [Java Performance page|http://java.sun.com/javase/technologies/performance.jsp] for the accompanying whitepaper. Download
* XML Test 1.0 XML Processing Performance in Java and .NET code sample. Download this XML Test to compare the performance of common XML operations in Java and .NET. Requires Windows Server 2003 and [J2SE 1.4.2|http://java.sun.com/j2se/1.4.2/download.html]. See the [Java Performance page|http://java.sun.com/javase/technologies/performance.jsp] page for the accompanying whitepaper. Download
----
|