Speed up XML programming with JAXB

Continue Reading February 24th, 2009 Jorge Balderas

JAXB (Java Architecture for XML Binding) is a very powerful and comprehensive XML binding framework for Java which can significantly reduce XML programming and testing time by abstracting cumbersome details specific to XML schemas. This post goes through a simple sample for generating a Java class from an XML schema and using JAXB for marshalling and unmarshalling.

Continue Reading 6 comments

So You Think You Can Bind? – A Flex Puzzler

Continue Reading February 19th, 2009 Brian Gray

In my opinion, binding is one of the trickiest concepts for a Java developer to really understand when first learning Flex. It’s not because it is overly complex, but because binding is similar enough to other concepts in JSP, Swing, etc. that we begin to form mental models without fully understanding the differences. But those subtle differences are important for the last 20% of correctness in a lot of code.

To illustrate, I cooked up a Java Puzzler-esque Binding puzzle. The application in this post contains a panel with a button on it. It has 2 states. Clicking the button switches to the ‘large’ state, at which point the panel widens and the button’s label changes to “Contract…” instead of “Expand….”

So go ahead and click the button, then see if you can answer this question: Why doesn’t the text change?

Continue Reading 1 comment


Pages

Categories

Most Recent Posts

Feeds

  Subscribe in a reader

Calendar

February 2012
M T W T F S S
« Jan    
 12345
6789101112
13141516171819
20212223242526
272829  

Tags

Calendar

February 2012
M T W T F S S
« Jan    
 12345
6789101112
13141516171819
20212223242526
272829  

Posts by Month

Posts by Category