• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

MDB questions

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I'm new with MDB and with EJB too, and i have some questions. I'm using JBoss4.0

I'm still doing some test, I have a SimpleMessageBean.java that implements MessageDrivenBean, MessageListener, a ejb-jar.xml:

and at jboss.xml i define:

It's working, i have a MDB for the 2 queues, but is that correct? or may be done different?

My second question is for when i leave the test times..
I will have several queues and that info will be stored somewhere else in a config file. With this config file we will know how many queues will be and the queue names. Can i wait to deploy the mdb until i read that file? or the deployment may be fixed?

thanks

Jordi
 
No holds barred. And no bars holed. Except this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic