File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes JBoss Archive Files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss Archive Files" Watch "JBoss Archive Files" New topic

JBoss Archive Files

Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 293

I know that JBoss supports .WAR and .EAR files, but I've also seen a few .SAR files hanging around.

What exactly is a .SAR file and how does it differ from any other archive formats.

Are .SAR files JBoss specific?


norman richards
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
SAR files are Service ARchives. Like their abbreviated form, the simple *-service.xml file, they represent services that are to be loaded into the JBoss microkernel. These archives/files are specific to JBoss, but the services they represent are not necessarily so.
Surasak Leenapongpanit
Ranch Hand

Joined: May 10, 2002
Posts: 341
SARs that are JARs must have a META-INF/jboss-service.xml descriptor.
I agree. Here's the link:
subject: JBoss Archive Files
jQuery in Action, 3rd edition