• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Allows Concurrent Request Documentation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Allows Concurrent Request Documentation


  • Subject: Re: Allows Concurrent Request Documentation
  • From: Jonathan Rochkind <email@hidden>
  • Date: Thu, 8 Apr 2004 16:29:39 -0500

I don't know if there's any documentation anywhere, but basically you've just got to make sure all your code is thread safe (which it should have been already, but now it's even more important).

Since access to a given session can still only be given to one request at a time, you really only need to worry about things "above" the level of session. Basically, anything stored in a variable in Application, or in a static variable in some class. You've got to make sure access to all that stuff is thread-save, use 'synchronized' keyword to ensure thread safe access to variables, etc.

I just did this, and it worked fine for me, I didn't have any problems. I just made sure to synchronize access to static variables and iVars in Application.

--Jonathan

At 4:55 PM -0400 4/8/04, Jacky Gagnon wrote:
Hi,

Where I can find documentation about allowing concurrent request handling in WOApplication?

I'm not sure what to change in my code when I put this option to true.

Thanks!


Jacky :-)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Allows Concurrent Request Documentation
      • From: Jacky Gagnon <email@hidden>
References: 
 >Allows Concurrent Request Documentation (From: Jacky Gagnon <email@hidden>)

  • Prev by Date: Re: Cold Fusion to Webobjects tools
  • Next by Date: RE: Allows Concurrent Request Documentation
  • Previous by thread: Allows Concurrent Request Documentation
  • Next by thread: Re: Allows Concurrent Request Documentation
  • Index(es):
    • Date
    • Thread