This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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 REST -(Un)Marshaller
Who's using Jersey for JAX-RS (JSR-311)?
REST WebServices
Jersey to annotate EJB methods
get parameter in Servlet in different way