JaroslavTulach: /* Twitter Client Demo */ - 2015-09-02 06:50:12

Twitter Client Demo

←Older revision Revision as of 06:50, 2 September 2015
Line 2: Line 2:
== Twitter Client Demo ==
== Twitter Client Demo ==
 +
 +
''Update May 17, 2015:'' the [[Twitter]] demo has been resurrected by [[Toni]]: See https://dukescript.com/best/practices/2015/05/17/twitter-demo.html
''Update Jan 13, 2014:'' the [[Twitter]] demo has been removed, as it does not work since [[Twitter]] changed its internal protocol. But one can try for example the [http://xelfi.cz/JavaOneChess chess demo]:
''Update Jan 13, 2014:'' the [[Twitter]] demo has been removed, as it does not work since [[Twitter]] changed its internal protocol. But one can try for example the [http://xelfi.cz/JavaOneChess chess demo]:

JaroslavTulach: /* Twitter Client Demo */ - 2014-01-13 15:17:51

Twitter Client Demo

←Older revision Revision as of 15:17, 13 January 2014
Line 3: Line 3:
== Twitter Client Demo ==
== Twitter Client Demo ==
-
''Update Jan 13, 2014:'' - the [[Twitter]] demo has been removed, as it does not work since [[Twitter]] changed its internal protocol.
+
''Update Jan 13, 2014:'' the [[Twitter]] demo has been removed, as it does not work since [[Twitter]] changed its internal protocol. But one can try for example the [http://xelfi.cz/JavaOneChess chess demo]:
-
 
+
-
The aim of [[Bck2Brwsr]] is to bring [[Java]] back to browsers. To demonstrate that it is possible, there is an online [[Twitter]] client demo. Visit [http://xelfi.cz/twttr/ Twttr Client] to see [[Java]] running in your plugin-less (e.g. no need to hava [[Java]] installed) browser.
+
In case you are curious how the above has been achieved and you are willing to spend few more minutes with the project, here are steps to get the [[Java]] to your browser as well:
In case you are curious how the above has been achieved and you are willing to spend few more minutes with the project, here are steps to get the [[Java]] to your browser as well:
Line 11: Line 9:
<source lang="bash">
<source lang="bash">
$ hg clone https://hg.java.net/hg/html~demo
$ hg clone https://hg.java.net/hg/html~demo
-
$ cd html~demo/twitter/
+
$ cd html~demo/chess/
$ mvn install bck2brwsr:brwsr
$ mvn install bck2brwsr:brwsr
</source>
</source>

JaroslavTulach: /* Twitter Client Demo */ - 2014-01-13 15:16:23

Twitter Client Demo

←Older revision Revision as of 15:16, 13 January 2014
Line 2: Line 2:
== Twitter Client Demo ==
== Twitter Client Demo ==
 +
 +
''Update Jan 13, 2014:'' - the [[Twitter]] demo has been removed, as it does not work since [[Twitter]] changed its internal protocol.
The aim of [[Bck2Brwsr]] is to bring [[Java]] back to browsers. To demonstrate that it is possible, there is an online [[Twitter]] client demo. Visit [http://xelfi.cz/twttr/ Twttr Client] to see [[Java]] running in your plugin-less (e.g. no need to hava [[Java]] installed) browser.
The aim of [[Bck2Brwsr]] is to bring [[Java]] back to browsers. To demonstrate that it is possible, there is an online [[Twitter]] client demo. Visit [http://xelfi.cz/twttr/ Twttr Client] to see [[Java]] running in your plugin-less (e.g. no need to hava [[Java]] installed) browser.

JaroslavTulach: /* C'mon: That is not my Browser! */ - 2013-04-30 08:41:04

C'mon: That is not my Browser!

←Older revision Revision as of 08:41, 30 April 2013
Line 24: Line 24:
and you'll see the same application running in your default system browser.
and you'll see the same application running in your default system browser.
 +
 +
== Single [[API]] - Dual (or more) Deployment ==
 +
 +
How can the same code run in [[HotSpot]] as well as [[Bck2Brwsr]] [[VM]]s? Is the [[Bck2Brwsr]] [[VM]] so good? Does it really mimic the standard [[Java]] [[VM]] that closely?
 +
 +
Well, it does not. There are differences in [[Java]] to [[JavaScript]] calling conventions (see [[Bck2BrwsrMangling]]) as well as in the way one executes [[JavaScript]] bindings in [[JavaFX]]'s WebView and real browser. As such the compatibility between the two modes is achieved by having single [[ClientAPI]] and multiple its [[ProviderAPI|implementations]]. See [[JSON4Brwsr]] page for details.
 +
 +
[[Category:Bck2Brwsr]]

JaroslavTulach at 08:00, 30 April 2013 - 2013-04-30 08:00:50

←Older revision Revision as of 08:00, 30 April 2013
Line 14: Line 14:
If everything goes well you should see [[JavaFX]]'s '''WebView''' component (if you have [[JDK]]7 with [[JavaFX]]) showing tweets from famous tweeters (if your [[JDK]] knows how to pass through your [[HTTP]] proxy).
If everything goes well you should see [[JavaFX]]'s '''WebView''' component (if you have [[JDK]]7 with [[JavaFX]]) showing tweets from famous tweeters (if your [[JDK]] knows how to pass through your [[HTTP]] proxy).
 +
 +
== C'mon: That is not my Browser! ==
 +
 +
If you got that far, you may properly object that the above is far from bringing [[Java]] [[Bck2Brwsr]]. You'd be right! The above mode is called [[FXBrwsr]] (and it is useful as well, for example for debugging). However the real beauty (and major achievement of release [[Bck2Brwsr_0.7|0.7]] of the [[Bck2Brwsr]] project) is that the same code can easily be re-packaged and executed in the browser. Just type:
 +
 +
<source lang="bash">
 +
$ mvn -Pbck2brwsr install bck2brwsr:brwsr
 +
</source>
 +
 +
and you'll see the same application running in your default system browser.

JaroslavTulach at 07:54, 30 April 2013 - 2013-04-30 07:54:32

←Older revision Revision as of 07:54, 30 April 2013
Line 1: Line 1:
-
You can follow me at [https://twitter.com/JaroslavTulach @JaroslavTulach] or you can try [[Bck2Brwsr]]'s [http://xelfi.cz/twttr/ Twttr Client].
+
Follow [[User:JaroslavTulach|me]] at [https://twitter.com/JaroslavTulach @JaroslavTulach]. In case you are interested in [[Bck2Brwsr]] project, read on.
 +
 
 +
== Twitter Client Demo ==
 +
 
 +
The aim of [[Bck2Brwsr]] is to bring [[Java]] back to browsers. To demonstrate that it is possible, there is an online [[Twitter]] client demo. Visit [http://xelfi.cz/twttr/ Twttr Client] to see [[Java]] running in your plugin-less (e.g. no need to hava [[Java]] installed) browser.
 +
 
 +
In case you are curious how the above has been achieved and you are willing to spend few more minutes with the project, here are steps to get the [[Java]] to your browser as well:
 +
 
 +
<source lang="bash">
 +
$ hg clone https://hg.java.net/hg/html~demo
 +
$ cd html~demo/twitter/
 +
$ mvn install bck2brwsr:brwsr
 +
</source>
 +
 
 +
If everything goes well you should see [[JavaFX]]'s '''WebView''' component (if you have [[JDK]]7 with [[JavaFX]]) showing tweets from famous tweeters (if your [[JDK]] knows how to pass through your [[HTTP]] proxy).

JaroslavTulach: New page: You can follow me at [https://twitter.com/JaroslavTulach @JaroslavTulach] or you can try Bck2Brwsr's [http://xelfi.cz/twttr/ Twttr Client]. - 2013-04-10 13:07:23

New page: You can follow me at [https://twitter.com/JaroslavTulach @JaroslavTulach] or you can try Bck2Brwsr's [http://xelfi.cz/twttr/ Twttr Client].

New page

You can follow me at [https://twitter.com/JaroslavTulach @JaroslavTulach] or you can try [[Bck2Brwsr]]'s [http://xelfi.cz/twttr/ Twttr Client].