-
1. Re: Deploying custom services as a SAR.
jonlee Aug 15, 2003 6:01 PM (in response to ravinag)There is not much involved in the creation of a SAR. You can either have them packed or unpacked. With the JBoss 3.2.x distributions, there are plenty of examples of unpacked SARs in your deploy directories. You can pack them using the standard Java jar utility. Rename the file extension from a .jar to .sar after packing them.
JAR libraries are placed in the root directory of the SAR. Classes are also placed in the root directory of the SAR and retain their directory structures, representing their fully qualified name.
In the META-INF directory, you will require a jboss-service.xml to describe any key elements of the SAR deployment. The jboss-service_3_2.dtd can be found in docs/dtd in the JBoss binary distribution.
The paid-for-documents also contain further technical information. -
2. Re: Deploying custom services as a SAR.
pradeepbhat Feb 17, 2004 11:39 PM (in response to ravinag)What does "Creating Custom Services" mean ?Can some one please explain.
Thanks -
3. Re: Deploying custom services as a SAR.
juha Feb 17, 2004 11:52 PM (in response to ravinag)Hosting your custom service implementations (not provided by the app server) on JBoss.
-
4. Re: Deploying custom services as a SAR.
pradeepbhat Feb 17, 2004 11:56 PM (in response to ravinag)Thanks!
How do I access the service? Using JNDI lookup? -
5. Re: Deploying custom services as a SAR.
juha Feb 18, 2004 12:22 AM (in response to ravinag)Using the RMIAdaptor you can lookup from JNDI you can invoke the attributes and operations you expose in the service's (MBean's) interface.