On 2002.06.20 23:09:42 -0400 Sheng Zou wrote:
> Hi,
> 
> The context for deployment is JBoss3.0:
> + I understand about EAR and WAR, but when should I consider to use SAR?
> and
> how is the SAR treated differently from EAR or WAR? Where can I get SAR
> format/DTD description?
I think I described it to some extent in the quickstart manual from the
sourceforge download page.  .sar files are for deploying mbeans together
with the classes they use/are instances of in one package. There are many
examples in the jboss distro.

> + Assume myapp.war depends on log4j.jar, should log4j.jar be part of
> myapp.war or should add references to the real location of log4j.jar? if
> the
> latter, to which file should I add references in what format?

Leave out log4j.jar from your deployments or it will conflict with jboss'
copy.
> + what sequence are the following libs are loaded into VM?
>       1. jboss-3.0.0/lib/*.jar
first, but only some files depending on build in and startup parameters. 
--library=<file> lets you add non-built in ones on the command line when
you start jboss.
>       2. jboss-3.0.0/server/myserver/lib/*.jar
second.
>       3. jboss-3.0.0/server/myserver/deploy/*.jar
third.

davidjencks
> 
> thanks,
> Sheng 
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
> <TITLE>help on naive JBoss/J2EE deployment questions, thanks in
> advance!!!</TITLE>
> </HEAD>
> <BODY>
> 
> <P><FONT SIZE=2>Hi,</FONT>
> </P>
> 
> <P><FONT SIZE=2>The context for deployment is JBoss3.0:</FONT>
> <BR><FONT SIZE=2>+ I understand about EAR and WAR, but when should I
> consider to use SAR? and how is the SAR treated differently from EAR or
> WAR? Where can I get SAR format/DTD description?</FONT></P>
> 
> <P><FONT SIZE=2>+ Assume myapp.war depends on log4j.jar, should log4j.jar
> be part of myapp.war or should add references to the real location of
> log4j.jar? if the latter, to which file should I add references in what
> format?</FONT></P>
> 
> <P><FONT SIZE=2>+ what sequence are the following libs are loaded into
> VM?</FONT>
> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>1.
> jboss-3.0.0/lib/*.jar</FONT>
> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>2.
> jboss-3.0.0/server/myserver/lib/*.jar</FONT>
> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>3.
> jboss-3.0.0/server/myserver/deploy/*.jar</FONT>
> </P>
> 
> <P><FONT SIZE=2>thanks,</FONT>
> <BR><FONT SIZE=2>Sheng </FONT>
> </P>
> 
> </BODY>
> </HTML>
> 


-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to