hi Tony

pls see my comments below;

Thanks,
Deepal
................................................................
~Future is Open~

----- Original Message ----- From: "Tony Dean" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, February 01, 2006 6:25 AM
Subject: [Axis2] services.xml


Hi,

Can anyone answer a few simple questions:

1) I don't think this is possible, but wanted to ask. Can you define more than one service in services.xml?

yes , you can have more than one serivce element in services.xml and that we called service group; and the way is as follows
<serviceGroup>
 <service name="foo"></service>
 <service name="baa"></service>
</serviceGroup>



2) I have seen serviceGroups defined, but do not know their exact purpose (somehow relating services together)?
Couldn't find any documentation on the subject.

well that is easy way of deploying mutiple services in one aar file , and in the meanwhile at the run time you can manage sessions accros services using serviceGroup contex for that service group


3) Can the service implementation class reside in lib/my.jar or does it have to be in top level class? I assume it can be in a bundled jar in the .aar just like other dependent jars (assuming classloading is working properly), but haven't tried it. I have always deployed with the implementation class unjar'ed.


yes you can put ur service impl class itself as a seperate jar inside aar


Thanks.

Tony Dean
SAS Institute Inc.
919.531.6704
[EMAIL PROTECTED]

SAS... The Power to Know
http://www.sas.com



Reply via email to