Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

any changes in Java

 
Geetha Ram
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4028
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's Jersey?

Anyway, if it's saying symbol not found it means your missing a jar in your compile class path.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic