The most intelligent Java IDE
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Products » JBoss
 
RSS feed
 
New topic
Author

Slimming AS 5

Jason Porter
Ranch Hand

Joined: Apr 26, 2007
Messages: 120

Welcome Francesco Marchioni! I've been using JBoss AS 5 for about a year now, and I've been trying to find a slimming guide (something more than my own trial and error). Slimming to reduce the memory footprint and also decrease the boot time (I hear AS 6 M2 is much faster now, haven't look though). I also want to slim because I'm not using some services (such as EJB2). Briefly looking through the TOC for the book it doesn't look like this is covered. Did I miss it, or is there reference somewhere you could point me to?
Francesco Marchioni
author
Ranch Hand

Joined: Sep 22, 2003
Messages: 171

Jason Porter wrote:Welcome Francesco Marchioni! I've been using JBoss AS 5 for about a year now, and I've been trying to find a slimming guide (something more than my own trial and error). Slimming to reduce the memory footprint and also decrease the boot time (I hear AS 6 M2 is much faster now, haven't look though). I also want to slim because I'm not using some services (such as EJB2). Briefly looking through the TOC for the book it doesn't look like this is covered. Did I miss it, or is there reference somewhere you could point me to?

Hi Jason,
in the second chapter it is showed a "map" of the application services (each service and the corresponding libs/xml file used). Next there's an example of how you can create a custom server configuration by adding/removing services.
You can find info on the JBoss site as well
http://community.jboss.org/wiki/JBoss5xTuningSlimming.pdf
regards
Francesco

JBoss AS 5 Development
MyJBossSite
Jason Porter
Ranch Hand

Joined: Apr 26, 2007
Messages: 120

Very nice, thanks! The last time I looked this document wasn't there, so it must have been created over the past few months. Thanks again!
Wouter Oet
Ranch Hand

Joined: Oct 25, 2008
Messages: 500

This "problem" is also partially addressed by the new J2EE 6.0 modularity and profiles.

"Any fool can write code that a computer can understand.
Good programmers write code that humans can understand." --- Martin Fowler
Jason Porter
Ranch Hand

Joined: Apr 26, 2007
Messages: 120

Very true. Although we don't have an officially production-ready stamped Java EE 6 container from JBoss just yet (There's M1, and M2 -- which I don't think has been released just yet) but I don't think they're quite up to production quality just yet (please correct me if I'm wrong).

So for production deployment (based on my above assumptions) we have AS 5 if you want to stay with JBoss (or GlassFish v3 which looks very compelling I might add). So you'll end up doing some slimming and tuning to stick with AS 5.

This message was edited 1 time. Last update was at by Jason Porter

Anil Vupputuri
Ranch Hand

Joined: Oct 31, 2000
Messages: 490

Francesco Marchioni wrote:
Hi Jason,
in the second chapter it is showed a "map" of the application services (each service and the corresponding libs/xml file used). Next there's an example of how you can create a custom server configuration by adding/removing services.
You can find info on the JBoss site as well
http://community.jboss.org/wiki/JBoss5xTuningSlimming.pdf


Francesco,
Does it mean that JBoss is adopting OSGi?

SCJP 1.5, SCEA, ICED (287,484,486)
Jason Porter
Ranch Hand

Joined: Apr 26, 2007
Messages: 120

JBoss has always had different profiles, but Java EE 6 standardized profiles for servers. The first one is the Web Profile.
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Products » JBoss
 
RSS feed
 
New topic
hibernate profiler