Re: Scala and WebObjects
Re: Scala and WebObjects
- Subject: Re: Scala and WebObjects
- From: Anjo Krank <email@hidden>
- Date: Thu, 11 Nov 2010 10:33:01 +0100
> Anjo should change his surname to Anjo Frank.
You should talk. At least I have one :P
To be clear: one of the selling points of Roo as no lock-in. You can use any number of JPA providers, you get code generated which you can customize pretty well via aspect-j (a part of which I would like to see in EO generator so one remove the weird _Foo classes) and you get this without any runtime jars at all.
So it's not D2W, but it's probably good enough to be workable. And given a certain company's abysmal track record in supporting enterprise software, it *might* be good enough for some to be actually considered as an viable alternative for WO/EOF.
Cheers, Anjo
Am 11.11.2010 um 10:21 schrieb Karl:
> Anjo should change his surname to Anjo Frank.
>
> We really appreciate (this is true Anjo) his honesty.
>
> Karl
>
> On 2010-11-11, at 12:15 PM, Anjo Krank wrote:
>
>> And the ORM can't cache relationships and doesn't have an EC? Great...
>>
>> I was the google developer day the other day and they presented SpringRoo. Most of the people there thought it was the coolest thing things sliced bread... little do they know.
>>
>> Cheers, Anjo
>>
>>
>> Am 11.11.2010 um 09:44 schrieb Marius Soutier:
>>
>>> Scala is not only for concurrency, it's simply a better language than Java (IMHO). I'm still not 100% convinced of Actors, and java.util.concurrent is also very good.
>>>
>>> Ok now I have to ask it - if you don't use EOF, why use WebObjects at all? Does D2W work seamlessly with Squeryl? Do you have an example project for that?
>>>
>>> - Marius
>>>
>>> On 10.11.2010, at 23:41, Ravi Mendis wrote:
>>>
>>>> Hi Marius,
>>>>
>>>> As mentioned in the wiki, i don't see much advantage in just using Scala as a replacement for Java (in WebObjects).
>>>> At wowodc 10 i presented the case for Scala in concurrent WO applications.
>>>>
>>>> Now i've another suggestion :)
>>>>
>>>> One of the benefits of Scala is being able to use the new breed of SQL-like DSL languages for data access. E.g: Squeryl.
>>>> (It's by no means the only one out there).
>>>>
>>>> I've just added a set of EO templates that can help migrate your EO model -> Squeryl.
>>>> See: http://wiki.objectstyle.org/confluence/display/WO/WebObjects+and+Squeryl
>>>>
>>>> FYI: the templates aren't quite finished yet: i've only implemented features i'm using for my next project...
>>>>
>>>> Thanks,
>>>> Ravi
>>>>
>>>> On 11/11/2010, at 7:09 AM, Marius Soutier wrote:
>>>>
>>>>> I've spent the day with Scala and D2W, after increasing Eclipse's memory to 1 GB it worked ok. I've made a small adjustment to your EO templates so the statics are defined in a trait rather than an object, e.g.
>>>>>
>>>>> trait EntityNameStatics {
>>>>> val ENTITY_NAME = "EntityName"
>>>>>
>>>>> object Keys {
>>>>> // Attributes
>>>>> // Relationships
>>>>> }
>>>>> }
>>>>>
>>>>> Now the companion objects can both inherit the statics from the trait, like this:
>>>>>
>>>>> object base.EntityName extends EntityNameStatics
>>>>>
>>>>> object EntityName extends EntityNameStatics
>>>>>
>>>>>
>>>>>
>>>>> On 10.11.2010, at 12:14, Ravi Mendis wrote:
>>>>>
>>>>>> The scala ide for Eclipse 3.5 is much improved. Yes, it still might be a little slow, but it's tolerable...if only to be able to use the wonderful Scala tools and libraries that have started to emerge. E.g: Squeryl, ScalaTest, Specs, etc.
>>>>>>
>>>>>> You'll have to ask Pascal about the WOWODC 10 screencasts...
>>>>>>
>>>>>> On Nov 10, 2010, at 7:25 PM, Marius Soutier wrote:
>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> I've been eagerly following your progress with Scala and WebObjects. I'd really love to move to Scala in my company, the sooner the better. However my biggest concern is the Eclipse plug-in, it's so slow and buggy (on a Mac at least). Do you have any suggestions for that?
>>>>>>>
>>>>>>> Do you have an idea when your screencast will be released?
>>>>>>>
>>>>>>>
>>>>>>> Regards,
>>>>>>> - Marius
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>> _______________________________________________
>> 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
>
_______________________________________________
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