Home » Eclipse Projects » Remote Application Platform (RAP) » RAP and E4 (SWT BE + Modeled Workbench)
RAP and E4 (SWT BE + Modeled Workbench) [message #528475] |
Tue, 20 April 2010 16:18 |
Angelo ZERR Messages: 122 Registered: July 2009 |
Senior Member |
|
|
Hi RAP Team,
We are studying RAP project, because we wish provides RCP and Web application into our Dynaresume project. At first, I'm very impressive with RAP. But I have several questions about E4 (SWT Browser Edition and Modeled Workbench).
1) E4/SWT Browser Edition (Memory and performance)
I have not done memory/performance test into RAP, but I suppose there will be problems with memory/performance with RAP (sorry if my suggestion are bad).
1.1) Memory problem (HTTP session)
RAP manage everything on server side (sorry for this again topics). I understand this choicie, but it means that SWT UI instance must be stored into HTTP session (not sure with that). If it works like this, I'm afraid with that when there will be a lot of user (HTTP session will grow a lot , if each SWT UI instance are stored into HTPP session per User connected, and I'm afraid with OutOfMemory problem).
1.2) Performance problem
RAP manage SWT Layout on server side, it means that there are a lot of commuincation between client/server. I tell me naively that layout could be computed on client side. To do that I thought about SWT Browser Edition from E4. I have found http://www.eclipsecon.org/2009/sessions?id=668 and I would like know if you have intention to integrate SWT Browser Edition from E4 Eclipse into RAP? Today SWT BE provides "SWT for Dojo", and "SWT for Actionscript". I have studied "SWT for Dojo" which complie SWT code to Javascript by using GWT compiler. The version of this coode is old (don't compile with new SWT API, use old version of Dojo, use old version of GWT), but I tell me if RAP is interested with SWT/BE, we could create "SWT for qooxdoo"?
What do yout think about that? I don't know if it's possible (There is limitation about sleep and readAndDipatch like Tom Shindl said) and after it's just SWT (what about "JFace for qooxdoo"?, "Workbench for qoxxdoo"). If you are interested I can try to help you, but before I woul like just know if you think it's possible to do that.
2) E4/Modeled Workbench
I would like know if it's possible to use RAP with E4/Modeled Workbench? If it's not done, is it planned?
Thank a lot for your answer.
Regards Angelo
[Updated on: Tue, 20 April 2010 16:21] Report message to a moderator
|
|
|
Re: RAP and E4 (SWT BE + Modeled Workbench) [message #528862 is a reply to message #528475] |
Thu, 22 April 2010 08:13 |
|
Hi Angelo,
welcome to the RAP newsgroup.
Regarding your concerns about footprint and performance, you are right
that RAP applications have more state on the server than traditional web
applications and thus have higher resource (memory and CPU)
requirements. Whether this is a problem or not depends mostly on the
number of parallel user sessions you want to run on one node, and of
course on the size of your application. For most projects, RAP scales
pretty well, even on public sites like http://ondemand.yoxos.com
Moreover, load balancing can help to divide the load to more nodes.
The SWT Browser Edition is not further developed anymore. We did some
experiments with it once and found that it is not suitable for RAP in
its current state, mostly because it supports only basic widgets.
Calculating layouts on the client would hardly reduce the communication
needed between client and server, since we need all layout info on the
server in order to support layout-related SWT API. Frequent C/S syncs is
the application paradigm of RAP and it is not really causing problems.
Nevertheless, having an SWT API on the client would be interesting and
you are welcome to experiment with it. We have long-term plans for a
public communication protocol that would allow for alternative client
technologies, maybe this is also interesting for you?
Regarding the e4 modeled workbench, it will basically work with RAP.
There are still a few pitfalls when running e4 apps on RAP (mostly
related to product support and some spots of missing API), but we will
tackle these issues until the Helios release. You can track the progress
on bug 262787.
I hope this answers your questions so far.
Best regards,
Ralf
Angelo wrote:
> Hi RAP Team,
>
> We are studying RAP project, because we wish provides RCP and Web
> application into our DYnaresume project. At first, I'm very impressive
> with RAP. But I have several questions about E4 (SWT Browser Edition and
> Modeled Workbench).
>
> 1) E4/SWT Browser Edition (Memory and performance)
>
> I have not done memory/performance test into RAP, but I suppose there
> will be problems with memory/performance with RAP (sorry if my
> suggestion are bad).
>
> 1.1) Memory problem (HTTP session)
>
> RAP manage everything on server side (sorry for this again topics). I
> understand this choicie, but it means that SWT UI instance must be
> stored into HTTP session (not sure with that). If it works like this,
> I'm afraid with that when there will be a lot of user (HTTP session will
> grow a lot , if each SWT UI instance are stored into HTPP session per
> User connected, and I'm afraid with OutOfMemory problem).
>
> 1.2) Performance problem
>
> RAP manage SWT Layout on server side, it means that there are a lot of
> commuincation between client/server. I tell me naively that layout could
> be computed on client side. To do that I thought about SWT Browser
> Edition from E4. I have found
> http://www.eclipsecon.org/2009/sessions?id=668 and I would like know if
> you have intention to integrate SWT Browser Edition from E4 Eclipse
> into RAP? Today SWT BE provides "SWT for Dojo", and "SWT for
> Actionscript". I have studied "SWT for Dojo" which complie SWT code to
> Javascript by using GWT compiler. The version of this coode is old
> (don't compile with new SWT API, use old version of Dojo, use old
> version of GWT), but I tell me if RAP is interested with SWT/BE, we
> could create "SWT for qooxdoo"?
>
> What do yout think about that? I don't know if it's possible (There is
> limitation about sleep and readAndDipatch like Tom Shindl said) and
> after it's just SWT (what about "JFace for qooxdoo"?, "Workbench for
> qoxxdoo"). If you are interested I can try to help you, but before I
> woul like just know if you think it's possible to do that.
>
> 2) E4/Modeled Workbench
>
> I would like know if it's possible to use RAP with E4/Modeled Workbench?
> If it's not done, is it planned?
>
> Thank a lot for your answer.
>
> Regards Angelo
|
|
|
Re: RAP and E4 (SWT BE + Modeled Workbench) [message #529084 is a reply to message #528862] |
Thu, 22 April 2010 21:02 |
Angelo ZERR Messages: 122 Registered: July 2009 |
Senior Member |
|
|
Hi Ralf,
Thank a lot to have taking time to answer to my questions! I would like use E4 Modeled Workbench but I hesitate because I would like use RAP too.
For SWT/BE, the compilation of SWT to Javascript ( with GWT/JNSI) is very complex and I don't know if RAP can use this feature (how compile to Javascript only SWT widgets and not RCP Workbench for instance?).
Anyway if I can do something, I will contact you.
Thank a lot lot Ralf.
Regards Angelo
[Updated on: Fri, 23 April 2010 07:34] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue Oct 15 00:25:20 GMT 2024
Powered by FUDForum. Page generated in 0.03806 seconds
|