[Home] [By Thread] [By Date] [Recent Entries]
Steven Marcus wrote: << If you are running a relatively recent release of OS/390 (not MVS) you can use an XML parser written in Java. IBM's java parser is available at alphaworks.ibm.com and supports EBCDIC<->Unicode conversions. You can integrate your COBOL and Java environments thru the file system bridge available with java-OS/390, or via DB/2. There may be other ways of passing data between Java apps and COBOL but someone else will have to speak up. Steven, The issue isn't being able to bridge data and files, but being able to process information in memory. The forthcoming DB2 XML Extender will include the capability of bridging XML files and mapping them to DB2 columns. That's not the problem. The problem is working with in-memory structures to process document objects or events. The extant XML parsers support the Document Object Model (DOM) and SAX (events). If you use a Java XML parser that targets DOM, for example, it produces an object structure Java understands, but not COBOL. You'd have to write a library that interfaces COBOL to Java objects using CALLs, not disk READs and WRITEs. Not an easy proposition -- unless someone has implemented Object COBOL with bindings for IDL, Java, etc. ================== Ken North ============================= http://ourworld.compuserve.com/homepages/Ken_North ken_north@c... 71301.1306@c... KenNorth@m... Ken North Computing 2604B El Camino Real, #351 Carlsbad, CA 92008-1214 =========================================================== xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|

Cart



