Home > Store > Web Services > XML
Using XML with Legacy Business Applications
- By Michael C. Rawlins
- Published Aug 6, 2003 by Addison-Wesley Professional.
- Copyright 2004
- Dimensions: 7x9-1/4
- Pages: 624
- Edition: 1st
- Book
- ISBN-10: 0-321-15494-0
- ISBN-13: 978-0-321-15494-1
Register your product to gain access to bonus material or receive a coupon.
"This volume offers relentlessly pragmatic solutions to help your business applications get the most out of XML, with a breezy style that makes the going easy. Mike has lived this stuff; he has a strong command of the solutions and the philosophy that underlies them."
--Eve Maler, XML Standards Architect, Sun Microsystems
Businesses running legacy applications that do not support XML can face a tough choice: Either keep their legacy applications or switch to newer, XML-enhanced applications. XML presents both challenges and opportunities for organizations as they struggle with their data.
Does this dilemma sound familiar? What if you could enable a legacy application to support XML? You can. In Using XML with Legacy Business Applications, e-commerce expert Michael C. Rawlins outlines usable techniques for solving day-to-day XML-related data exchange problems. Using an easy-to-understand cookbook approach, Rawlins shows you how to build XML support into legacy business applications using Java and C++. The techniques are illustrated by building converters for legacy formats. Converting CSV files, flat files, and X12 EDI to and from XML will never be easier!Inside you'll find:
- A concise tutorial for learning to read W3C XML schemas
- An introduction to using XSLT to transform between different XML formats
- Simple, pragmatic advice on transporting XML documents securely over the Internet
For developers working with either MSXML with Visual C++ or Java and Xerces:
- See Chapter 3 for a step-by-step guide to enabling existing business applications to export XML documents
- See Chapter 2 for a step-by-step guide to enabling existing business applications to import XML documents
- See Chapter 5 for code examples and tips for validating XML documents against schemas
- See Chapter 12 for general tips on building commerce support into an application
For end users who need a simple and robust conversion utility:
- See Chapter 7 for converting CSV files to and from XML
- See Chapter 8 for converting flat files to and from XML
- See Chapter 9 for converting X12 EDI to and from XML
- See Chapter 11 for tips on how to use these techniques together for complex format conversions
The resource-filled companion Web site (www.rawlinsecconsulting.com/booksupplement) includes executable versions of the utilities described in the book, full source code in C++ and Java, XSLT stylesheets, bug fixes, sample input and output files, and more.
0321154940B07142003
Source Code
Schemas and Samples--schemasamp.zip--Contains all run time schemas, sample data files, sample schemas, sample XSLT stylesheets, and sample data files
C++ Binaries--cppbin.zip--Contains the Windows C++ executable programs
Java Binaries--javabin.zip--Contains the Java jar file for the compiled java classes
C++ Source - cppsource.zip - Contains the C++ source code
Java Source - javasource.zip - Contains the Java source code
Supplemental Material:
http://www.rawlinsecconsulting.com/booksupplement--Additional
examples, latest bug fixes, links, other resources.
Related Articles
XML-Enabling a Legacy Application
XSLT Transformations from Java and C++ with the DOM
Author's Site
Click for the Author's Web Site related to this title.
Online Sample Chapter
Opening the Door to Open Source
Sample Chapter(s)
Download the Sample Chapter related to this title.
Index
Download the Index
file related to this title.
Preface
Some day most business applications will be able to read and write XML files. Until that happens, you are probably going to need techniques and utilities like those presented in this book. This book is for people who use business applications that don't currently support XML, and for people who develop those applications and want to build XML support into them. It is designed to provide a tool kit of techniques and utilities that can help you to perform common EAI, B2B, and EDI data conversion operations using XML.
Nothing in this book is rocket science. Any good programmer with experience in the relevant technologies could develop any of these techniques and utilities. The point of this book is that I've done it so that you don't have to. As is often said, good programmers develop good programs. Better programmers steal what they can and modify it. Steal this code.
If you are a user of a business application and already have or can afford to procure a capable EAI or EDI software package, you probably don't need this book. However, if you only have some simple needs that don't justify the purchase of such a package, or if for some other reason you don't want to or can't afford to spend thousands of dollars to purchase one, then this book is for you. In addition, if you are interested in an open, nonproprietary, standards based, and portable approach to data conversion, then this book is for you, too.
0321154940P04212003
Table of Contents
Preface.
1. Introduction.
2. Converting XML to CSV.
3. Converting CSV to XML.
4. Learning to Read XML Schemas.
5. Validating against Schemas.
6. Refining the Design.
7. Converting CSV Files to and from XML, Revisited.
8. Converting Flat Files to and from XML.
9. Converting EDI to and from XML.
10. Converting from One XML Format to Another with XSLT.
11. Using the Conversion Techniques Together.
12. Building XML Support into a Business Application.
13. Security, Transport, Packaging, and Other Issues.
Appendix A. GNU General Public License.
Appendix B. Pseudocode Conventions.
Appendix C. COM Essentials for the Non-COM Programmer.
Bibliography.
Credits.
Index.
Book
This publication currently is not for sale.
Online access to books, videos, and tutorials from Addison Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media and others - starting as low as $22.99. Learn more and start a free trial.


Account Sign In
View your cart