I have been trying to write a web service (JAX-WS) and I have gone through a number of tutorials ranging from 2006 to 2013 ones. Most of them are with respect to some IDE. Those which talk about manual creation/deployment of web service are with ant scripts. Till here everything is fine.
The moment I check the ant scripts, the confusion starts. some old tutorials use APT task to compile the SEI and then wsgen is used to generate the artifacts. the newer ones use only wsgen (although APT is defined as taskdef in ant scripts). Also , as I have been reading about the JAVA 7 documentation, it says you dont need to use wsgen as javac itself does all compilations and the artifacts req. for WS is generated at runtime dynamically.
I tried to use javac command on SEI and deployed it on tomcat but it didnt work.
Can anyone please clarify as in what commands I need to use in JAVA SE 7 edition to deploy a web service.
Also, I want to know what does each command generate and when to use which commands.
According to my knowledge wsimport is not needed for development and deployment , but only need to build the WS-client. Is this correct? If not please provide me pointers to clear my understanding.
Thanks in Advance
Also if I am repeat my self then sorry as I am new to StackOverflow and not very familiar with this. :)