Re: [flexcoders] Lazy Initialization Exceptions

2006-05-14 Thread Richard Rodseth
I'm curious to see how others respond, but in the web app world I think this is one thing that leads to patterns like DTO and Remote Facade. It may seem like unfortunate duplication of effort, but you can still have rich and lazily-loaded server-side domain models hidden behind business facades

Re: [flexcoders] Lazy Initialization Exceptions

2006-05-14 Thread jeremy lu
I have this problem a long time ago, it ends up I'm manually handling lazy-initialization on the flex2 side, retrieve properties needed just in time. this is very much like a Hibernate-in-Flex (lol) but did work for me (in the name of performance and efficiency.) Jeremy.On 5/14/06, Richard

[flexcoders] Lazy Initialization Exceptions

2006-05-13 Thread busitech
We use Flex with a Java back end, and an O/R framework. Our Java classes naturally contain properties which are relationships to other classes - either one to many or many to one. Due to the fact that these relationships are so intertwined, many given objects end up referencing a large