users@glassfish.java.net

Re: how to auto start TimerService EJB?

From: <glassfish_at_javadesktop.org>
Date: Wed, 12 May 2010 09:55:09 PDT

JNDI is always a barrel of fun.

The two at the top of my list are:

1) is the bean deployed? (Since your MBean will have to exist and behave properly when the app is not deployed)

2) Does the bean have a Remote Interface, as you won't be able to call a Local Interface.

3) Make sure you check the EJB FAQ for Glassfish, as it enumerates all of the ways you can look up EJBs etc.
[Message sent by forum member 'whartung']

http://forums.java.net/jive/thread.jspa?messageID=469566