|
Jet is one of the cornerstone of Avalpa value proposition; it's a middleware for interactive digital set top box.
It's based on phoneme, the java virtual machine that Sun Microsystems released in december 2006 as GPL licensed software. Jet is actually using the PowerPc porting of the phoneme vm. Anyway, we recently started to evaluate, both technically and economically, the porting of Jet to a high definition System on Chip (SOC) like the StMicroelectronic STi710x. (thankx to them for a great linux support and SDK) As a successful first proof of concept, as of today 29.7.2009, we are releasing the missing files to have latest phoneme svn compile and execute succesfully on the SH4 cpu.
Remeber, this is of course a beta version software and should be used "as is" for sampling purposes only. Currently the build is successfully tested against foundation tests classes, see here the printed results: root@boxhd# bin/cvm -cp testclasses.zip Test *Number of command line arguments: 0 Starting test1 ...recurse ... ...recurse ...link ...link ...link Starting test1 again ...recurse ... ...recurse ...link ...link ...link test6: Caught inner java.lang.NullPointerException test6: Caught outer java.lang.NullPointerException Testing Array Copy *TestE exception thrown because "I'm feeling Testy" * threw java.lang.ExceptionInInitializerError * threw java.lang.NoClassDefFoundError: StaticE c1 = class [LTest; c2 = class [[LTest; c3 = class [LC; c4 = class [[LC; c1.modifiers = 1041 c2.modifiers = 1041 c3.modifiers = 1040 c4.modifiers = 1040 *FloatMIN =1.4E-45 *FloatMAX =3.4028235E38 FloatMIN (the int bits) =1 FloatMAX (the int bits) =2139095039 java.lang.IllegalArgumentException: too many dimensions at java.lang.reflect.Array.multiNewArray(Native Method) at java.lang.reflect.Array.newInstance(Unknown Source) at Test.testDeepArrayConstruction(Unknown Source) at Test.main(Unknown Source) at sun.misc.CVM.runMain(Unknown Source) C [...[LTest; finally! Requesting GC with a latency request of 2 seconds (Turning GC tracing on) Sleeping 5 seconds, and waiting for GC's Woke up! Cancelling latency request ............. *CONGRATULATIONS: test Test completed with 411 tests passed and 0 failures *Output lines starting with a * should be checked for correctness *They can be compared to src/share/javavm/test/TestExpectedResult Here the results of the Caffeine Embedded 3.0 benchmark: root@boxhd# bin/cvm -cp embed.zip CaffeineMarkEmbeddedApp Sieve score = 210 (98) Loop score = 237 (2017) Logic score = 226 (0) String score = 1065 (708) Float score = 203 (185) Method score = 224 (166650) Overall score = 285 and also some more complex software (not so useful for interactive tv!) like rhino (a javascript interpreter for java) and jetty a java web server. root@boxhd# bin/cvm -cp js.jar org.mozilla.javascript.tools.shell.Main Rhino 1.6 release 5 2006 11 18 js> importPackage(java.util); js> print(new java.util.Date()); Sat Jan 01 05:10:54 GMT+01:00 2000 js> print(new Date()); Sat Jan 01 2000 05:11:25 GMT+0100 (GMT+01:00) js> quit();
root@boxhd# bin/cvm -cp lib/servlet-api-2.5-6.1.4.jar:lib/jetty-util-6.1.4.jar: lib/jetty-6.1.4.jar:examples/embedded/target/classes org.mortbay.jetty.example.M inimalServlets 2000-01-01 05:44:19.552::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2000-01-01 05:44:19.776::INFO: jetty-6.1.4 2000-01-01 05:44:19.162::INFO: Started SocketConnector@0.0.0.0:8080
lorenzo@nb-lpallara:~$ w3m -dump http://192.168.2.9:8080/ Hello SimpleServlet
we want to share our current results with others people from the community to test and improve together this effort... Pick up an account if you don't have already one and head on to the reserved area to download the tarball with some easy instruction inside. Beware, if you really want to test this stuff, you should have a friendly STB with a STi710x SOC inside and be really acquainted with: - the java latest SDK
- the STLinux SDK
- the phoneme buil process
Have fun and enjoy. If you want to give us feedback, success stories and have smart business proposal, write to
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
|