wood burning stoves 2.0*
The moose likes Web Services and the fly likes JWS vs Java-Annotated webservice class 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 "JWS vs Java-Annotated webservice class" Watch "JWS vs Java-Annotated webservice class" New topic
Author

JWS vs Java-Annotated webservice class

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
All these time I've been reading and playing with Java-annotated webservice class. But recently, I've seen something with an extension of .JWS. What's the difference?

I'm having the idea that those with the .jws extension can be changed in production? Is this available/can be done to all servlet containers? Thanks!


SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41034
    
  43
JWS used to be a simple deployment mechanism for POJOs that was supported by Axis 1.x. (I can't find a mention of it in the Axis 2.x docs, so I'm assuming that it has been dropped. Axis 2 has a better mechanism for deploying POJOs, though.)

Essentially it enabled you to drop a Java source file (with a .jws extension) into the Axis web app directory, and its public methods would be treated as web services. Some more information -and a mention of the significant drawbacks of this method (no WSDL, no handlers, no WS-Security, ...)- can be found here.


Ping & DNS - my free Android networking tools app
Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
Thanks for the answer!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JWS vs Java-Annotated webservice class
 
Similar Threads
Which way to create a web service?
Difference between @WebService and @WebServiceProvider
tomcat/axis not compiling jws
Difference between @WebService and @WebServiceProvider annotation?
Compiler Error: cannot find symbol