users@glassfish.java.net

Re: Why is exploded deployment not recommended in production?

From: Ludovic Champenois <Ludovic.Champenois_at_Sun.COM>
Date: Mon, 20 Apr 2009 09:28:57 -0700

On 4/20/09 8:24 AM, Ryan de Laplante wrote:
> Ludovic Champenois wrote:
>> On 4/20/09 7:48 AM, Weden Jason-RWC467 wrote:
>>> In the official glassfish docs, it says the following about the
>>> "deploydir" command which is used for directory-based (exploded)
>>> deployment:
>>> http://docs.sun.com/app/docs/doc/820-4278/deploydir-1?l=en&a=view
>>> <http://docs.sun.com/app/docs/doc/820-4278/deploydir-1?l=en&a=view>
>>>
>>> /"Directory deployment is for advanced developers only. Do not use
>>> it in production environments. In production environments, use the
>>> deploy command." /
>>>
>>> Why is this not recommended for production? Is there a performance
>>> penalty?
>> Not at all...But this directory ( that can be anywhere on disk) is
>> own by you the developer, so it could be deleted or modified without
>> the App server knowledge...
>> Deploying an archive is more manageable in terms of application
>> "ownership" and control.
>> Ludo
> GlassFish explodes all archives when you deploy them, but under
> ./domains/domain1/applications/
Yes, you have less chances to corrupt this area, which is own by the
user who started the server, which on a production site is unlikely to
be you.
Ludo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>