PluotSorbet: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
m (MykMelez moved page J2me.js to PluotSorbet)
(change references from j2me.js to PluotSorbet)
Line 1: Line 1:
__NOTOC__
__NOTOC__
Welcome to the j2me.js project! j2me.js is a Java virtual machine and [http://en.wikipedia.org/wiki/Java_Platform,_Micro_Edition J2ME platform] written in JavaScript. The goal of j2me.js is to run [http://en.wikipedia.org/wiki/MIDlet MIDlets] in web apps without a native plugin.
Welcome to the PluotSorbet project!


We keep j2me.js simple and small by leveraging existing Java code as much as possible, including the [http://en.wikipedia.org/wiki/PhoneME phoneME reference implementation], and implement as little as possible in JavaScript.
PluotSorbet implements a Java-compatible virtual machine and [http://en.wikipedia.org/wiki/Java_Platform,_Micro_Edition J2ME]-compatible platform written in JavaScript<sup>[[#JavaScript|[1]]]</sup>. The goal of PluotSorbet is to run [http://en.wikipedia.org/wiki/MIDlet MIDlets] in web apps without a native plugin.


You can run j2me.js in your [https://github.com/mozilla/j2me.js/blob/master/README.md#desktop desktop browser] (we develop with Firefox and Chrome), in the SpiderMonkey command-line tool, [https://github.com/mozilla/j2me.js/blob/master/README.md#firefoxos-device-or-emulator in the Firefox OS Simulator, or on a Firefox OS device].
We keep PluotSorbet simple and small by leveraging existing Java code as much as possible, including the [http://en.wikipedia.org/wiki/PhoneME phoneME reference implementation], and implement as little as possible in JavaScript.
 
You can run PluotSorbet in your [https://github.com/mozilla/PluotSorbet/blob/master/README.md#desktop desktop browser] (we develop with Firefox and Chrome), in the SpiderMonkey command-line tool, [https://github.com/mozilla/PluotSorbet/blob/master/README.md#firefoxos-device-or-emulator in the Firefox OS Simulator, or on a Firefox OS device].


== Source Code ==
== Source Code ==


You can find all the source code for j2me.js, plus detailed instructions on how to build and run it, at:
You can find all the source code for PluotSorbet, plus detailed instructions on how to build and run it, at:


https://github.com/mozilla/j2me.js
https://github.com/mozilla/PluotSorbet


== Bug Reporting ==
== Bug Reporting ==


Please report bugs at [https://github.com/mozilla/j2me.js/issues/new our GitHub repository].
Please report bugs at [https://github.com/mozilla/PluotSorbet/issues/new our GitHub repository].


== Automated Testing ==
== Automated Testing ==


We run [https://github.com/mozilla/j2me.js/blob/master/README.md#tests automated tests based on CasperJS and SlimerJS] on every commit to our GitHub repository, [https://travis-ci.org/mozilla/j2me.js thanks to Travis]. You can run them locally with `make test`.
We run [https://github.com/mozilla/PluotSorbet/blob/master/README.md#tests automated tests based on CasperJS and SlimerJS] on every commit to our GitHub repository, [https://travis-ci.org/mozilla/PluotSorbet thanks to Travis]. You can run them locally with `make test`.


== Performance Profiling ==
== Performance Profiling ==


We're using [https://github.com/mozilla/j2me.js/blob/master/README.md#profiling several different tools] to assess and improve the performance of j2me.js, including both JavaScript and Java profiling. See the GitHub README for more details.
We're using [https://github.com/mozilla/PluotSorbet/blob/master/README.md#profiling several different tools] to assess and improve the performance of PluotSorbet, including both JavaScript and Java profiling. See the GitHub README for more details.


== Compilation ==
== Compilation ==


We've created an [https://github.com/mozilla/j2me.js/blob/master/README.md#compiling-with-aot-compiler ahead-of-time (AOT) compiler] to compile some Java code at build time.
We've created an [https://github.com/mozilla/PluotSorbet/blob/master/README.md#compiling-with-aot-compiler ahead-of-time (AOT) compiler] to compile some Java code at build time.
 
== Contact Us ==


* the [http://mibbit.com/?channel=%23j2me.js&server=irc.mozilla.org #j2me.js] IRC channel on [http://irc.mozilla.org/ Mozilla's IRC network].
<hr>
''<small>{{anchor|JavaScript}}JavaScript is a trademark or registered trademark of Sun Microsystems, Inc. in the U.S. and other countries, used under license.</small>''

Revision as of 18:54, 17 June 2015

Welcome to the PluotSorbet project!

PluotSorbet implements a Java-compatible virtual machine and J2ME-compatible platform written in JavaScript[1]. The goal of PluotSorbet is to run MIDlets in web apps without a native plugin.

We keep PluotSorbet simple and small by leveraging existing Java code as much as possible, including the phoneME reference implementation, and implement as little as possible in JavaScript.

You can run PluotSorbet in your desktop browser (we develop with Firefox and Chrome), in the SpiderMonkey command-line tool, in the Firefox OS Simulator, or on a Firefox OS device.

Source Code

You can find all the source code for PluotSorbet, plus detailed instructions on how to build and run it, at:

https://github.com/mozilla/PluotSorbet

Bug Reporting

Please report bugs at our GitHub repository.

Automated Testing

We run automated tests based on CasperJS and SlimerJS on every commit to our GitHub repository, thanks to Travis. You can run them locally with `make test`.

Performance Profiling

We're using several different tools to assess and improve the performance of PluotSorbet, including both JavaScript and Java profiling. See the GitHub README for more details.

Compilation

We've created an ahead-of-time (AOT) compiler to compile some Java code at build time.


JavaScript is a trademark or registered trademark of Sun Microsystems, Inc. in the U.S. and other countries, used under license.