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
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: can we use same class for handle and web service?
 
Similar Threads
delegate options
how do i solve this error caused due to problem in spring initiation on tomcat
use of service-ref in ejb-jar.xml file
Ear to Ear communication within the same domain inside the Weblogic server :
Hibernate loads only first element of the collection