-
1. Re: heavy load configuration
dimitris Apr 25, 2007 6:59 AM (in response to eiben)You need to see what you application is doing. Most probably hammering the database on the backend without proper connection pooling and data caching.
-
2. Re: heavy load configuration
eiben Apr 25, 2007 7:49 AM (in response to eiben)well, I used EJB3 to create some simple business-objects. So basically I'm using this to access the data of the database.
I did however write some namedqueries to do some sort of lazy-eager fetching. (I have marked all attributes as lazy, but for some pages I need depending objects, so I use a named query with key keyword "fetch join" to get the depending data, so I can display all the data on my JSP page. Otherwise I had some trouble, because of detached entities) -
3. Re: heavy load configuration
peterj Apr 25, 2007 10:11 AM (in response to eiben)Also see http://wiki.jboss.org/wiki/Wiki.jsp?page=SPECjAppServer2002Tuning. Though that wiki entry is primarily about the specjappserver benchmark, the tuning tipis can be applied to almost any application.
-
4. Re: heavy load configuration
eiben May 3, 2007 3:30 AM (in response to eiben)"PeterJ" wrote:
Also see http://wiki.jboss.org/wiki/Wiki.jsp?page=SPECjAppServer2002Tuning. Though that wiki entry is primarily about the specjappserver benchmark, the tuning tipis can be applied to almost any application.
OK, so I'm neither a Java expert nor a JBoss expert :). What I found at the wiki was mainly about tuning the garbage collection to run parallel threads and stuff.
Unfortunately that didn't improve the performance of my system :( -
5. Re: heavy load configuration
eiben May 9, 2007 11:52 AM (in response to eiben)does anyone have some other hints?