The Source for Java Technology Collaboration

Home » java.net Forums » GlassFish » Metro and JAXB

Thread: JAXB without Annotations?

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 3 - Last Post: Nov 10, 2008 4:38 PM by: onacit
onacit

Posts: 4
JAXB without Annotations?
Posted: Nov 10, 2008 12:25 AM
  Click to reply to this thread Reply

Is there any way to work with JAXB without annotations?
I mean with some 'bind.xml' or somethin'...

I'm working on some projects which each has to build out for both jdk1.1(client) and latest(server).
I usually design with PURE Pojos(s1.3/t1.1) and build another artifact for jaxb annotations.

swpalmer

Posts: 244
Re: JAXB without Annotations?
Posted: Nov 10, 2008 6:33 AM   in response to: onacit
  Click to reply to this thread Reply

I don't think it is possible... but then I can't understand why development is continuing for such obsolete runtimes, Java 1.1? Just move on and get all the benefits of later versions. Now is the time, since the deployment issues have gotten some attention in the recent Java6u10 release.

brantboehmann

Posts: 2
Re: JAXB without Annotations?
Posted: Nov 10, 2008 9:48 AM   in response to: onacit
  Click to reply to this thread Reply

You can externally annotate your classes using JAXBIntroductions from JBoss http://www.jboss.org/community/docs/DOC-10075. But I seriously doubt the implementation of this will work all the way back to Java 1.1.

onacit

Posts: 4
Re: JAXB without Annotations?
Posted: Nov 10, 2008 4:38 PM   in response to: brantboehmann
  Click to reply to this thread Reply

Guys.. thanks for the replies.




 XML java.net RSS