Archive of UserLand's first discussion group, started October 5, 1998.

Re: Bean Scripting Framework

Author:Josh Lucas
Posted:6/23/1999; 1:00:20 PM
Topic:Bean Scripting Framework
Msg #:7734 (In response to 7729)
Prev/Next:7733 / 7735

There are interfaces to do both.

From the BSF User's Guide..

What does it mean to be able to call into a scripting language from Java? You can:
call a method(procedure) and get the return value, and
evaluate some piece of script (say an expression or some declarations) and get its return value.

What can you do from a scripting language? You can:
look up a pre-registered bean
register a newly created bean so that the Java side can get to it
do all bean operations( creation, modification, call methods)
bind events to scripts in the scripting language.

It seems that this could be quite powerful.

josh










This page was archived on 6/13/2001; 4:51:01 PM.

© Copyright 1998-2001 UserLand Software, Inc.