You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bsf-dev@jakarta.apache.org by "Rony G. Flatscher" <Ro...@wu-wien.ac.at> on 2006/01/26 11:54:41 UTC

A few infos on using BSF as a Java extension ...

Hi there,

in order to make BWS a Java extension it is only necessary to copy it to 
the "java.ext.dirs " directory, usually "...\jre\lib\ext". Once there, 
BWS is available to any Java program in the system.

There are at least two important implications though:

    * BWS itself must only refer to Java classes that are available as
      boot or extension classes themselves. Any other class needs to be
      loaded via reflection and its methods be invoked via reflection as
      well.
    * The next version of BSF (a.k.a. "BSF3", JSR-223 compatible) should
      therefore have a distinct package name, such that both versions
      can co-exist as Java extensions.

Regards,

---rony