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

jar vs class in applications  RSS feed

 
Rafa Moreno
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm doing an application, presentation with Jsp's and logic with java classes into a jar, accesed like beans.
What's better: use the classes into a jar or use they standalone ?
The question is because the application is not more developed by me alone, and is a little bit dificult to share the updates.
Thak you in advace
 
Greg Charles
Sheriff
Posts: 3014
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're working with JSPs, then you're working with Web Apps. Typically, the classes you develop are put into the classes subdirectory of WEB-INF. Then the whole thing can be put into a war file, which is really just a jar with a different extension. You could also put them into a separate jar, and put the jar into WEB-INF/lib. That's usually reserved for classes that don't change much, especially third-party libaries.
 
Rafa Moreno
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!