binary results from beanshell?

Paul Landes <[email protected]>
Newsgroups gmane.emacs.jdee.devel
Message-ID <[email protected]>
Carlos Konstanski writes:
 > I am giving serious thought to writing a java database layer for use
 > in Common Lisp applications, since there is no really good DBI written
 > in Common Lisp (one that supports callable statements would be a
 > start).  The one program I know of that features lisp interaction with
 > java is JDEE.  I am beginning to look at the JDEE source code to see
 > how it all works.

I think this is a good idea and a lot of people could
benefit--including JDEE folks.

I'm working out a plugable architecture for subordinate process
command-event-loop Java programs like beanshell, jython etc.  There's
a common lisp implementation I've thought might work as a better
supported replacement for the dying (dead, really) beanshell project.

That implementation is:

  http://common-lisp.net/project/armedbear/

 > I have 2 questions that will influence how I look at the JDEE source:
 > 
 > - Can lisp retrieve binary results from a java call in the JDEE
 >    implementation?

Not really, at least in the current form of the way beanshell is used.
There are often issues with quoting and no real way to read data back
and forth in this way.  The data mechanism on a return request from
beanshell to Emacs is emacs lisp or the raw results returned and used,
usually to print on the screen.

 > - Is the beansheel stateful?  If I fire up a pool of connections, will
 >    they persist?

Yes, if you bind it to the global namespace or "child" of the global
namespace.

-- 
Paul Landes
[email protected]

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.