Scala and Java Real-Time System [closed]
Asked Answered
I

2

11

Just wondering if anybody has run Scala app or web-app on Java Real-Time system?

I assume because scala is bytecode compatible with regular JVM, then it should not take much effort to run it on a Real Time JVM such as Sun Java Real-Time System ?

Edit: As per Sun Java Realtime System on VirtualMachine / cloud, I managed to run Scala's Lift framework using Sun Java Realtime system on SuseLinuxEnterprise Realtime Extension on top of VMWare Workstation 6.5

The web-app will not be behaving as a real-time (as it runs on VMWare), but it's a start.

Inaction answered 31/3, 2010 at 17:18 Comment(2)
Hot Potato, the social networking site, runs on Scala. I just went to a meetup on their architecture. Looks like there is a video stream of the event here.Glenoid
I believe the OP is asking about this: java.sun.com/javase/technologies/realtime/index.jspJaques
J
4

Per this sun.com FAQ entry, all J2SE applications are supposedly compatible with the Java RTS. The important part there is where it says that all RTSJ implementations must pass the Java TCK to be considered compatible.

Jaques answered 6/4, 2010 at 1:9 Comment(2)
So that means I have to test Scala's Lift framework against Java TCK. Or have anyone done this I wonder.Inaction
No, the above means that Sun have tested their RTSJ runtime against the normal Java TCK and have certified all of this stuff as compatible. All you have to do is drop your compiled Scala code (together with scala-library.jar, Lift, and whatever else it is that you use) into a J2EE container running under an RTSJ runtime. Then you test your app.Jaques
R
3

Scala runs on JamaicaVM, a clean room implementation of the Java runtime environment with a static compiler and a fully deterministic garbage collector.

Rambouillet answered 3/6, 2011 at 12:34 Comment(1)
Could you please explain "clean room implementation" in detail?Claudioclaudius

© 2022 - 2024 — McMap. All rights reserved.