background preloader

Web Services

Facebook Twitter

Developing Web Services with J2EE 1.4. Articles Index Qusay H. Mahmoud February 2004 The Java 2 Platform, Enterprise Edition (J2EE) version 1.4 has evolved to integrate web services. Web services are now one of the many service delivery channels of the J2EE platform; existing J2EE components can be easily exposed as web services. The J2EE 1.4 platform provides comprehensive support for web services through the JAX-RPC 1.1 API, which can be used to develop service endpoints based on SOAP. To develop web services, a developer usually needs extensive knowledge of XML-based standards and protocols (such as WSDL and SOAP), as well as a fair amount of programming experience. This article provides a tutorial and step-by-step instructions on how to develop, deploy, and use web services, using the J2EE 1.4 SDK, with little programming required.

Overview of Web Services Web services are application components that are designed to support interoperable machine-to-machine interaction over a network. J2EE Web Services Working with JAX-RPC. Creating Web Services with Apache Axis. By Dion Almaer 05/22/2002 Web services have been a buzzword for a while. A friend used to say "Web services are like high school sex. Everyone is talking about doing it, but hardly anyone is, and those that are probably aren't doing it well. " These days, though, Web services are moving to college, so to speak, and lots of people are starting to "do it" more often and better than before.

Tools are maturing, and creating and working with Web services isn't all that hard anymore. IBM has given a lot of code to the Apache group, including SOAP4J, their group of SOAP tools. In this article, I will show two parts of this new system: First, I will show the "easy to deploy" feature that lets you drop a source file into the AXIS Web application and have it become a Web service -- just like that! All of the code that is listed (and downloadable) was written for Apache Axis beta1. NOTE: I assume that you have basic knowledge of Web services. Deploying Your Code as a Web Service in One Easy Step. Three Minutes to a Web Service. Leading-Edge JavaThree Minutes to a Web ServiceWrite a Web service in 15 lines of code with JAX-RPC 2.0 Early Accessby Frank SommersMay 23, 2005 Page 1 of 3 >> Summary A key aim of JAX-RPC 2.0 (JSR 224) is to simplify Java Web service development. Currently in early draft review stage in the JCP, an early access JAX-RPC 2.0 reference implementation is available from the Java Web services community site on java.net.

This article provides a brief preview of writing a JAX-RPC 2.0-based Web service with that reference implementation, and highlights how Java annotations simplify Web service development. Annotations are a relatively new Java language feature that debuted in the JDK 1.5 [see Resources]. A key benefit of annotations is that they provide a kind of shorthand when programming. JAX-RPC 2.0 prescribes a set of annotations that, when passed to the JDK's annotation processing utility, apt [see Resources], generate much of a Web service's code automatically. WebServices - Axis. Introduction Welcome to Axis, the third generation of Apache SOAP! What is SOAP? SOAP is an XML-based communication protocol and encoding format for inter-application communication. Originally conceived by Microsoft and Userland software, it has evolved through several generations; the current spec is version, SOAP 1.2, though version 1.1 is more widespread.

The W3C's XML Protocol working group is in charge of the specification. SOAP is widely viewed as the backbone to a new generation of cross-platform cross-language distributed computing applications, termed Web Services. What is Axis? Axis is essentially a SOAP engine -- a framework for constructing SOAP processors such as clients, servers, gateways, etc. But Axis isn't just a SOAP engine -- it also includes: Axis is the third generation of Apache SOAP (which began at IBM as "SOAP4J"). After a little while, it became clear that a ground-up rearchitecture was required.

Speed. We hope you enjoy using Axis. Let us know what you think! <? <? <? <?