aspose file tools*
The moose likes Web Services and the fly likes Project Jersey Jax-RS - Multiple classes with same path 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 "Project Jersey Jax-RS - Multiple classes with same path" Watch "Project Jersey Jax-RS - Multiple classes with same path" New topic
Author

Project Jersey Jax-RS - Multiple classes with same path

Rahul Juneja
Ranch Hand

Joined: Aug 03, 2002
Posts: 425
Hi Folks,

I just started looking at JAX-RS and was using Jersey Implementation.
What i have is two simple classes having the same @Path annotation, and the deployment goes smoothly.

My first question should the deployment not check for the multiple classes having same path, Also if it does not as is the case when i deploy this on tomcat 6.X, what will be called when i do a get from the client or type the address in browser.

Any pointers or links are appreciated.

Thanks,
Rahul


Rahul Juneja
ThoughtClicks - http://techlabs.thoughtclicks.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Project Jersey Jax-RS - Multiple classes with same path
 
Similar Threads
Jersey to annotate EJB methods
Jersey REST -(Un)Marshaller
REST WebServices
get parameter in Servlet in different way
Who's using Jersey for JAX-RS (JSR-311)?