ejb@glassfish.java.net

Portable MDB

From: Chase <chase_at_osdev.org>
Date: Fri, 21 Apr 2006 23:43:45 -0500

I'm trying to make a portable MDB. I can get a MDB work in the style
done on https://glassfish.dev.java.net/javaee5/ejb/examples/MDB.html. A
snip of the code on your website:

@MessageDriven(mappedName="MDBQueue")
public class MDB implements MessageListener {
....
}

After reading the EJB3 spec it doesn't sound like "mappedName" is
portable(it maps to a global JNDI name). Is there a way to make a
portable MDB? And if so can it be done with just annotations?

Thanks,
-Chase