facebook

About MDB and destination-jndi-name

  1. MyEclipse IDE
  2.  > 
  3. Comments
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #213641 Reply

    gzhuye
    Member

    I got some confusion when I experimented on MDB application: Why not to put destination-jndi-name into ejb-jar.xml(@ejb.xx tag)?

    When we create MDB, we define destination-jndi-name like this:

    In JBoss:

    * @jboss.destination-jndi-name
    * name = “queue/MdbQueue”

    In Weblogic:

    *@weblogic.message-driven
    * destination-jndi-name = “queue/MdbQueue”

    Consequently, this configure will be put in the vendor’s config file.

    Actually, every MDB has a relevant destination, if we put destination-jndi-name in ejb-jar.xml (using @ejb.xxx tag for destination-jndi-name), so destination-jndi-name can be independent from vendors.

    I’m not sure if what I’m say is exactly right, Please give some comments.

    Meanwhile, I don’t know if it is a right place to discuss this topic, but I hope everyone in MyEclipse team is very willing to take this topic.

    Thanks alot

    Paul

    #213647 Reply

    Riyad Kalla
    Member

    Paul,
    If you are asking for people’s opinions then this is the perfect forum for it. I will ask our EJB guy if he has any comments, but no promises 😉

    #213684 Reply

    gzhuye
    Member

    Thank you very much!

    I’m waiting for your opinions.

    #214449 Reply

    Greg
    Member

    Paul,

    I don’t much experience with MDBs and JMS. Have you looked at our tutorials on the subject?
    http://www.myeclipseide.com/images/tutorials/MDB/MDB_tutorial.htm

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: About MDB and destination-jndi-name

You must be logged in to post in the forum log in