Yeah, the PetClinic was dropped quite a long while ago, when we
realized we were trying to bite over more than we could handle.

The StreamFlow team uses a Swing client, but I think they are not
having any Qi4j on the client side. Envisage and samples/rental also
contains Swing code, but it is not nearly as advanced as a full-blown
example app should be.

There is nothing that we know of that prevents you from using Qi4j
together with Swing. In fact, I am pretty sure that you can even
decorate up Swing classes as if they where Qi4j components . And since
Swing has interfaces for List and Tree models, it is very easy to use
those as Composite Type interfaces.

Yes, quite a lot has "moved on" since 0.6. It is now such a long time
ago, I can't even remember what changed between 0.6 and 1.x, but a
great deal I am sure. More importantly, we have learned more how to
write applications in Qi4j since then, so it may not serve as a
reasonable sample at all.


Cheers
Niclas

On Tue, Nov 20, 2012 at 6:08 AM,  <[email protected]> wrote:
> Hello,
>
> I appreciate this is mainly a dev mailing list, so I'll try to keep this
> short.
>
> I've come across qi4j via ddd and then dci. It's the first thing to get me
> this excited about programming for some time, so thanks!
>
> I'm developing a visual cyclic-graph-based modelling tool, and have
> decided to use it as an introduction to using qi4j. The tool will be a
> swing application, and searching around online the only swing-based sample
> code I could find was the petclinic program. I see this hasn't been
> updated for some time (I have v0.6), and is no longer part of the qi4j
> download. This has raised some doubts for me about its applicability as a
> basis for my own code.
>
> So, my question is: are there any pitfalls in that code I should be aware
> of? Has preferred idiom or architecture moved on a lot since then? Are
> there any newer/better examples of swing+qi4j applications?
>
> Any advice or pointers would be gratefully received.
>
> With kind regards,
> Gerard
>
>
> _______________________________________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/qi4j-dev



-- 
Niclas Hedhman, Software Developer
河南南路555弄15号1901室。
http://www.qi4j.org - New Energy for Java

I live here; http://tinyurl.com/3xugrbk
I work here; http://tinyurl.com/6a2pl4j
I relax here; http://tinyurl.com/2cgsug

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

Reply via email to