Re: [NOOB-QUESTION] where should a jar file ?
Re: [NOOB-QUESTION] where should a jar file ?
- Subject: Re: [NOOB-QUESTION] where should a jar file ?
- From: Philippe Lafoucrière <email@hidden>
- Date: Sat, 29 Apr 2006 19:53:15 +0200
On 27 avr. 06, at 18:55, Chuck Hill wrote:
On Apr 27, 2006, at 6:28 AM, Paul Lynch wrote:
/Library/Java/Extensions is usually a good spot for random
individual jars
Allow me to vehemently disagree with that statement. /Library/Java/
Extensions is usually a terrible spot for random individual jars.
This is for extensions to the core Java API, things like JDBC
drivers and javax. classes. Putting random jars in here opens you
to problem with class loader security issues. Bill Bumgarner's
always entertains comments on this: http://bbum.pycs.net/
2002/03/06.html
Better places are:
1. /Library/WebObjects/Extensions
2. A framework
3. AppName.woa/Contents/Extensions
Jars in (2) and (3) are picked up automatically by the WO bootstrap
class.
Chuck,
I totally agree with you on this point. that's why we have a WEB-INF/
lib folder for java webapps.
It sounds that putting an "Extensions" folder at projet root (and add
it to all targets) solves the problem.
thank you
Philippe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden