Hi,

ServiceMix is a JBI implementation, that does much more than what JBI is
supposed to provide..
If you want to work with ServiceMix, I strongly advise you to play with Spring
(http://www.springframework.org) first. Spring is an Inversion Of Control
lightweight container, and ServiceMix is integrated with Spring.

There are several ways to use ServiceMix :
- using pure JBI Service Assemblies that you can deploy directly to a
ServiceMix-integrated Application Server (e.g. using Geronimo deploy tool,
since ServiceMix is supposed to be integrated with Geronimo - haven't figured
out how to use deploy tool to deploy a JBI .jar personally... )
- using pure JBI Service Assemblies that you just drop inside the install/
folder of a ServiceMix instance configured using Spring (see the
examples/*/servicemix.xml). The easiest way to get spring instanciate
ServiceMix is to use the bin/servicemix script. It will run spring outside any
J2EE container, even though you are supposed to be able to embed spring inside
any J2EE container (I personally had problems to deploy PXE's BPEL engine
inside serviceMix configured inside geronimo because of some transaction
manager bug, so if you don't need J2EE, just run serviceMix standalone, it's a
safer bet)
- using ServiceMix POJOs (Plain Old Java Programming) facilities. Basically, you
define a Spring XML file (with additional syntax) that defines several service
components beans.
this is the easiest way to use ServiceMix, it allows you to use ServiceMix
classes that really help JBI programming, but it's not really JBI-compliant...


Regards,
Sami Dalouche

Selon "Wang, Han BGI SF" <[EMAIL PROTECTED]>:

> Hi Sami,
>     Thanks for your reply, that certainly helps. I am new to JBI and
> ESB, I started looking at is since Monday... It's a new project assigned
> to me. I just have another question, what is servicemix? Does it have to
> run inside a J2EE server such as Jboss or Apache Geronimo? Thanks.
>
> Regards,
>
>
> Han Wang
> Technology Analyst
> Phone: +1 (415) 908-7960
> Fax: +1 (415) 618-5447
>
> 45 Fremont Street
> Barclays Global Investors
> San Francisco
> CA, 94105
> United States
> __________________________________
> BARCLAYS GLOBAL INVESTORS
>
> -----Original Message-----
> From: Sami Dalouche [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 07, 2005 6:45 PM
> To: [email protected]
> Subject: Re: [servicemix-user] What is a service assembly?
>
> Hi,
>
> a Service Assembly is a .jar archive that contains a META-INF/jbi.xml
> file, that is conforming to the JBI descriptor explained in JSR 208.
> If you want to see an example of such a Service Assembly, you can take a
> look at the examples/bpel/install/pxe-install.jar
>
> just unjar the pxe-install.jar file, it contains a META-INF/jbi.xml.
>
> Hope it helps,
> Regards,
> Sami Dalouche
>
> Selon "Wang, Han BGI SF" <[EMAIL PROTECTED]>:
>
> > Hi,
> >     I was reading the documentation on the servicemix.org and I have
> > understood that "If the installation directory is present, and
> > monitorInstallationDirectory is enabled, then the directory will be
> > polled for new archives of Components or Service Assembilies to
> > install." But I don't know what a service assembly is. I would like to
>
> > know what it contains. Is it a .jar file or a .zip file? Does it have
> > any .xml files act as configuration? If there are any java classes
> > involved, do they have to implement any particular interfaces? Thanks
> >
> > Regards,
> >
> > Han Wang
> > Technology Analyst
> > Phone: +1 (415) 908-7960
> > Fax: +1 (415) 618-5447
> >
> > 45 Fremont Street
> > Barclays Global Investors
> > San Francisco
> > CA, 94105
> > United States
> > __________________________________
> > BARCLAYS GLOBAL INVESTORS
> >
> >
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>




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

Reply via email to