aspose 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 Java 8 in Action this week in the Java 8 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: 550
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
 
Don't get me started about those stupid light bulbs.
 
subject: can we use same class for handle and web service?
 
Similar Threads
use of service-ref in ejb-jar.xml file
delegate options
Hibernate loads only first element of the collection
Ear to Ear communication within the same domain inside the Weblogic server :
how do i solve this error caused due to problem in spring initiation on tomcat