On 2010-02-03 08.38, Hendy Irawan wrote:

Thank you Niclas and Rickard.

If I use Factory, doesn't this mean the factory class is still visible in
the client class?

Or we create app-specific factory classes which in turn calls Qi4J ?

The latter: create your own factory classes that calls Qi4j or some other mechanism.

For myself I don't bother and use UoW.newEntity directly in my code, but I'm not so picky with being tied to the Qi4j API.

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to