first verify the bug
also exists with the original version shipped by OpenEJB before filing anything.
-David
Date: Tue, 7 Jun 2011 19:15:05 -0700
From: ml-node+3581464-1241930645-42...@n4.nabble.com
To: stargate7thsym...@live.co.uk
Subject: Re: OPEN EJB most recent version and POJO's
On Jun 6, 2011, at 4:15 PM, Zachary1234 wrote:
However, if I wish to access the pojo outside of openEJB,
or even on another network pc, the way to go is JNDI.
Is there an easy way to bind a class or interface pojo
to JNDI? Will just @JNDI (with an optional name)
at the top do the trick?
Not quite, I'm simply looking for an example for how to
declare
-A Pojo which I can have instantiated within openEJB
by the context.lookup call either
-from within another static class/object within the same openEJB instance
-on the same PC in a seperate JVM.
-Or on a seperate PC in a seperate
As of EJB 3.0 everything is based on POJOs exactly as you describe. POJOs with
Remote and local access is supported through JNDI lookup. Different lifecycles
are available. And all of it is standard and handled by the container exactly
as you describe.
In addition they can offer security
as expected?
Is there any extra conf/xml configuration required here?
Date: Tue, 7 Jun 2011 12:07:07 -0700
From: ml-node+3580513-1291411689-42...@n4.nabble.com
To: stargate7thsym...@live.co.uk
Subject: Re: OPEN EJB most recent version and POJO's.
As of EJB 3.0 everything is based on POJOs
your first EJB up and running.
These examples are very nice too:
http://openejb.apache.org/examples.html
-David
Date: Tue, 7 Jun 2011 12:07:07 -0700
From: ml-node+3580513-1291411689-42...@n4.nabble.com
To: stargate7thsym...@live.co.uk
Subject: Re: OPEN EJB most recent version and POJO's
Yes, it's possible.
I'm using something like this:
Swing - @Stateless Session Beans - POJOs, @Entities and Database
operations.
You don't have to annotate it.
--
View this message in context:
http://openejb.979440.n4.nabble.com/OPEN-EJB-most-recent-version-and-POJO-s-tp3576153p3576817.html
Sent
+3576817-2077569707-42...@n4.nabble.com
To: stargate7thsym...@live.co.uk
Subject: Re: OPEN EJB most recent version and POJO's.
Yes, it's possible.
I'm using something like this:
Swing - @Stateless Session Beans - POJOs, @Entities and Database operations.
You don't have to annotate
I it possible to simply deploy a plain old java object to
openEJB as a compiled class in a jar file,
and not as a fully blown EJB bean?
Does this object need to have a class annotation?
What is this annotation, what is it's import statement,
what is the lib jar file for it (is it in SE/EE Java)?