• Post Reply Bookmark Topic Watch Topic
  • New Topic

rest web service: Jersey .jar in web-inf/lib

 
G Peruana
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to know, if it is possible to avoid including all the jersey .jar in the rest service web-inf/lib project without using maven.

Is it possible to locate them somewhere else (maybe in the tomcat server) so that not to have to include them in every rest project?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While it is technically possible to make them part of Tomcat, in my experience (and that of others, from what I read) it is causing more problems than it is worth. But disk space and memory are so cheap and plentiful theses days that I wonder: is this an actual problem that you're trying to solve by doing this, or an imagined/potential one?
 
G Peruana
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thought it would be more appropriate not to have to include so many jars in every Rest project. If it is not the case I am happy with including them.
Thanks a lot for the answer!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!