Don't seem to be able to find src/org/jcp/jsr94/samples/Example.java from the JSR94 package downloaded from http://jcp.org/aboutJava/communityprocess/review/jsr094/.
Is there another place where I can find the JSR94 package that contains the example? Jenngang > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 30, 2003 12:00 PM > To: [EMAIL PROTECTED] > Subject: Re: JESS: Errata for "Jess in Action" > > > > Anyway, on p384 of the JIA book, I was trying the following code: > > > > String implName = "org.jcp.jsr94.ri.RuleServiceProvider"; > > Class.forName(implName); > > RuleServiceProvider serviceProvider = > > RuleServiceProviderManager.getRuleServiceProvider(implName); > > As it says at the end of section 21.3, "Some of what I'll present here > will probably change, but much of the material will still be valid." > Things have indeed changed now that the final version of JSR94 is > about to be released. For the correct equivalent code, see the file > src/org/jcp/jsr94/samples/Example.java in the JSR94 package: > > Class.forName("org.jcp.jsr94.jess.RuleServiceProviderImpl" ); > RuleServiceProvider serviceProvider = > > RuleServiceProviderManager.getRuleServiceProvider("org.jcp.jsr > 94.jess"); > > > > > > > --------------------------------------------------------- > Ernest Friedman-Hill > Science and Engineering PSEs Phone: (925) 294-2154 > Sandia National Labs FAX: (925) 294-2234 > PO Box 969, MS 9012 [EMAIL PROTECTED] > Livermore, CA 94550 http://herzberg.ca.sandia.gov > > -------------------------------------------------------------------- > To unsubscribe, send the words 'unsubscribe jess-users > [EMAIL PROTECTED]' > in the BODY of a message to [EMAIL PROTECTED], NOT to the list > (use your own address!) List problems? Notify > [EMAIL PROTECTED] > -------------------------------------------------------------------- > -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] --------------------------------------------------------------------
