Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JWS vs Java-Annotated webservice class

 
Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the answer!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic