Hi, just have a close look at your sample application, with the changes below, I could invoke the application client and the @EJB also works.
On Mon, Jun 25, 2012 at 1:34 PM, nemesis_sun <email@example.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:
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.