ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Peshansky <ig...@us.ibm.com>
Subject Re: XJ - xml extension for Java
Date Sun, 31 Jul 2005 16:13:43 GMT
Martin Gainty wrote on 07/31/2005 07:54:54 AM:

> ----- Original Message ----- 
> From: "Igor Peshansky" <igorp@XX.XXX.XXX>
> To: "Ant Developers List" <dev@XXX.XXXXXX.XXX>
> Sent: Friday, July 29, 2005 6:03 PM
> Subject: Re: XJ - xml extension for Java
> 
> 
> > Steve Loughran wrote on 07/04/2005 07:56:31 AM:
> > 
> > > Kev Jackson wrote:
> > > > Thought you may find this of interest.  IBM have a new way of
> > > > processing XML docs within Java.
> > > >
> > > > http://www.research.ibm.com/xj/samples/sample2.html
> > > >
> > > > Very cool page showing how this all works (cool in firefox 
anyway).
> > 
> > Thanks. :-)
> > 
> > > > I like the way you can construct objects from inlined xml
> > > >
> > > > target t = new target(<target name="echo">
> > > > <echo message="hello world" />
> > > > </target>);
> > > >
> > > > will create a new object of type target, also you can use it
> > > > dynamically:
> > > >
> > > > String msg = "hello again";
> > > > target t = new target(<target name="echo">
> > > > <echo message={msg} />
> > > > </target>);
> > > >
> > > > Support for generics, autoboxing and XPath queries.
> > 
> > Just to clarify (quoting the manual): "limited support for generics". 
We
> > only support them for compiler-generated collections of XML classes.
> > 
> > > > Looks intersting anyway
> > >
> > > I have been in email discourse with them, on the subject of 
successor
> > > soap stacks to JAXRPC.
> > >
> > > I think it is interesting, and Xpath is profound once you apply to
> > > object trees. The next version will apparently work in ant, so you 
can
> > > compile xj stuff from your build...
> > >
> > > -steve
> > 
> > You might be interested to know that a new release (1.0.1) of XJ is 
out,
> > and it now contains an <xjc> Ant task.  Enjoy.
> > 
> > Igor Peshansky (for the XJ team)
> 
> Castor will marshall to xml file or unmarshall from xml based on 
descriptor 
> or reflection
> check out http://www.castor.org/xml-framework.html

Thanks for the pointer, we'll check it out.  From a quick glance, though,
it seems to be a databinding approach similar to JAXB, and thus suffering
from the same limitations.

> I knew of a guy named Igor Pechanski that worked on the Cygwin project 
that 
> went to NYU any relation ???
> Martin-

Yep, same guy (except it used to be Pechtchanski) -- that's what the 
"spelling
change" in my signature refers to.
        Igor
P.S. Apologies to all for earlier duplicate messages.
-- 
Igor Peshansky  (note the spelling change!)
IBM T.J. Watson Research Center
XJ: No More Pain for XML?s Gain (http://www.research.ibm.com/xj/)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message