On Tue, Feb 2, 2010 at 12:35 AM, Hendy Irawan <[email protected]> wrote:
> 1. The code to create an object ("composite instance") seem to be complex.
> How do we create Qi4j-powered objects from inside objects? Should we tie to
> Qi4j API?
Factories?
> 2. Can Qi4j object lifecycle be managed by Spring/Guice/etc. ?
I don't think so. The current Spring-Qi4j integretion is about service
publishing and consumption across the 'world boundaries'.
> 3. Will Qi4J app work well on GAE?
Yes and No. Search this list for "Google App Engine". I posted some
observations.
> 4. With regard to DCI, what are the pros and cons of using Qi4j for it
> versus compile-time AspectJ weaving? I'm also just watched DCI presentation,
> but I think for (perhaps) 80% of time AspectJ is sufficient with only 20%
> work involved in setting up Qi4j / overhead. With compile-time weaving,
> AspectJ has zero runtime overhead, and with AspectJ-integrated IDE it also
> has low development effort.
AspectJ and other AOP frameworks can be great but misses the point to
some degree. First of all the "What is the base object?"-question,
which we have concluded is "nothing". But more importantly, it is
nearly impossible to do Qi4j-like composition, since you would fully
depend on naming conventions for the weaving, which are extremely
fragile when refactoring.
Cheers
--
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java
I live here; http://tinyurl.com/2qq9er
I work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev