I've managed to get the wohole story go in Jboss 4.2.3 and Jboss 4.0.5.
Cayenne seems to work fine.
In your case, Cayenne was runnng from web-tier or was in ejub tier ?
Marco
Michael Gentry ha scritto:
I've ran Cayenne (along with Tapestry 5) in JBoss (4.2.3) successfully
before. I don't know about your MDB scenario, but Cayenne certainly
can work in JBoss.
mrg
On Thu, Apr 22, 2010 at 6:42 AM, Marco Gattei <[email protected]> wrote:
Hi everyone.
I've written a java standalone program which uses Cayenne to connect to a
DB and perform
some operations: reading from table, calculating , inserting result into
another table.
Now need arise to start this program not from cli, but from remote.
I was thing about packing the app inside a ejb module and writing a simple
MDB.
As soon the mdb receives the command START , it executes the program which
uses Cayenne to do the job.
I was wondering if Cayenne could have som problem running inside JBoss,
which would be the
selected EJB container.
Has anyboby tried something similar ?
Thank in advance
Marco