Hi All!
I'm experimenting with using OpenLaszlo in Portlets...
As far as I know OpenLaszlo doesn't know anything about portlets, so
from the client app perspective, it is the same as in any webapp...
Correct ?
I have a portlet which embeds an lzx file to present it in the view
of my portlet. I think this will work just fine.
I am trying to decide what to use in the middle of the portal and
OpenLaszlo app to communicate back an forth, stuff related to
permissions and data in general. Should I use JavaRPC, trying to
simulate say, JSF managed beans? Should i use jsp/servlets instead?
Some questions arise if i use JavaRPC:
a) will session created objects be in the portlet session ?
b) There are some portal related objects which one can usually get
from the request object, in a portlet, this is the PortletRequest
object, these portlet objects provide information about the logged in
user, the layout (page) being viewed, and the portlet in which the
request is made... Will there be any chance of the objects
instantiated via JavaRPC of getting the request object via which it
is being called?
I think that if I use JSPs/Servlets i may be able to get the portlet
objects easier, but the JavaRPC solution seems more elegant...
Any advise performance wise? Any other comments?
Thanks a lot in advance for all the info you can provide!