Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Usage of the .sar file

 
Narendra Kumar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic