This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes any changes in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "any changes in Java" Watch "any changes in Java" New topic
Author

any changes in Java

Geetha Ram
Greenhorn

Joined: Mar 20, 2008
Posts: 6
HI,

I am bit new to Java.

I am doing restful web services using Jersey.
when i am trying out an downloaded example it gave errors for importing the following packages:

import javax.ws.rs.UriTemplate;
import javax.ws.rs.UriParam:

It says symbol could not be found;

In the Examples that are provided by Jersey.
They are using the followin packages everywhere and never used the above mentioned packages.

javax.ws.rs.Path;
javax.ws.rs.PathParam;

But I am seeing many examples other than those present in Jersey using UriTemplate and UriParam.

Am I missing something..or is Path equivalent to UriTemplate and PathParam equivalent to UriParam.

any insight would be great

Thanks,
Geetha
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3740
    
  10

What's Jersey?

Anyway, if it's saying symbol not found it means your missing a jar in your compile class path.


[OCA 8 Book] [Blog]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: any changes in Java
 
jQuery in Action, 3rd edition