Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: How to access MC pojo beans from a RAP app"

To view the discussion, visit: http://community.jboss.org/message/594213#594213

--------------------------------------------------------------
> Within RAP, I can also provide a ServletContext object, but the 
> KernelControllerCDFConnector.valid() always return a false value.
> How can I solve this issue?
Hmmm, I'm not familiar with RAP.
Which ServletContext instance does this provide?

What we're doing in JBossAS is when creating ServletContext inside JBossWeb/AS 
code,
we still have access to MC' Kernel and underlying DeploymentUnit,
hence we simply stick it in as an attribute.
* see org.jboss.web.tomcat.service.deployers.JBossContextConfig

Or why using ServletContext?
Can't you push MC layer (aka some MC bean) all the way to RAP layer?
(guessing as I don't know how RAP works ...)
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/594213#594213]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to