wood burning stoves 2.0*
The moose likes Flex and the fly likes A query with respect to creation of the  shared Objects. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "A query with respect to creation of the  shared Objects." Watch "A query with respect to creation of the  shared Objects." New topic
Author

A query with respect to creation of the shared Objects.

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I am having a query with respect to creation of the shared Objects.

I have seen a example where the Author is creatining Shared Object as shown
below :


and there is nothing related to the word "myTasks" anywhere in the Application .

Can anybody please let me know what is this word "myTasks" mean here ??

Please share your views on this .
Thanks in advance .


Save India From Corruption - Anna Hazare.
Hongli Li
Ranch Hand

Joined: Oct 29, 2006
Posts: 124
just a guess, the word "myTasks" is served as a key to retrieve the shared object, and the object have multi-locals support. So if the user's locale is Chinese,then the code will return a Chinese version of the shared Object, if it's Japanese, then Japanese version of Shared Object will be returned. how to implement this sharedObject, in flex world it's mostly to be a singleton. cairngorm uses singleton a lot you can check that out.


Do you know why this cup is useful? Because it is empty.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A query with respect to creation of the shared Objects.
 
Similar Threads
About StackOverFlow problem
Query when Using EHCache mechanism
Log4j tracking
performance using SingleThreadModel
Why Mock Approach Testing Taken over traditional Junit Testing