On 17/09/2009, at 3:24 PM, Ravi Mendis wrote:

I am thinking of using Scala with WebObjects...yes.

Typically deadlocks are more likely to be caused by your own code, rather than the underlying frameworks.
This assumes you're using Wonder/WO/EOF in a thread-safe manner.
i.e you are taking the necessary precautions for EOF (like turning off shared EOs, auto lock/unlocking of ECs, etc).

Broadly speaking, Scala is safer to use than Java for developing a concurrent request handling app because of its lack of static variables

I'm not sure why static variables would be necessarily anti- concurrent? It depends on the type of variable, no? e.g., a static string is immutable. A static nsformatter is not re-entrant... etc

and methods, use of separate mutable/immutable datatypes and collections, etc.

Using Ajax (i.e asynchronous communication) with WO is where the need for concurrent request handling and better thread-safety come in...

with regards,
--

Lachlan Deck

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to