users@glassfish.java.net

Re: What is the difference between server and client profile?

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Fri, 06 Jun 2008 12:28:47 +0200

On Jun 6, 2008, at 1:18, glassfish_at_javadesktop.org wrote:

> Can someone please explain the core difference(s) between the server
> and client profiles? In particular the difference between -client
> and -server JVM option. In addition, what impact does the following
> option have on the server instance (apart from significantly slowing
> the startup time)

"-client" and "-server" are JVM (hotspot) options.
The GlassFish profiles are "developer", "cluster", and "enterprise".

-client is used in the "developer" profile of GlassFish for better
startup time.
-server is most likely what you should use in production, even if you
stay with the "developer" profile.

Maybe this could help you : http://blogs.sun.com/alexismp/entry/glassfish_sjs_as_in_production

> -Dcom.sun.enterprise.server.ss.ASQuickStartup=false

This is really a workaround for some concurrency issues that may arise.

-Alexis

> Many thanks in advance.
> [Message sent by forum member 'ggierer' (ggierer)]
>
> http://forums.java.net/jive/thread.jspa?messageID=278664
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>