File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes java objects to xml streams in pipe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java objects to xml streams in pipe" Watch "java objects to xml streams in pipe" New topic

java objects to xml streams in pipe


Joined: Jan 03, 2005
Posts: 15
hi all

I am stuck up at a point in my project.I want to write and read a java object ie Record record , in to a pipe.Not the record object has the data that i reads from a text file.I want the data written in the pipe in the from of xml stream and that read from the pipe in the xml stream .can anyone suggest me with some concerete solution

thanking you

Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Castor and JAXB are two packages that marshall objects to XML and unmarshall them back to objects. See if they fit into your process.

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: java objects to xml streams in pipe
It's not a secret anymore!