> 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.jsr94.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]
--------------------------------------------------------------------

Reply via email to