views:

323

answers:

2

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 http://stackoverflow.com/questions/2564575/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.

A: 

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.

Marcus
I believe the OP is asking about this: http://java.sun.com/javase/technologies/realtime/index.jsp
Max A.
+1  A: 

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.
So that means I have to test Scala's Lift framework against Java TCK. Or have anyone done this I wonder.
portoalet
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.