Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: preprocessor idea Date: Tue, 11 Oct 2011 13:14:02 -0700 Organization: A noiseless patient Spider Lines: 12 Message-ID: References: <9fjlcpFdmU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 11 Oct 2011 20:14:05 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="32268"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/x3AVoLDytSqFgNQUL7XHcfpkAnocf1yg=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 In-Reply-To: <9fjlcpFdmU1@mid.individual.net> Cancel-Lock: sha1:BWYiRPYfm6UZMd4XsymDRdvHJY8= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8718 On 10/11/2011 12:57 PM, Robert Klemme wrote: > a JNI method which returns > information which lets you determine in Java which DLL's to load. You > could have a native method which returns a String[] with DLL names etc. +1. I could cite some design patterns or whatnot why this is probably the best approach but "common sense" is I think the most applicable design pattern here. Why go around your elbow to get from your forefinger to your thumb?