B
Bogus Exception
I'm curious as to which approaches exist for defining and running Java
code at run time in EJB3. For example, programmatically defining an
entity, or other, bean.
My program wants to take code written by a user and incorporate it
into the running system. For speed (and other?) considerations,
BeanShell appears to be an unwise choice, right? This leaves me with
crafting a complete Java class in a string, then compiling and copying
to ./deploy, right?
If BeanShell is parsed (like any other interpreted language) each and
every time it is run, then it may well be a lot slower than writing
source, compiling it, and running in the container, right?
TIA for any experiences and/or insights!
code at run time in EJB3. For example, programmatically defining an
entity, or other, bean.
My program wants to take code written by a user and incorporate it
into the running system. For speed (and other?) considerations,
BeanShell appears to be an unwise choice, right? This leaves me with
crafting a complete Java class in a string, then compiling and copying
to ./deploy, right?
If BeanShell is parsed (like any other interpreted language) each and
every time it is run, then it may well be a lot slower than writing
source, compiling it, and running in the container, right?
TIA for any experiences and/or insights!