-
1. Re: jboss 7 microcontainer
ctomc Feb 17, 2014 5:57 AM (in response to jjakub)1 of 1 people found this helpfulAS7 was complete redesigned and rewritten from scratch and is no longer based on MC/JMX kernel.
It is now based on jboss modules & MSC.
see AS 7 Internal Architecture Overview for more.
-
2. Re: jboss 7 microcontainer
jjakub Feb 17, 2014 7:12 AM (in response to ctomc)Thx, Great article.
Do you know sample simple web application that cannot be run on jboss6/5
but can be run on jboss7 laveraging jboss 7 msc modular classloading container?
-
3. Re: jboss 7 microcontainer
david.wilson Feb 17, 2014 7:45 AM (in response to jjakub)Nearly every simple application can be run on jboss6.
will you tell me that which simple web application is not running?
-
4. Re: jboss 7 microcontainer
jjakub Feb 18, 2014 1:44 AM (in response to david.wilson)I thought that app, which
has dependency to two libraries, each of them has dependency to different version of the same library (eg hibernate) and one of them make use of deprecated api which is removed from newer version of hibernate,
will not run on jboss 6 or tomcat7,
but may somehow be run on jboss 7 ( because it is osgi with multiple classloaders and modules ).
David, please explain where am I wrong.
-
5. Re: jboss 7 microcontainer
ctomc Feb 18, 2014 5:31 AM (in response to jjakub)1 of 1 people found this helpfulJa kub wrote:
but may somehow be run on jboss 7 ( because it is osgi with multiple classloaders and modules ).
Yes it will run on AS7 with proper configuration, but not because of OSGI but because of the way jboss modules work. Osgi is just an add-on on top of core functionality.
Read more about how to configure classloading for your deployments to use different sets of modules.
https://docs.jboss.org/author/display/AS72/Class+Loading+in+AS7
Defining a module - JBoss Modules - Project Documentation Editor
-
6. Re: jboss 7 microcontainer
david.wilson Feb 18, 2014 9:34 AM (in response to jjakub)You are right my bro. Now every thing is explained.