I have a lot of questions about scala. I did a bit of reading and searching on Google and SO'ing and did not find any reliable answers. I am not yet at the stage of experimentation / prototyping, so I thought that I could just ask my questions and get some expert knowledge so that everyone could share. Thanks in advance!
What is scala.exe used for? Can someone give a summary of what scala.exe does differently than java.exe? Is there any runtime magic in scala.exe other than providing an interpreter shell?
( UPDATE ): scala.exe. Scala comes with a simple script launcher package, scala.bat (or Scala on * nix). The Scala workbench is java.exe with the standard Scala library banks in CLASSPATH.)
Can I associate Scala code with an existing java program if I run the process using java.exe? If so, should my CLASSPATH change the link to the standard Scala library containers? Also, if I run with java.exe, are there any new javaagent parameters needed for reference in Scala code? Is there a way to include Scala code in banks in my existing web application .war file (or in WEB-INF / classes) and run it?
And vice versa, if scala.exe is required to execute scala + java code in my Java EE Java application server, can scala.exe take all my esoteric -XX parameters: InsertYourCrazySunPerfSwitchHere JVM?
Finally, does the new Scala code incorporate into the existing Spring Framework + JSF2 web application, for example, trying to insert a circular binding into a square hole? I see long lists of web frameworks developed for Scala that are available, but I wondered how smooth or inconvenient Scala will play with commodity tools like JSF2. Are these Scala-based web frameworks a by-product of non-Java developers who migrate to the Scala community and want to recreate their Scala jour framework? Or, is there something inward about how JSF2 is designed in such a way that when I became an expert at Scala, I would see that it was a messy mess trying to mix two and wasted my time?
source share