Quantcast
Channel: JavaPins - Stories tagged with tomcat-7
Viewing all articles
Browse latest Browse all 2

Java Web Service Annotations in Tomcat - By Programmer For Programmer

$
0
0
So recently I had to build a web service, and had a really hard time finding documentation or instructions on how to make web services work in Tomcat using the web service annotations from JSR 181 (@WebService, @WebMethod, @WebParam, etc). So I created this post as a way to help someone else in the same situation. I’m sure there are many ways to do this, but this is one way. My goal was to create java files annotated with web service annotations and deploy the application to Tomcat, and just have everything magically work. I didn’t want to use the wsgen tool. I wanted it to work like it does in JBoss, Weblogic, and Glassfish, where you just deploy the application and the web service endpoints are created automatically.
Pin it

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images