I will have to develop a standalone web service server with Java 5. I realised standalone jax-ws cannot be developed with java 5 and so able to figure out that a standalone Rest Services can be developed.
I will appreciate, if any body could give me a link to a good tutorial or else exaplin how do i develop a standalone web service ?
If it its not possible through REST then are there any other approaches that lets me develop standalone web service in java 5 ? Please, advice.
All you need for a REST style web service is a HTTP server because REST just uses the HTTP methods.
Now, since Java 5 reached End of Life Status back in 2009 you may not find any REST toolkits that will work. Don't worry, RESTful concepts are simple and can be implemented in standard Java once you find a servlet container that will run under Java5.
Personally, I would seriously consider upgrading to Java 6.
Joined: Aug 22, 2010
Thank you very much for your reply Bill.
However, I was been informed to use Axis 2 and deploy in its standalone server.
If you have any idea, can you please suggest like is it possible for any web service client to consume to web service server developed with Axis 2 ?
I am new to web services. So sorry if its basic.
Author and all-around good cowpoke
Joined: Mar 22, 2000
AXIS 2 is primarily a SOAP web service toolkit. The last time I looked, implementing a RESTful service with AXIS 2 was a real kludge.
Due to the standardization of SOAP, and the simple & well known architecture of REST, a web service client should not care what toolkit the server is built with or the language the server is written in, thats the whole idea.
Your big decision will be between SOAP and REST - a really big difference in architecture and attitude. So - you now need to work out the requirements of your proposed service - exactly what is it supposed to do?