• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic