The Artima Developer Community
Sponsored Link

Java Buzz Forum
Happy New Year 2005!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Wolf Paulus

Posts: 692
Nickname: wolfpaulus
Registered: Jan, 2004

Wolf Paulus is an experienced software developer focusing on Java, XML, Mac OS X, wireless/mobile ..
Happy New Year 2005! Posted: Dec 31, 2004 6:13 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Wolf Paulus.
Original Post: Happy New Year 2005!
Feed Title: Wolf's Web Journal
Feed URL: http://wolfpaulus.com/feed/
Feed Description: Journal - dedicated to excellence, and motivated by enthusiasm to trying new things
Latest Java Buzz Posts
Latest Java Buzz Posts by Wolf Paulus
Latest Posts From Wolf's Web Journal

Advertisement
I finally finished the proposal for Woodrow and invited a couple developers ... the usual suspects.

Woodrow instantiates Java classes based on XML encoded descriptors, a process known as un-marshalling or de-serialization of XML data into newly created Java content trees. Every tag in the descriptor has the potential to trigger the instantiation of a registered Java class. After such an instantiation, the tag's attributes are tried to be mapped to a property of the newly created object.

Since attributes are read as Java Strings, Converters are needed to translate attribute values into types fitting the setter methods, which will eventually be called to set the object's properties. For example, if the java.util.Vector.class had been be registered with the name 'list' and also a converter exists, able to convert a String into an int, then the tag: <list size='5'/> would result in the instantiation of a Vector class and its size would be set to 5.

Woodrow differentiates itself from existing compile-time solutions like Apache-SOAP, AXIS, JiBX or JAXB (compiler generates the interfaces and the implementation classes corresponding to an XML Schema), by using reflection and introspection at runtime. Woodrow may take the capabilities of the un-marshalling device into account and doesn't require the creation of DTDs or XML-Schemas.




[Lighthouse @ Point Loma, San Diego, Dec. 2004]

Read: Happy New Year 2005!

Topic: Groovy 1.0 Beta 8 Previous Topic   Next Topic Topic: Propeller Head

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use