This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Packaging an application

 
Garrett Smith
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on, and am almost finished with, a component for login/logout/register. It uses JavaMail with MessageFormat, MySQL, and Jakarta Commons. I still don't know how to package it.
I want to jar this component so that it can be plopped right into any webapp.
The properties files and other resource files are to be defined by the implementor (not in the jar).
Tomcat reads resources like properties from WEB-INF/classes.

How will read resources that are outside the jar file? Do I need to make a manifest file?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic