Csaba Szucs [http://community.jboss.org/people/CsabaSzucs] created the 
discussion

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

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

--------------------------------------------------------------
Hello Ales,

The runtime type of the ServletContext instance is 
org.eclipse.equinox.http.servlet.internal.ServletContextAdaptor.
So that must be the cause the valid() method gives false.

Unfortuntely I don't know how I could put MC beans into RAP, actually that's 
what I just tried to ask. I also put this message up to RAP user forum, in case 
they might help me on this.

What I do know is how to access EJBs from RAP.
So maybe a workaround solution could be to delegate MC bean's logics on to an 
EJB class, and using that EJB class from RAP.
The draw-back here is the need to refactor/change existing classes in BU layer 
just because of RAP UI layer...


Thanks, anyway.
Csaba
--------------------------------------------------------------

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

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