You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Ivanhoe Abrahams <iv...@gmail.com> on 2007/08/29 10:52:35 UTC
Newbie question
Hi there,
I am totally new to ServiceMix and JBI, so please forgive my ignorance.
I am playing with ServiceMix and decided to first try to embed ServiceMix
into a test application.
My question is, Do you have access the same functionality in embedded mode,
for example in embedded mode can you monitor a deployment directory for new
service units/service assemplies, if so how can you do this?
Essentially I would like to know what are the differences in functionality
is when you decide to deploy servicemix as:
1. Stand Alone
2. As a WAR
3. Embedded.
What can/or can you not do when you try these different scenarios.
Ivanhoe
Re: Newbie question
Posted by Ivanhoe Abrahams <iv...@gmail.com>.
Thank you,
I was slowly coming to the same conclusion, especially since all the
examples seem to be geared towards stand alone deployment using maven
Ivanhoe
On 8/29/07, Kit Plummer <ki...@gmail.com> wrote:
>
> On 8/29/07, Ivanhoe Abrahams <iv...@gmail.com> wrote:
> >
> > Hi there,
> >
> > I am totally new to ServiceMix and JBI, so please forgive my ignorance.
> >
> > I am playing with ServiceMix and decided to first try to embed
> ServiceMix
> > into a test application.
> > My question is, Do you have access the same functionality in embedded
> > mode,
> > for example in embedded mode can you monitor a deployment directory for
> > new
> > service units/service assemplies, if so how can you do this?
> >
> > Essentially I would like to know what are the differences in
> functionality
> > is when you decide to deploy servicemix as:
> > 1. Stand Alone
> > 2. As a WAR
> > 3. Embedded.
> >
> > What can/or can you not do when you try these different scenarios.
> >
> > Ivanhoe
> >
>
> For the sake of learning some of the details it just might be easier to
> play
> with the binary distribution, ala Stand Alone.
>
> I've seen just about everything work in an embedded fashion, though there
> were a few gotchas, but I think they were related to Spring more than
> anything else. As far as the autodeployment stuff, you can get there
> programmatically.
>
> Check the Javadocs:
>
> http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-core/apidocs/
>
>
> --
> Kit Plummer
> Nobody-in-Charge @ Black:Hole:Logic
> http://www.blackholelogic.com
>
Re: Newbie question
Posted by Kit Plummer <ki...@gmail.com>.
On 8/29/07, Ivanhoe Abrahams <iv...@gmail.com> wrote:
>
> Hi there,
>
> I am totally new to ServiceMix and JBI, so please forgive my ignorance.
>
> I am playing with ServiceMix and decided to first try to embed ServiceMix
> into a test application.
> My question is, Do you have access the same functionality in embedded
> mode,
> for example in embedded mode can you monitor a deployment directory for
> new
> service units/service assemplies, if so how can you do this?
>
> Essentially I would like to know what are the differences in functionality
> is when you decide to deploy servicemix as:
> 1. Stand Alone
> 2. As a WAR
> 3. Embedded.
>
> What can/or can you not do when you try these different scenarios.
>
> Ivanhoe
>
For the sake of learning some of the details it just might be easier to play
with the binary distribution, ala Stand Alone.
I've seen just about everything work in an embedded fashion, though there
were a few gotchas, but I think they were related to Spring more than
anything else. As far as the autodeployment stuff, you can get there
programmatically.
Check the Javadocs:
http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-core/apidocs/
--
Kit Plummer
Nobody-in-Charge @ Black:Hole:Logic
http://www.blackholelogic.com
Re: Newbie question
Posted by Bruce Snyder <br...@gmail.com>.
On 8/29/07, Kit Plummer <ki...@gmail.com> wrote:
> You say things some much nicer than everyone else. = }
Thanks a lot Kit, you just ruined my reputation! Geez!
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/
Re: Newbie question
Posted by Kit Plummer <ki...@gmail.com>.
On 8/29/07 12:10 PM, "Bruce Snyder" <br...@gmail.com> wrote:
> On 8/29/07, Ivanhoe Abrahams <iv...@gmail.com> wrote:
>> Hi there,
>>
>> I am totally new to ServiceMix and JBI, so please forgive my ignorance.
>>
>> I am playing with ServiceMix and decided to first try to embed ServiceMix
>> into a test application.
>> My question is, Do you have access the same functionality in embedded mode,
>> for example in embedded mode can you monitor a deployment directory for new
>> service units/service assemplies, if so how can you do this?
>>
>> Essentially I would like to know what are the differences in functionality
>> is when you decide to deploy servicemix as:
>> 1. Stand Alone
>> 2. As a WAR
>> 3. Embedded.
>
> The stand alone and WAR distributions offer the same functionality.
> The difference with the WAR distribution is that you must do
> everything through a web UI (e.g., deploy components, deploy SAs,
> etc.).
>
> I assume that when you are mentioning embedding ServiceMix you're
> talking about instantiating it from insider your own Java app using
> the ServiceMix Java APIs. If this is the case, there is no difference
> in functionality per se. The real difference is that you have total
> control over the configuration. I would only recommend using it in
> this fashion once your are sufficiently familiar with running the
> stand alone version simply for the sake of experience.
>
> Bruce
You say things some much nicer than everyone else. = }
Re: Newbie question
Posted by Bruce Snyder <br...@gmail.com>.
On 8/29/07, Ivanhoe Abrahams <iv...@gmail.com> wrote:
> Hi there,
>
> I am totally new to ServiceMix and JBI, so please forgive my ignorance.
>
> I am playing with ServiceMix and decided to first try to embed ServiceMix
> into a test application.
> My question is, Do you have access the same functionality in embedded mode,
> for example in embedded mode can you monitor a deployment directory for new
> service units/service assemplies, if so how can you do this?
>
> Essentially I would like to know what are the differences in functionality
> is when you decide to deploy servicemix as:
> 1. Stand Alone
> 2. As a WAR
> 3. Embedded.
The stand alone and WAR distributions offer the same functionality.
The difference with the WAR distribution is that you must do
everything through a web UI (e.g., deploy components, deploy SAs,
etc.).
I assume that when you are mentioning embedding ServiceMix you're
talking about instantiating it from insider your own Java app using
the ServiceMix Java APIs. If this is the case, there is no difference
in functionality per se. The real difference is that you have total
control over the configuration. I would only recommend using it in
this fashion once your are sufficiently familiar with running the
stand alone version simply for the sake of experience.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/