users@glassfish.java.net

RE: Some noob questions. Plz.

From: <jcfolsom_at_pureperfect.com>
Date: Thu, 21 Jan 2010 17:00:01 -0700

1. Write less code.
2. Don't use JSF
3. Don't bundle everything inside the same EAR. Just deploy the WAR files separately.
4. Deploy any resources that can be loaded from the classpath in the lib directory for the domain.
5. Serve up any static content (e.g. swf, images, etc) from a separate location
-------- Original Message --------
Subject: Some noob questions. Plz.
From: glassfish@javadesktop.org
Date: Thu, January 21, 2010 6:37 pm
To: users@glassfish.dev.java.net

Hello!

I have GlassFish and a big project, that consists of many WAR/JARS that lays in EAR.
And the first problem is a big size of EAR, because of each WAR contains jsf* and richfaces libs. I have tried to put this libs in GF/lib and domain/lib/ext.. - but nothing, when I deploy it and try to access a page I get an error - not found richfaces libs.
What can I do to reduce size of an EAR ?

The second problem is GF periodically hangs on Windows7-64(32bit Java)... and starts only if i delete deployed project handly.
[Message sent by forum member 'bozya' (mr_gluck@mail.ru)]

http://forums.java.net/jive/thread.jspa?messageID=382258

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net