Well, with a war, all it is is a tar.gz file, with a MANIFEST.MF file.  When
the app server sees this, it extracts the whole thing into the webapps
directory (where the .war is in the first place), and then loads its
configuration.

We could copy J2SE's way of using a 'web.xml' definition for that host, but
I still don't see how to get around the library issue.

I know perl can output bytecode, but I don't understand how thats relevant
here.

-man

----- Original Message -----
From: "John Napiorkowski" <[EMAIL PROTECTED]>
To: "Michael A Nachbaur" <[EMAIL PROTECTED]>
Cc: "P5EE Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 24, 2001 1:53 PM
Subject: Re: Web applications and P5EE


> Since perl can output byte code, perhaps this could be a good method for
> combining the apps in the way you suggest?  We could create a convention
for
> directories (for xml, xslt templates, perl code) combine the code and
gzip/tar
> all the files together.  We'd then need to create an Apache module that
knows
> what to do when it sees that file, and maybe some way to cache the results
so it
> doesn't need to uncompress the file each time.
>
> Peace, or Not?  __John
>
> Michael A Nachbaur wrote:
>
> > My discussion probably has nothing to do with what everyone thinks P5EE
> > entails, but it is something that I see is very important.  My main
interest
> > in perl is in the area of web development and deployment.  While I love
the
> > flexibility mod_perl gives me, packaging and configuring a complex site
is
> > tedious.  Now imagine if we have failover and loadbalancing
functionality in
> > P5EE, how much more complex will the configuration of each web/app
server
> > be?
> >
> > I'd really like to see the support of ".war"-like bundles under
> > mod_perl/Apache.  For those of you unfamiliar with Java app servers, a
.war
> > file is like a .jar file, except for web applications.  It bundles the
> > configuration, libraries needed, classes and HTTP resources for the
site.
> > You deploy that application, or site, on a server by dropping the .war
file
> > in a directory.
> >
> > Now, this probably is more of a mod_perl change than a P5EE change, but
I
> > wanted to toss my USD$0.02 in here, since I know CIOs won't want to
worry
> > about configuration differences between application servers.
> >
> > -man
> > Michael A Nachbaur

Reply via email to