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.

Community
  • 1
  • 1
Lydon Ch
  • 8,637
  • 20
  • 79
  • 132
  • [Hot Potato](http://hotpotato.com/), the social networking site, runs on Scala. I just went to a [meetup](http://www.meetup.com/NYC-Tech-Talks/calendar/12754545/) on their architecture. Looks like there is a video stream of the event [here](http://www.livestream.com/nytechtalks). – Marcus Leon Apr 06 '10 at 01:00
  • I believe the OP is asking about this: http://java.sun.com/javase/technologies/realtime/index.jsp – Max A. Apr 06 '10 at 01:06

2 Answers2

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.

Max A.
  • 4,842
  • 6
  • 29
  • 27
  • So that means I have to test Scala's Lift framework against Java TCK. Or have anyone done this I wonder. – Lydon Ch Apr 06 '10 at 02:11
  • 2
    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. – Max A. Apr 06 '10 at 11:32
3

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

eldarerathis
  • 35,455
  • 10
  • 90
  • 93
James Hunt
  • 31
  • 1