This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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?