Java Web Services - Is Axis Necessary?

user353829 picture user353829 · Oct 1, 2009 · Viewed 9.8k times · Source

Is AXIS or CXF necessary for Java web services? Can it be all done via the JDK (1.6)?

Answer

OscarRyz picture OscarRyz · Oct 1, 2009

Is AXIS or CXF necessary for Java web services?

No. Although Axis2 is the most popular framework to work with Web Services is not the only way to do them.

Can it be all done via the JDK (1.6)?

Yes, but it is way much harder. You will benefit tremendously from using a framework used by others apps and from the bug fixes the development team provide. Doing all by hand is like reinventing the wheel.

If you want to have full control of what's happening underneath, probably you could go with: JAX-WS

or if the application is very simple, directly with socket.

But again, Axis2 is the canonical way to do WS ( but not the only one )