JMS reception in normal Java app?

S

Scott Balmos

Hi all,

A new facet to my system design is starting to come up in my mind. See
my other thread, "Right use for JTA transactions?", for background
info. Some other services, like mailing lists, would be on physically
separate servers from the main webapp. The webapp would issue
management messages (like create new mailing list foo, etc) via JMS.

I was wondering if anyone's got any ideas on implementing JMS message
consuming in a "normal" Java application, which would run in a normal
JVM outside of any J2EE/Servlet container? In essence, I want these
service managers to be as lightweight as possible. I don't want to have
to run JBoss on each of the other servers just to run something like
Message Driven Beans.

Ideas? Thanks!

--Scott
 
I

iksrazal

Take a look at OpenJMS that runs in Tomcat, for example. Without a
servlet container I'm not sure but there may be something out there for
J2ME. However, you do mention MDB and basically that's impossible as
far as I know without a full J2EE container. Where OpenJMS can help is
pure Topic/Queue type stuff.

Concerning transactions, there is the Spring and/or Hibernate
alternative which, IMHO, has big advantages over JTA.

HTH,
iksrazal
http://www.braziloutsource.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top