Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Slimming AS 5

 
Author
Posts: 130
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
author
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Jason Porter
Author
Posts: 130
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This "problem" is also partially addressed by the new J2EE 6.0 modularity and profiles.
 
Jason Porter
Author
Posts: 130
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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?
 
Jason Porter
Author
Posts: 130
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JBoss has always had different profiles, but Java EE 6 standardized profiles for servers. The first one is the Web Profile.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic