*
The moose likes JBoss/WildFly and the fly likes Usage of the .sar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Usage of the .sar file" Watch "Usage of the .sar file" New topic
Author

Usage of the .sar file

Narendra Kumar
Greenhorn

Joined: Aug 05, 2005
Posts: 1
hi,
Iam new to this Jboss and i want know why this .sar file is being creating and for what purpose it is useful and i have absorved some of the applications for example JBoss/server/default/deploy/JBoss-Portal.sar and etc and among those files some of the jboss-service.xml is there specific reason for that. My doubt is for what kind of services we can create jboss-service.xml?

naren
Marco Barenkamp
Ranch Hand

Joined: Aug 27, 2001
Posts: 94
SAR Archives are Service MBeans that allows you to integrate
arbritary services to your service implemented as MBeans.
You can use MBeans for jboss-specific services or to allow
EJB to acess the filesystem.
btw, the are 3 possibilities:
-*.sar File with META-INF/jbosss-service.xml
-*-service.xml for MBean declaration
<mbean>tag in conf/jbosss-service.xml

cheers


Marco Barenkamp<br />_ _ _ _ _ ________________________ _ _ _ _ _ <br />L M I N T E R N E T S E R V I C E S AG<br /> <br />Head of Software Development<br /> <br /> <br />BEA Certified Enterprise Developer<br />Sun Certified Programmer for the Java2 Platform<br />Sun Certified Web Component Developer for the Java2 Platform<br />Sun Certified Developer for the Java 2 Platform <br />Sun Certified Business Component Developer for the Java 2 Platform <br />Sun Certified Enterprise Architect for the Java 2 Platform Enterprise Edition<br /> <br />LMIS AG
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Usage of the .sar file