Hi,

When ServiceMix is deployed within a WAR, then :
1) ActiveMQ may or may not be embedded. For example, you could have an ActiveMQ
broker running inside Geronimo (Apache J2EE Server..), and then just use
activeMQ client API to contact this broker.
2) What do you mean by EJB is not supported ?
3) You can use JCA by using Jencks. Jencks can be embedded inside Spring. You
can look at the examples given in example/. All of these examples are Spring
examples, so you can apply them if you use ServiceMix inside a WAR. There are
examples of using JCA with ActiveMQ Resource Adapter.

So, your JBI components would be basic Java objects, but you can have components
that talk to JCA, this is not problematic. But yes, I believe that you can't
really have JBI components that are either EJB or MDB. However, Jencks +
ActiveMQ can be a replacement for MDB. You can even take part in distributed
transactions, so what else do you miss ?

Regards,
Sami Dalouche

Quoting Dan Hatfield <[EMAIL PROTECTED]>:

> When ServiceMix is deployed within a WAR, can you provide more details on
> how this is implemented?
>
> 1) ActiveMQ must be running embedded in a servlet?
> 2) EJB's and JCA aren't supported right?
>
> Basically, your JBI components would be basic java objects (not EJB, not
> JCA, not MDB, etc) exposed via the messaging fabric embedded in a servlet
> and this is possible since the servlet spec supports spawning your own
> threads.....Is this accurate?
>
> Dan
>
> On 9/21/05, Sami Dalouche <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > All of these situations are possible. JBI can be supported at the
> > Application
> > Server level, like EJBs, for example. So you deploy a JBI component buy
> > using
> > your AppServer's deploy tool. Geronimo is said to support JBI components
> > through its deploy tool (Does not work for me, but it officially does..).
> >
> > In addition, ServiceMix can be embedded in any way that Spring
> > (http://www.springframework.org/) supports, so this means that you can
> > either
> > launch servicemix standalone, or embed it inside a WAR.
> > Several notes about deploying it inside a WAR though :
> > - You can not use the web applications context that Spring provides,
> > because of
> > some (yet incomplete) modifications that have been done to Spring (you
> > must use
> > the Sprign version provided with servicemix). There was several emails
> > from
> > James on this list that give some details about how to run it correctly
> > from a
> > WAR.
> > - If you deploy it inside Geronimo, you can not use Fivesight PXE (BPEL
> > engine)
> > as a JBI component, since the current version conflicts with Geronimo's
> > transaction manager.
> >
> > Regards,
> > Sami Dalouche
> >
> > Quoting Julien Martin <[EMAIL PROTECTED]>:
> >
> > > Hello,
> > > I would like to understand how the JBI container relates to the
> > application
> > > server it run with. Does the JBI container run on top of the app server?
> > > inside
> > > it? What part of J2ee are used by the JBI container?(servlets, ejbs,
> > JCA???).
> > > Thanks in advance,
> > > Julien.
> > >
> > > Any answer welcome.
> > >
> > >
> >
> >
> >
> >
> > ----------------------------------------------------------------
> > This message was sent using IMP, the Internet Messaging Program.
> >
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to