• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [NOOB-QUESTION] where should a jar file ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: [NOOB-QUESTION] where should a jar file ?
      • From: Art Isbell <email@hidden>
References: 
 >[NOOB-QUESTION] where should a jar file ? (From: Philippe Lafoucrière <email@hidden>)
 >Re: [NOOB-QUESTION] where should a jar file ? (From: Paul Lynch <email@hidden>)
 >Re: [NOOB-QUESTION] where should a jar file ? (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: webobject framework
  • Next by Date: Re: [NOOB-QUESTION] where should a jar file ?
  • Previous by thread: Re: [NOOB-QUESTION] where should a jar file ?
  • Next by thread: Re: [NOOB-QUESTION] where should a jar file ?
  • Index(es):
    • Date
    • Thread