Charles Souillard wrote:
Hi all,
I am trying to understand how ServiceMix is integrated into Geronimo.
I have read the specific web page on that
(http://servicemix.org/Geronimo+Integration) but I was disappointed to
see that the chapter concerning the deployment of JBI components in
ServiceMix integrated into Geronimo was missing due to a pending jira
issue.
In fact two ways are described :
1) Deploying Components on servicemix-web.war (jira => empty section)
The servicemix-web is a sample application that you can use if you want
to embed ServiceMix in a war.
You should be able to deploy it on any web server.
But it uses the servicemix.xml configuration file and it has not been
tested with deployment of standard jbi artifacts.
2) Deploying JBI Components on Geronimo Using the Geronimo Deployment
Tool
On this section, I have two question :
* why are you saying this method will be the prefered one ? In my
opinion, the more independent we are, the best it is !
I mean if I use the deployment into the war, I can easily put my
war on another app server...
* There is no precise information on what is done after launching
the deployment tool ? Does it mean that the Geronimo deployment
tool is able to recognize a jar containing a compoponent ? And it
performs the needed work to inform the SM web app ? Can you
explain me the stuff done vy the deployment tool ?
These two sections deal with JBI components, what about Service
Assemblies ? Is it possible to deploy them into the web app ? into
Geronimo ?
The geronimo deployer should handle all types of jbi artifacts
(components, libraries and assemblies).
However, the integration with geronimo has never been completely
finished (time is missing) but you will find
the current code in servicemix-gbean and servicemix-gplan if you want to
do it that way.
In the same scope, I can read that ServiceMix is integrated into
Tomcat, but I think the problem is to deploy components and Service
Assemblies ?
Yes, it should work if you use JMX, but this have not been tested.
Guillaume
Thanks a lot for the answers...
Regards,
Charles