Changes for page WebObjects with Scala
Last modified by Ravi Mendis on 2011/05/10 02:10
From version 490.1
edited by Ravi Mendis
on 2010/12/24 00:08
on 2010/12/24 00:08
Change comment:
There is no comment for this version
To version 493.1
edited by Ravi Mendis
on 2010/12/24 00:25
on 2010/12/24 00:25
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,6 +1,6 @@ 1 1 === What is Scala? === 2 2 3 -[[Scala>>http://en.wikipedia.org/wiki/Scala_(programming_language)]] is a modern, multi-paradigm JVM language that is most often compared to [[Groovy>>http://en.wikipedia.org/wiki/Groovy_(programming_language)]], [[Clojure>>http://en.wikipedia.org/wiki/Clojure]] or [[Erlang>>http://en.wikipedia.org/wiki/Erlang_(programming_language)]]. Its [[functional language>>http://en.wikipedia.org/wiki/Functional_programming]] foundations and built-in Actors library makes it especially attractive for concurrent computing. In this day and age of multi-core processors concurrent computing can not be ignored. 3 +[[Scala>>http://en.wikipedia.org/wiki/Scala_(programming_language)]] is a modern, multi-paradigm JVM language that is most often compared to [[Groovy>>http://en.wikipedia.org/wiki/Groovy_(programming_language)]], [[Clojure>>http://en.wikipedia.org/wiki/Clojure]] or [[Erlang>>http://en.wikipedia.org/wiki/Erlang_(programming_language)]]. Its [[functional language>>http://en.wikipedia.org/wiki/Functional_programming]] foundations and built-in Actors library makes it especially attractive for concurrent computing. Scala is an abbreviation for "scalable" hinting at its design goals. In this day and age of multi-core processors concurrent computing can not be ignored. 4 4 5 5 Many of Scala's features have been designed with concurrency in mind, some of which may not be unfamiliar to Objective-C or WebObjects developers. Here's a summary: 6 6 ... ... @@ -31,7 +31,7 @@ 31 31 32 32 ===== Caveats ===== 33 33 34 - Tool support is a weak point. If your Application class is in Scala then you will have to create an Eclipse launch configuration manually. Also the [[Scala plugin>>http://www.scala-ide.org]]is ratherslow and still verybuggy.34 +Legacy tool support is often cited as a weak point. If your Application class is in Scala then you will have to create an Eclipse launch configuration manually. Also the [[Scala plugin>>http://www.scala-ide.org]] can be slow at times and sometimes buggy. 35 35 36 36 = WebObjects In Scala = 37 37 ... ... @@ -223,8 +223,12 @@ 223 223 1. [[Install the Scala eclipse IDE>>http://www.scala-ide.org/]] 224 224 1. Right-click on Application.java and run as a WOApplication (as usual). 225 225 226 +{{note}} 227 + 226 226 Application can be made into a Scala class as well, but then you will have to create a launcher in Eclipse manually. 227 227 230 +{{/note}} 231 + 228 228 == EO Templates == 229 229 230 230 When you create your ##.eogen## file, be sure to make the following changes in the EOGenerator Editor: