Should model locator as a singleton class? Can't we instantiate this class as like normal class?



Should model locator as a singleton class? Can't we instantiate this class as like normal class..

Answer / Amrendra Pandey

"Model Locator is often implemented as a Singleton to ensure that only one instance of the class exists across the entire application. While it's technically possible to create multiple instances, doing so would lead to inconsistent data and potentially other issues."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Adobe Flex Interview Questions

Explain if the oilpump movie clip instance in path _root.car.engine.oilpump.clamp uses the following line of actionscript, _parent.someaction;, which movie clipinstance is being referenced? : adobe flex action script

1 Answers  


If I purchase flex builder 2, am I eligible for an upgrade to flex builder 3?

1 Answers  


Explain the arguments of addeventlistener() method?

1 Answers  


How do I get flex to query my database? : adobe flex action script

1 Answers  


Explain about result handler and fault handler methods?

1 Answers  


Explain the difference between creating an effect and setting the target as opposed to adding an effectlistener? : adobe flex action script

1 Answers  


What is display container?

1 Answers  


How do we identify a component created in a repeater using flex? : adobe flex action script

1 Answers  


How many levels does flash mx support?

1 Answers  


Explain about resultevent and faultevent in remote object?

1 Answers  


How do we call javascript from flex actionscript? : adobe flex action script

1 Answers  


How to display the check box in data grid header?

1 Answers  


Categories