• 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: synchronizesVariablesWithBindings()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: synchronizesVariablesWithBindings()


  • Subject: Re: synchronizesVariablesWithBindings()
  • From: Jesse Tayler <email@hidden>
  • Date: Tue, 21 Aug 2012 15:43:17 -0400

are you trying to inherit from a stateless component ?

it's true stateless have less overhead and for small things, they are great - but of curse, some components need to be synchronized by design.

so, it might be best to read up on the subjects relating to the differences between stateless and stateful.

perhaps others have something more like advice about it or transitioning toward more of it.




On Aug 21, 2012, at 2:19 PM, WebObjects TORAcom <email@hidden> wrote:

Hi List,

I am trying to implement best practices in our applications, we want to take control of component's  binding syncrhonization.

First of all I understand that we should override the synchronizesVariablesWithBindings function like this:


public boolean synchronizesVariablesWithBindings() {
return false;
}
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
References: 
 >synchronizesVariablesWithBindings() (From: WebObjects TORAcom <email@hidden>)

  • Prev by Date: Re: synchronizesVariablesWithBindings()
  • Next by Date: Re: synchronizesVariablesWithBindings()
  • Previous by thread: Re: synchronizesVariablesWithBindings()
  • Next by thread: Problem running my application
  • Index(es):
    • Date
    • Thread