Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Java to Java script conversion (How java gets converted to Java script in RAP )
Java to Java script conversion [message #870931] Thu, 10 May 2012 05:38 Go to next message
Eclipse UserFriend

Hi All,

For Eclipse RAP applications, we can see that we write code in SWT Java , and it gets emitted in the form of Javascript on to the browser.

Can some one explain me, how this conversion happens?

I am very curious to know ?:


Re: Java to Java script conversion [message #870932 is a reply to message #870931] Thu, 10 May 2012 05:40 Go to previous messageGo to next message
Eclipse UserFriend
vineel Mising name wrote on Thu, 10 May 2012 15:08

Hi All,

For Eclipse RAP applications, we can see that we write code in SWT Java , and it gets emitted in the form of Javascript on to the browser.

Can some one explain me, how this conversion happens?

I am very curious to know ?:



Re: Java to Java script conversion [message #871524 is a reply to message #870931] Mon, 14 May 2012 06:22 Go to previous message
Eclipse UserFriend
Hi.

There is no conversion to JavaScript. There is a client written in
JavaScript that exchanges messages with the server which is running the
application in Java. JavaScript is only used to display the widgets.

We are working on a method to write SWT-like code in javascript that is
executed on the client, but its still experimental:
http://wiki.eclipse.org/RAP/ClientScripting

Greetings,
Tim

Am 10.05.2012 11:38, schrieb vineel Mising name:
>
> Hi All,
> For Eclipse RAP applications, we can see that we write code in SWT Java
> , and it gets emitted in the form of Javascript on to the browser.
> Can some one explain me, how this conversion happens?
> I am very curious to know ?:
>
>
>

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:DateTime Control Sizing Glitch using Chinese Locale
Next Topic:NullPointerException in SetPerspective
Goto Forum:
  


Current Time: Sat Jun 21 14:16:51 EDT 2025

Powered by FUDForum. Page generated in 0.03164 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top