Wiki source code of WebObjects with Scala
Version 284.1 by Ravi Mendis on 2009/09/15 19:18
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | === What is Scala? === | ||
| 2 | |||
| 3 | Scala is a modern language not unlike Groovy. | ||
| 4 | It is said to be more powerful (and faster) than Groovy or Rails which has been the reason for its adoption at sites like Twitter. | ||
| 5 | |||
| 6 | === Why Use Scala? === | ||
| 7 | |||
| 8 | In a Web 2.0, building concurrent WebObjects applications is a must. | ||
| 9 | Developing and maintaining a concurrent or multi-threaded WebObjects application can be challenging. | ||
| 10 | |||
| 11 | Scala offers concurrency built into the language. | ||
| 12 | So it may offer new solutions to WO developers... | ||
| 13 | |||
| 14 | === Can WebObjects be Programmed With Scala? === | ||
| 15 | |||
| 16 | Yes. | ||
| 17 | Scala compiles to java bytecode. Hence it can be used easily with WebObjects. | ||
| 18 | |||
| 19 | = How to Develop WebObjects With Scala = | ||
| 20 | |||
| 21 | 1. [[Install the Scala eclipse IDE>>http://www.scala-lang.org/node/94]] | ||
| 22 | |||
| 23 | {{note title="Note"}} | ||
| 24 | |||
| 25 | This is for Eclipse/WOLips developers | ||
| 26 | |||
| 27 | {{/note}} |