Hi Jacek,
Our application is a full fledged fat Swing client that talks to a JBoss 4 appserver. It has an old school facade that calls remote EJB's, which in turn use andcrafted DAO's to access the database. Very standard, nothing fancy, no uber leet frameworks. It's not even webbased, also a very complex datamodel, so I don't see an auto-generated admin interface happening for our application. The idea is nice though. I remember some Oracle framework doing sort of the same a few years ago...
I use SwingJavaBuilder mostly to create a Java GUI on the fly from data in my Drupal CMS. Our client application uses XML-RPC to talk to our webserver (LAMP + Drupal) to get data, like latest forumposts, calendar, what's new etc. The returned response is an XML-RPC message that contains a YAML formatted String that I feed directly into SwingJavaBuilder. Since setting text is a b*tch in YAML, I send all the captions separately in the XML-RPC response. The wonderful public void buildEnded() method enables me to iterate recursively over the generated panel, and if it's a JTextComponent I take the name and dig into a Map of Strings to set the text. That's how I avoid the colon, quotes, newlines, whitespace and other freaky YAML issues.
Cheers, and keep up the good work!
Merry Christmas and a Happy New Year to you and your family!
WarnerJan
> Date: Thu, 23 Dec 2010 11:14:14 -0800
> Subject: Poll: How does your Swing desktop app get its data?
> From:
jac...@gmail.com> To:
javabu...@googlegroups.com