I Want to Break Free
So long GridBagLayout, hello XML
Ethan Nicholas picked up a lot of attention last week when he blogged about Style Swing components using CSS. In that blog, he talked about the value of separating controls from presentation, and why he chose CSS as a styling syntax for the JAXX Framework.
JAXX Framework?, you ask, q'est-ce que c'est?
Ethan returns with the answer in today's
Introducing JAXX: A New Way to Swing: JAXX is a free, open source XML user interface language for Java. Instead of writing .java files representing Swing components, you instead write XML-based .jaxx files. Just like .java files, .jaxx files compile into ordinary Java classes.
Now, stop me if you've heard this before... and if you visit the site regularly, you'll remember we covered another XML-to-Swing library last month. But JAXX offers some really interesting ideas of setting up event-wiring and providing automatic data binding, which could save you the hassle of writing dozens of listener classes.
And, to go back where we started in Ethan's blog from last week, you can re-skin your application by playing with the CSS. It looks like a very interesting project -- check it out and let us know what you think.
In Projects and
a JXTA mailing list message announces the release of JXTA Java SE 2.3.7 "Bisi Bele Baath". This release, the first to require Java 5.0, addresses a number of configuration issues, eliminating a long-obsolete Config class and improving handling of the home directory. Prebuilt binaries are available on the JXTA download page.
The latest NetBeans IDE 5.0 release is now available in Simplified Chinese and Japanese. The NetBeans news page adds: "Did you know that there is work currently under way in other languages? If you want to get involved or just take a look at what is taking place visit the translated files home page."
In today's Forums,
ss141213 lays down the law for GlassFish in
Re: Dependency injection of datasource in servlet is not working:
"There is something wrong here. Adding version="2.5" to web.xml must not make a difference. You should be able to use dependency injection in your servlet even if your web.xml contains version="2.4". This is a bug in the container. The version attribute in web.xml is not the version of the Java EE(or J2EE) spec the application is written against. It is just the schema version of the web.xml. I have just filed a P2 to track this issue."
tuxtlequino needs help
Running a jar file without the -Djava.library.path instruction:
"Ok, my application is running, but not as I would like it to run. I still need to use the -Djava.library.path instruction or I get the error: java.lang.UnsatisfiedLinkError: no jdic in java.library.path . I want to know if it is possible to run my jar without that instruction. It would make it much easier to run. The jdic has it own folder (/org/jdesktop/jdic/) inside the jar. I have tried a lot of things, but nothing seems to work. I want to bo able to run everything from a single jar."
In Also in
a new Artima discussion is taking a look at the views expressed in a Java Futures Panel at TSS Symposium. "Last week's ServerSide Java Symposium concluded with a panel about the futures of Java that included half a dozen Java thought leaders. The discussion focused on what Java can learn from scripting frameworks, such as Rails, where open-source is leading Java, and why open-source is not free." eWeek also covered the session in the article Panel: Java Will Endure.
Garbage collection is nearly everyone's favorite feature of the Java platform; it simplifies development and eliminates entire categories of potential code errors. But while garbage collection generally allows you to ignore resource management, sometimes you have to do some housekeeping on your own. In Good housekeeping practices, Brian Goetz discusses the limitations of garbage collection and identifies situations when you have to do your own housecleaning.
Jacob Hookom talks up the Facelets Milestone Release in today's Weblogs:
"Facelets recently revised its compiler to create a view layer that works with JavaServer Faces in it's most true form. It's the most practical way of delivering rich, component-based web applications with the ease of Model 1 development."
Romain Guy announces the availability of
A lot of free articles:
"If you can read French and like programming, you should enjoy what I have to announce."
Testing some FrameWorks and applications on Glassfish build 40+ part III, Masoud Kalali writes:
"This is part III of this series, in which I am trying to deploy at least a sample application on GlassFish. I used most of the frameworks or applications that I am testing in my previous jobs, maybe their older versions. In this part, I will test OSWorkflow from OpenSymphony"
In today's java.net
News Headlines :
Registered users can submit news items for the
href="http://today.java.net/today/news/">java.net News Page using our
form. All submissions go through an editorial review before being
posted to the site. You can also subscribe to the href="http://today.java.net/pub/q/news_rss?x-ver=1.0">java.net News RSS
Current and upcoming Java
- April 7-9, 2006 - Greater Carolina Software Symposium 2006
- April 11-12, 2006 - Sun Tech Days - Sao Paulo
- April 20-21, 2006 - Sun Tech Days - Moscow
- April 21-23, 2006 - Western Pennsylvania Software Symposium 2006
- April 24-27, 2006 - MySQL Users Conference 2006
- April 25-28, 2006 - Enterprise Java Architecture Workshop Toronto
- April 28-30, 2006 - Northern Virginia Software Symposium
- May 3-4, 2006 - Sun Tech Days - Johannesburg
- May 7-9, 2006 - Rocky Mountain Software Symposium: Spring Edition
- May 8-10, 2006 - Eclipse Forum Europe 2006
- May 8-12, 2006 - Enterprise Architektur Konferenz
- May 8-12, 2006 - JAX 2006 - Konferenz fÃ¼r Java, XML, Web Services
- May 10-12, 2006 - The Ajax Experience 2006
- May 16-19, 2006 - JavaOne 2006
- May 19-21, 2006 - Central Ohio Software Symposium
Registered users can submit event listings for the
href="http://www.java.net/events">java.net Events Page using our
href="http://today.java.net/cs/user/create/e">events submission form.
All submissions go through an editorial review before being posted to the
Archives and Subscriptions: This blog is delivered weekdays as
Today RSS feed. Also, once this page is no longer featured as the
front page of java.net it will be
archived along with other past issues in the href="http://today.java.net/today/archive/">java.net Archive.
So long GridBagLayout, hello XML