Usability and architecture questions [message #130922] |
Fri, 01 May 2009 07:46  |
Eclipse User |
|
|
|
Hi all,
I have done my first application based on RAP and it looks really good. :-)
How many applications in production use RAP?
Now I am thinking about how to realize the following things:
-How to deploy this application into e.g. Tomcat. I saw a video describing
it,
but I think I need to know how:
-How to use e.g. basic authentication for applying a security and how to
propagate an information about logged user
further into the application code. And how to prevent that some other
users don't call these servlets and not manipulate with
server side objects or can't cause any hacks or problems.
Can somebody tell me a little bit about the internals of communication
between web browser and RAP server?
Or point to me some parts of code where I can learn more? What is a
mechanism and format of messages for sending event's back and forth server
and client.
One more observation.
When application was running for longer time IE wrote me that it's going
slowly and displayed a window if to close or leave opened this running RAP
application in a browser. Don't you know where might be a problem?
Thanks,
Jan
|
|
|
Re: Usability and architecture questions [message #131450 is a reply to message #130922] |
Tue, 05 May 2009 10:39   |
Eclipse User |
|
|
|
Jan wrote:
> Hi all,
>
> I have done my first application based on RAP and it looks really good. :-)
>
> How many applications in production use RAP?
That is hard to tell with an open-source projects. Apart from those
that EclipseSource is involved with as a service supplier, I know
http://www.cas-pia.de/
http://ondemand.yoxos.com/geteclipse/start
>
> Now I am thinking about how to realize the following things:
> -How to deploy this application into e.g. Tomcat. I saw a video describing
> it,
> but I think I need to know how:
> -How to use e.g. basic authentication for applying a security and how to
> propagate an information about logged user
> further into the application code. And how to prevent that some other
> users don't call these servlets and not manipulate with
> server side objects or can't cause any hacks or problems.
this has been discussed before, please search this group for
"authentication", "JAAS", "login" etc.
>
> Can somebody tell me a little bit about the internals of communication
> between web browser and RAP server?
> Or point to me some parts of code where I can learn more? What is a
> mechanism and format of messages for sending event's back and forth server
> and client.
the custom widget tutorial reveals some information:
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.rap.help/help/html/advanced/custom-widget.html
you can study one of the many LCA classes, e.g. start with SliderLCA
or ScaleLCA
again, you should also be able to find information about this in
this newsgroup
>
> One more observation.
> When application was running for longer time IE wrote me that it's going
> slowly and displayed a window if to close or leave opened this running RAP
> application in a browser. Don't you know where might be a problem?
IE shows a message when the time for executing a consecutive piece
of Javascript exceeds a certain limit. Do you mean this one?
>
>
> Thanks,
> Jan
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.07359 seconds