File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Slimming AS 5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Slimming AS 5" Watch "Slimming AS 5" New topic
Author

Slimming AS 5

Jason Porter
Ranch Hand

Joined: Apr 26, 2007
Posts: 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
Posts: 190
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


WildFly 8 Administration Book - JBoss Tutorials
Jason Porter
Ranch Hand

Joined: Apr 26, 2007
Posts: 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
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

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
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.
Anil Vupputuri
Ranch Hand

Joined: Oct 31, 2000
Posts: 527
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
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
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


JBoss Production Settings
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Slimming AS 5