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
Posts: 174
posted
0
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
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
Please correct my English.
Jason Porter
Ranch Hand
Joined: Apr 26, 2007
Posts: 120
posted
0
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
Posts: 527
posted
0
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
Posts: 120
posted
0
JBoss has always had different profiles, but Java EE 6 standardized profiles for servers. The first one is the Web Profile.
J Joseph
Greenhorn
Joined: Oct 30, 2010
Posts: 1
posted
0
The following is a related article which shows how to slim JBoss AS 5 and also various optimizations for taking JBoss to production.
JBoss Production Settings