From: Charles Reis <creis@ri...> - 2002-11-18 23:37:52
I'm a developer on the DrJava project [http://drjava.sf.net], which
is an IDE developed at Rice University for teaching Java to beginners.
We place a large emphasis on students interacting with their code, and
we currently use DynamicJava [http://koala.ilog.fr/djava] as the
interpreter for our "Interactions Pane".
Every now and then we take a look at migrating to BeanShell, partly
because it's a more actively maintained project than DynamicJava, and
partly because it has some nice features that DynamicJava doesn't
provide (like automatic imports). BeanShell's Strict Java mode is very
attractive for us, because we want students to use real Java when
interacting with their code, rather than a scripting language.
However, one large drawback for us is the lack of interpreted
classes. It is a nice feature to allow students to extend their classes
in the Interactions Pane. More importantly, though, it is critical to
allow them to implement interfaces like ActionListener to experiment
with GUIs, etc. It appears that BeanShell only supports this through
scripted objects, which are not real Java syntax (and which are
correctly not supported in the Strict Java mode).
I noticed that interpreted classes (using real Java syntax) are on
your "Wish List" page, and I was wondering whether there are any plans
to add them to BeanShell in the near future. Since DynamicJava supports
interpreted classes and we don't want to give up this feature, we can't
switch to BeanShell until it supports them. Any thoughts on this?