This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes JDK and web service, and other tools (questions from dummy) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JDK and web service, and other tools (questions from dummy)" Watch "JDK and web service, and other tools (questions from dummy)" New topic
Author

JDK and web service, and other tools (questions from dummy)

ben oliver
Ranch Hand

Joined: Mar 28, 2006
Posts: 375
What do I need to create and deploy a web service ?


1. DO I need a application server to deploy a web service ?

2. what do I need to create a web service ? Is Axis necessary tool ? Is it true that from JDK 6 already contains web service package so Axis is no longer needed ? Can someone help me clarify ?

3. Is J2ee required to create web service ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
1. DO I need a application server to deploy a web service ?

No. Most WS implementations come in the shape of a web app, so what you need is a servlet container.

2. what do I need to create a web service ? Is Axis necessary tool ? Is it true that from JDK 6 already contains web service package so Axis is no longer needed ?

Axis is just one implementation, so it is not required - any implementation will do. Which implementation you can use depends on the kind of service you want to create. Jersey is a possibility for REST services (which are based on the JAX-RS API), and both Axis and the reference implementation (RI) are good choices for SOAP services that are based on the JAX-WS API.
JDK 6 does come with the JAX-WS RI, but I usually advise against using that - it's generally a couple of versions behind. See Deploy JAXWS (Mustang) WS to Tomcat? on how to get the RI up and running in Tomcat.

3. Is J2ee required to create web service ?

No.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDK and web service, and other tools (questions from dummy)