On Mon, Jun 25, 2012 at 1:34 PM, nemesis_sun <nemesis_sun@yahoo.com> wrote:
Hi Forrest,

I couldn't find an example in the given link on how to use @EJB instead of
The client there still uses lookup() to get EJB.
Just made some updates to bank sample in the 3.0 branch -> https://svn.apache.org/repos/asf/geronimo/samples/branches/3.0/samples/javaee5/bank/

You can compile it and run against 3.0.0-SNAPSHOT build, for app client run, just execute a command like this:
$GEORNIMO_HOME/bin/client org.apache.geronimo.samples.javaee5/bank-tomcat_bank-client-3.0.0-SNAPSHOT.jar/3.0.0-SNAPSHOT/car

View this message in context: http://apache-geronimo.328035.n3.nabble.com/Using-EJB-annotation-instead-of-looking-up-for-EJB-tp3985253p3985255.html
Sent from the Users mailing list archive at Nabble.com.


Regards, Forrest