This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jar vs class in applications

 
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: 3010
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
 
Well behaved women rarely make history - Eleanor Roosevelt. tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!