Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Murach's Java Servlets and JSP this week in the Servlets 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: 374
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: 41035
    
  43
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
 
Don't get me started about those stupid light bulbs.
 
subject: JDK and web service, and other tools (questions from dummy)
 
Similar Threads
For Web Service, if I have WAS and RAD, do I still need Axis ?
Web service client problem
Unable to Deploy a web service on WAS 5.0
Using Glassfish instead of Axis2 in Eclipse
Deployable AXIS war