Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can i use resources without groupping them into application  RSS feed

 
Daniel Gurianov
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All.

In most of the exaples of ther REST usage, i saw approach where there is a class tagged as @ApplicationPath that gets all resources tagged with @Path together into HashSet and return this hash set.
I also saw other examples where resources tagged with @Path were used without Application , but i was not able to reproduce those. I always stuck with resource is not available error.

What is a proper way to access resources tagged wtih @Path without Application resource ?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!