Hi,

In our current project, we have a mix of sling servlets (as part of
CQ) and an old spring mvc application. The migration is planned to
move completely to sling/CQ. But till the complete migration happens,
these two need to coexist in the same web container (weblogic in this
case).
We have a successful POC working where JSPs, which are CQ components,
can access session objects set by other web applications. (Made
possible by session sharing facility in weblogic). For refering to the
Java classes in JSP, they need to be packaged and exported as an OSGI
bundle.
I am trying to understand how http session handling happens in OSGI
container (felix) and other web applications in same web container.
Because, if I try to use the same class in sling servlet (which is
packaged as OSGI bundle), I get ClassCastException (as expected).

Are there any pointers which explain how class loading works in HTTP
service in Felix?

Thanks,
Unmesh

Reply via email to