wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: can we use same class for handle and web service?
 
Similar Threads
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
use of service-ref in ejb-jar.xml file
delegate options
Hibernate loads only first element of the collection