Re: Multicore Processors and WebObjects
Re: Multicore Processors and WebObjects
- Subject: Re: Multicore Processors and WebObjects
- From: Ravi Mendis <email@hidden>
- Date: Fri, 04 Jun 2010 09:51:50 +1000
Using concurrent request handling in WebObjects may appear as deceptively simple as turning on a property...
However, in a real project it'll be a little more involved than that - you do have to manage shared mutable data and locking/unlocking of EO editing contexts - to avoid deadlocks - the bane of the concurrent programmer!
In fact the WOWODC presentation on Building Concurrent applications with WebObjects and Scala will be a full treatise on the subject (even if you're not interested in Scala).
What won't be covered is: how to synchronize access to shared mutable data (aka static vars in Java) as this is something you'll get for free with Scala.
See: http://stackoverflow.com/questions/2120248/how-to-synchronize-a-static-variable-among-threads-running-different-instances-of
_______________________________________________
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