JMS Architecture Question
Hi,
Really a newbie question. I have the following requirement. I have a few(4-5) standalone java applications, they are highly efficient and optimized niche applications running on different machines. I need to tie a control application to asynchronously instruct these modules to provide a workflow. I have been thinking about using JMS message queue, my main dilemma is wether I should use JBOSS and wrap each of these applications as Enterprise Applications and run them inside the container, OR, I use ActiveMQ kind of JMS provider and build client interfaces to share messages across the systems. Guidance appreciated, I am struggling with this decision.
[673 byte] By [
AnmolBa] at [2007-11-27 0:40:45]

# 1
> Hi,
>
> Really a newbie question. I have the following
> requirement. I have a few(4-5) standalone java
> applications, they are highly efficient and optimized
> niche applications running on different machines. I
> need to tie a control application to asynchronously
> instruct these modules to provide a workflow. I have
> been thinking about using JMS message queue, my main
> dilemma is wether I should use JBOSS and wrap each of
> these applications as Enterprise Applications and run
> them inside the container, OR, I use ActiveMQ kind of
> JMS provider and build client interfaces to share
> messages across the systems. Guidance appreciated, I
> am struggling with this decision.
Adding some more detail, the reason I want to use JMS over Web Services or RMI is because mostly there is no guarantee of the individual applications being up at the same time.
# 2
You may have better luck with your question over in the Sun Java System Message
Queue forum:
http://forum.java.sun.com/forum.jspa?forumID=711
where there is plenty of JMS expertise. But I'll go ahead and throw in my 2 cents.
> > Hi,
> >
> > Really a newbie question. I have the following
> > requirement. I have a few(4-5) standalone java
> > applications, they are highly efficient and
> optimized
> > niche applications running on different machines.
> I
> > need to tie a control application to
> asynchronously
> > instruct these modules to provide a workflow. I
> have
> > been thinking about using JMS message queue, my
> main
> > dilemma is wether I should use JBOSS and wrap each
> of
> > these applications as Enterprise Applications and
> run
> > them inside the container, OR, I use ActiveMQ kind
> of
> > JMS provider and build client interfaces to share
> > messages across the systems. Guidance appreciated,
> I
> > am struggling with this decision.
If you have no other reason to use a J2EE container, then I'd probably leave them
as standalone applications. JMS works great with standalone applications.
But if you want to use MDB's, JDBC, distributed transactions, etc, then you
probably want a J2EE container.
> Adding some more detail, the reason I want to use JMS
> over Web Services or RMI is because mostly there is
> no guarantee of the individual applications being up
> at the same time.
Yep, makes sense.
Joe
jfddpa at 2007-7-11 22:53:48 >
