Changes for page WebObjects with Scala

Last modified by Ravi Mendis on 2011/05/10 02:10

From version 353.1
edited by Ravi Mendis
on 2009/10/13 21:35
Change comment: There is no comment for this version
To version 352.1
edited by Ravi Mendis
on 2009/10/13 02:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -153,7 +153,7 @@
153 153  
154 154  {{/code}}
155 155  
156 -== How to Use Scala Collections with EOF ==
156 +== How to Use Scala Collections with WebObjects ==
157 157  
158 158  One of the benefits of Scala is its very powerful, concurrency-ready collection classes - primarily ##List##, ##Map##, ##Seq## and ##Set##.
159 159  Employing these instead of ##NSArray## and ##NSDictionary## in WebObjects/EOF may be challenging.
... ... @@ -184,18 +184,16 @@
184 184  
185 185  == WO Scala Example ==
186 186  
187 -The following example is an almost 100% Scala WO app. In reality it is a mixed Java/Scala app:
187 +The following example is a mixed Java/Scala version of the WO Movies D2W app.
188 188  All the EO logic and WO components are in Scala.
189 189  Only the Application class is Java.
190 190  
191 -It is based on the D2W Movies example.
192 -
193 193  {{attachments patterns=".*zip"}}{{/attachments}}
194 194  
195 195  === Setup ===
196 196  
197 197  1. [[Install the Scala eclipse IDE>>http://www.scala-lang.org/node/94]]
198 -1. Install and start the OpenBase OBMovies database.
196 +1. Install and run the OpenBase OBMovies database.
199 199  1. Right-click on Application.java and run as a WOApplication (as usual).
200 200  
201 201  ==== EO Templates ====
... ... @@ -204,6 +204,5 @@
204 204  
205 205  When you create your ##.eogen## file, be sure to make the following changes in the EOGenerator Editor:
206 206  
207 -1. Point to the local .eotemplate files for ##Entity## and ##//Entity//##
208 208  1. Change the File Names Extension to "scala"
209 209  1. Uncheck Java under Options