File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3697
    
    5

What's Jersey?

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


My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: any changes in Java
 
Similar Threads
is @WebServiceProvider only for JavaSE
Error (compile time) for JAVAX package
Confusion about JAX-RS annotations
Creating CLI for java daemon
How to set proxy related stuff to jersey framework webservice consumer