Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Making JAXB play nice with JAX-RPC  RSS feed

Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am updating client Web Services which are currently using J2EE 1.3 and processing raw XML. I want to move these to JAX-RPC. My first thought was to leave the current code to draw the XML out of the database and then bind it to a JAXB object. This is where my brilliant idea beached itself against reality. The problem is that classes generated from a Schema by JAXB make use of classes that JAX-RPC can't deal with. Most of these classes are Collections. So here is my question: Can I make JAX-RPC deal with objects in a standardized, interoperable way OR can I make JAXB use only constructs that JAX-RPC likes.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!