Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] RCP 2 Web (SWT for dojo? RAP? ...)

Hi Angelo,

For e4, the current focus is on bringing the web into Eclipse applications (e.g. through the OpenSocial support) instead of investing more in technologies that would bring existing Eclipse applications to the Web. The problem is that existing code is not written with a client-server split in mind. RAP solves the problem by running almost the entire application on the server, including the widgets, and just having the visual representation of the widgets plus some event forwarding code on the client. Another solution would be to run the entire application on the client side, but that would end up with a very heavy weight client. If you'd like to have a lightweight client and a stateless server, you will have to re-write your application with a client-server split in mind, and then the question is if you won't be better off using "native" web technology (HTML, CSS, _javascript_, probably a JS toolkit).

I hope this makes sense.

Boris

Inactive hide details for Angelo zerr ---02/28/2010 07:21:39 PM---Hi E4 Team, I'm studying solution provided to deploy RCP applAngelo zerr ---02/28/2010 07:21:39 PM---Hi E4 Team, I'm studying solution provided to deploy RCP application into desktop or WEB


From:

Angelo zerr <angelo.zerr@xxxxxxxxx>

To:

E4 Project developer mailing list <e4-dev@xxxxxxxxxxx>

Date:

02/28/2010 07:21 PM

Subject:

[e4-dev] RCP 2 Web (SWT for dojo? RAP? ...)

Sent by:

e4-dev-bounces@xxxxxxxxxxx




Hi E4 Team,

I'm studying solution provided to deploy RCP application into desktop or WEB context. Today I have founded 3 solutions :

*
SWT for dojo : I have just seen source of this project and I have seen that SWT Widget has native code whith dojo comments and there is GWT file, but that's all. I have not understand how SWT for dojo works. If it's possible I will happy to find more information about SWT for dojo. Is it dead project? Why do you use dojo? Is it plan to have another implementation like jQuery? With SWT for dojo how manage RCP application (Perspective, View...) Is it possible to use the same code of RCP applicationa and deploy it into dojo? Is it the goal of SWT for dojo?
*
Java2Script : demo are very impressive and concept of Java2Script is elegant but I find it's a litlle slow compare to RAP demo and project seems not very active? I don't know if RCP application can be deployed into JS?
*
RAP : RAP is very impressive and I think today RAP is the solution to deploy RCP into WEB . RAP plugin is very helpfull to build RAP application. Congratulation RAP Team!

Do you know another solutions about RCP 2 Web?

I don't understand the goal of E4 which whish provide WEB capaibility for RCP (if I have good understand). Why RAP is not included into E4? RAP use Ajax every time to execute the whole code into server although SWT for dojo seems compile Java (SWT) to _javascript_ (dojo) by using GWT compiler (is that correct?)?

RAP seems to be the solution to deploy RCP into WEB, but I'm afraid with choice of RAP :

* I suppose that (sorry if it's not that) RAP store SWT UI into session to manage listener and I'm afraid to have OutOfMemory with a lot of people connected.
* RAP execute AJax request very time because every code is executed into server side. I know it's very difficult to do that but if we could execute some basic cod  into _javascript_ and some complex code into server it shoud be very cool.

Thank a lot for your answer.

Regards Angelo





_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev


GIF image

GIF image


Back to the top