Hrvoje Crnjak wrote:
From my understanding this is more of an architectural approach on building JBoss AS7, rather than just implementation
of OSGi R4.2 specification.
Actually, it's not 'more of an architectural approach'. JBoss OSGi in AS7 is a fully compliant implementation of the OSGi 4.2 specification. It's built on top of jboss-modules (which is the architectural approach you may be alluding to) to provide a tight integration with the rest of the application server. For more information see: http://www.jboss.org/jbossas/osgi
Can I use JBoss OSGi 1.0.0 on JBoss AS5 ?
how can I use some other framework
You can of course deploy a 3rd party OSGi framework on AS5 - I know of webapps that use OSGi internally. There will however be no integration at class loading level with any other parts of AS5
how to implement just modular model in my application
Have a look at jboss-modules, which is that modular approach for all deployments on AS7. There are plenty examples in the testsuite.
OSGi is the standard approach to modularity - so I would still recommend that on AS7