Re: Are you using scala + webobjects?
Re: Are you using scala + webobjects?
- Subject: Re: Are you using scala + webobjects?
- From: Ravi Mendis <email@hidden>
- Date: Thu, 25 Mar 2010 13:24:49 +1100
Hi Dominique,
Yes. I'm very busy (right now in fact!) deploying a concurrent WebObjects application that uses Scala.
I'm hoping to present this as a case study for the "Scala & WO" track at this year's WOWODC.
In the meantime, i'm keeping notes on the wiki:
http://wiki.objectstyle.org/confluence/display/WO/WebObjects+with+Scala
http://wiki.objectstyle.org/confluence/display/WO/Building+Concurrent+Applications+with+WebObjects+and+Scala
On 25/03/2010, at 1:24 AM, email@hidden wrote:
> Because you have suggested the use of Scala, I would like to ask you if you are using it in your WebObjects development ?
>
> I have started to use it, to investigate it and coded some Scala classes. It's nice, very expressive but it seems that the Eclipse plugin is not so good for the moment, the code completion is not working, the debug lacks some features and I have sometimes some problem to get my scala classes compiled in Eclipse: I have to make a change in the code (like adding a space character) in order to make it compiled. It's annoying. Have you had this problem ? What is your experience with Scala + WO ?
One notable caveat is AFAIK the Scala Eclipse IDE still doesn't officially support mixed Java + Scala projects.
(Importing Java libs or frameworks is fine. i.e you may factor out your Java code into frameworks)
If you do have mixed Java + Scala projects it works best if it's mostly one or the other - like ying yang :)
> Any code that could be useful to share like how to iterate easily on NSArray in scala ?
nsarray.objects.toList
(This works cos of Scala's implicit conversion between java Array and Scala Array)
Thanks,
Ravi
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden