How can I call Beanshell methods from Java?

Sid Kar <[email protected]> Wed, 15 Apr 2009 09:23:59 -0400
Newsgroups gmane.comp.java.beanshell.user
Message-ID <[email protected]>
How can I call a method scripted in Beanshell script (externally saved file
loaded in Java using Interpreter)?

I wish to define a PDF file structure (using iText) in a beanshell script,
in different methods, such as PDF Title, Table Header, Table Rows, Trailer
and so on, and then call them as needed from my Java bean. This will
basically allow me to define my PDF file structure externally in the
beanshell script, but will allow me to plugin the data from my Java bean
(more secure).

Thank you
Sid
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com