users@glassfish.java.net

MDB

From: <glassfish_at_javadesktop.org>
Date: Thu, 22 Nov 2007 07:32:46 PST

Hi I'm fumbling with a Message Driven Bean in my favorite IDE, NetBeans 6.

I want to call an EJB from my MDB, however when I choose left click -> Enterprise Resources -> Call Enterprise Bean, I get an unexpected exception in the IDE:
[i]"A java.lang.UnsupportedOperationException exception has occurred.
Please report this at http://www.netbeans.org/community/issues.html"[/i]

What's up with that?

I tried to reference my EJB anyway, simply by including the @EJB annotation, but when I ran the application I got some JNDI or "resource not found" exception.

Main question: How is it possible to call an EJB from a MDB?
[Message sent by forum member 'slingblade' (slingblade)]

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