« A Chance to Learn Oracle Virtual Directory at X-Treme Weekend during Oracle OpenWorld | Main | My Own Thoughts on OOW 2006 »

Cool Web Service Feature in JDeveloper/OC4J 10g

As part of a new whitepaper and demo I'm building for OVD - I needed to
build a sample Web Service. I have built many Web Services before but I
want to say that creating them in JDeveloper was definitely the easiest.



You create your Java class (or you can create them from WSDL) and then
run the wizard. Finally you can deploy to a number of different
application servers, though I am using the included OC4J (aka Oracle Application Server) container.



What I thought was particularly cool and useful:



1 - OC4J allows you to test your Web Services (including SOAP) from a Web Browser without needing to create a proxy client.



2 - You can generate your Web Services with both a SOAP and REST
interface. I really like this and highly recommend that unless you
generate both interfaces, in particular since it will "auto-document"
the REST interface as well as provide a WSDL file for SOAP clients. The
reason why I recommend this is because it maximizes the number of ways
clients can use your service in particular if you want to have an AJAX
based application. REST interfaces are much easier to build with REST
services than SOAP.



I used this article to help get me started.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on September 22, 2006 3:25 PM.

The previous post in this blog was A Chance to Learn Oracle Virtual Directory at X-Treme Weekend during Oracle OpenWorld.

The next post in this blog is My Own Thoughts on OOW 2006.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle