On 2009-10-01 04.00, Krzysztof Białek wrote:
Hi,
I wrote three posts about Qi4j dedicated for absolute beginners.
You can find them at http://javasnippet.blogspot.com/search/label/qi4j
Feedback is kindly welcome.

Looks good! The main simplification that can be made is that you don't need the @This injection for state anymore. I changed so that the abstract methods in the mixin are routed to the Composite. So, just call the state methods as you would do in any abstract class that declares "extra" methods.

One problem with short examples like this is that it's hard to see the bigger picture and the benefits. It may seem like a lot of work just to do something very simple, and it's true: if this was all you did then Qi4j would be overkill. So, trying to find good examples is important as well. It's tricky.

/Rickard

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

Reply via email to