Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09:38 Go to next message
vineel Missing name is currently offline vineel Missing nameFriend
Messages: 12
Registered: April 2011
Location: Pune,India
Junior Member

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 09:40 Go to previous messageGo to next message
vineel Missing name is currently offline vineel Missing nameFriend
Messages: 12
Registered: April 2011
Location: Pune,India
Junior Member
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 10:22 Go to previous message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
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: Wed Apr 24 16:25:37 GMT 2024

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

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

Back to the top