[jdom-interest] JMS and XML

Matthew MacKenzie matt at xmlglobal.com
Thu Mar 29 07:34:30 PST 2001


One thing that I have done successfully is to put a JDOM Element into an
JMS ObjectMessage, and simply do Element el =
(Element)theObjMsg.getObject().  If that's an option in your app, try
it.

Cheers,

-Matt

-----Original Message-----
From: jdom-interest-admin at jdom.org [mailto:jdom-interest-admin at jdom.org]
On Behalf Of Brunner Wolfgang
Sent: Thursday, March 29, 2001 6:12 AM
To: 'markham.r at gmx.de'
Cc: jdom-interest at jdom.org
Subject: AW: [jdom-interest] JMS and XML

Hi,

SAXBuilder as well as DOMBuilder offered a variety of overwriiten
"build"-method allowing to parse XML-messages from different sources:
from
file, from java.io.InputStream and from java.io.Reader. 
java.io.Reader e.g. is specialised by StringReader, serving eactly your
purposes.

Wolfgang Brunner

START AMADEUS GmbH
Marienbader Platz 1
D-61348 Bad Homburg
*   +49 (0) 6172 91-4375
K    +49 (0) 6172 91-55 4375
* mailto:Wolfgang.Brunner at start.de


> ----------
> Von: 	markham.r at gmx.de[SMTP:markham.r at gmx.de]
> Gesendet: 	Donnerstag, 29. März 2001 15:35
> An: 	jdom-interest at jdom.org
> Betreff: 	[jdom-interest] JMS and XML
> 
> 
> 
> Hello,
> 
> I want to send a message from the server to the client and from client
to
> the server. The messages are sent using JMS(Java Message System). The
Data
> format is XML.
> 
> The parses always uses File as medium, using JMS the messages are
already
> in
> the main Memory. 
> 
> My problem is there a method how I can parse XML data directly out of
the
> main memory.
> 
> Regards
> Richard Markham
> 
> _______________________________________________
> To control your jdom-interest membership:
>
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@you
rh
> ost.com
> 
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@you
rhost.com




More information about the jdom-interest mailing list