File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes can we use same class for handle and web service? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "can we use same class for handle and web service?" Watch "can we use same class for handle and web service?" New topic
Author

can we use same class for handle and web service?

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
Hi
Thank you for reading my post.
can we use same class to be handler and web service ?
i mean in jax-ws.

thanks
Reza Ravasizadeh
Ranch Hand

Joined: Jun 08, 2004
Posts: 177
I think (not sure) in Java 5 you can
You can make annotation for a class to make it web service and you can run main and test it(Just create test class and see what happen)


Reza
 
wood burning stoves
 
subject: can we use same class for handle and web service?