Stephane Clinckart wrote:Hi,
Is JBoss based on the OSGI framework?
If yes, is it possible to configure easilly what service is "activated" on startup?
Any references ?
Thanks a lot.
Stephane
Francesco Marchioni wrote:Turning on/off services is just a matter of removing libraries/configuration files from the deploy folder. This is covered in the book I'm promoting.
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Vijitha Kumara wrote:
Francesco Marchioni wrote:Turning on/off services is just a matter of removing libraries/configuration files from the deploy folder. This is covered in the book I'm promoting.
In case of configuration files is it a matter of commenting out a line for a service? So then it handles all the dependencies (if any) automatically?
Jaikiran Pai wrote:Stephane,
If you are interested in the OSGi part of it, then you should perhaps checkout the JBossOSGi project
Vijitha Kumara wrote:
Francesco Marchioni wrote:Turning on/off services is just a matter of removing libraries/configuration files from the deploy folder. This is covered in the book I'm promoting.
In case of configuration files is it a matter of commenting out a line for a service? So then it handles all the dependencies (if any) automatically?
Peter Johnson wrote:Minimal footprint on disk? 147MB You can reduce this a little by removing unwanted server configurations. But hey, disk is cheap. ;)
Stephane Clinckart wrote:
Peter Johnson wrote:Minimal footprint on disk? 147MB You can reduce this a little by removing unwanted server configurations. But hey, disk is cheap. ;)
Hum... I was speaking about memory foot print... sorry.
Thanks
Stephane
Francesco Marchioni wrote:
Stephane Clinckart wrote:
Peter Johnson wrote:Minimal footprint on disk? 147MB You can reduce this a little by removing unwanted server configurations. But hey, disk is cheap. ;)
Hum... I was speaking about memory foot print... sorry.
Thanks
Stephane
JBoss 5.1.0 JDK 1.6 requires at startup ~ 250MB with a default configuration
with the "web"configuration ~ 130 MB
regards
Francesco
Is it possible to configur JBoss 5 to make "leasy Loading" of somes services?
--> With some "timeout" to unload later when not used anymore?
Peter Johnson wrote:
Is it possible to configur JBoss 5 to make "leasy Loading" of somes services?
--> With some "timeout" to unload later when not used anymore?
Not that I know of (though I have seen rumors and discussions of a lazy loading capability for AS 6)
And regarding memory utilization, any Java EE application server that is serving a decent-sized community (thousands of users) will consume around 1GB to 1.5GB of memory. That is sort of the nature of the beast.
Stephane Clinckart wrote:
Peter Johnson wrote:
Is it possible to configur JBoss 5 to make "leasy Loading" of somes services?
--> With some "timeout" to unload later when not used anymore?
Not that I know of (though I have seen rumors and discussions of a lazy loading capability for AS 6)
And regarding memory utilization, any Java EE application server that is serving a decent-sized community (thousands of users) will consume around 1GB to 1.5GB of memory. That is sort of the nature of the beast.
Thanks for the info.
For 1000 and more users... it is normal that it use more memory. But this memory is more binded to the session of the users than to the server usage himself ;-)
Kind regards,
Stephane
Francesco Marchioni wrote:Turning on/off services is just a matter of removing libraries/configuration files from the deploy folder. This is covered in the book I'm promoting.
Hope it gelps,
Francesco
SCJP 1.5, SCEA, ICED (287,484,486)
Anil Vupputuri wrote:
Francesco Marchioni wrote:Turning on/off services is just a matter of removing libraries/configuration files from the deploy folder. This is covered in the book I'm promoting.
Hope it gelps,
Francesco
Isn't that easy, can we add/remove components while the server is running? (I think that is the primary objective of OSGi)