Table of Contents


 

 
microsoft .net and j2ee interoperability toolkit
Microsoft .NET and J2EE Interoperability Toolkit
bySimon Guest ISBN:0735619220
Microsoft Press 2004

Bridge the gap between the Microsoft .NET Framework and Java 2 Enterprise Edition (J2EE) by implementing the best interoperability solutions available today”and by learning to build compatible solutions and workarounds of your own.

Table of Contents
Microsoft .NET and J2EE Interoperability Toolkit
Introduction
Part I - Getting Started
Chapter 1 - Microsoft .NET and J2EE Fundamentals
Chapter 2 - Business Requirements for Interoperability
Chapter 3 - Exchanging Data Between .NET and Java
Part II - Interoperability Technologies: Point to Point
Chapter 4 - Connectivity with .NET Remoting
Chapter 5 - Connectivity with XML Web Services, Part 1
Chapter 6 - Connectivity with XML Web Services, Part 2
Part III - Interoperability Technologies: Resource Tier
Chapter 7 - Creating a Shared Database
Chapter 8 - Asynchronous Interoperability, Part 1: Introduction and MSMQ
Chapter 9 - Asynchronous Interoperability, Part 2: WebSphere MQ
Chapter 10 - Asynchronous Interoperability, Part 3: Bridging with Host Integration Server
Chapter 11 - Asynchronous Interoperability, Part 4: BizTalk Server
Part IV - Advanced Interoperability
Chapter 12 - Presentation Tier Interoperability
Chapter 13 - Web Services Interoperability, Part 1: Security
Chapter 14 - Web Services Interoperability, Part 2: Sending Binary Data
Chapter 15 - Web Services Interoperability, Part 3: Routing
Chapter 16 - Interoperability Futures
Index
List of Figures
List of Tables
List of Sidebars


Discover how to build applications that run on both the Microsoft .NET Framework and Java 2 Enterprise Edition (J2EE) ”and extend your customer reach and system shelf life. Whether your background is in .NET or J2EE, you ll learn to implement many of the interoperability technologies available today, including Microsoft, Sun, and third-party compatibility tools. Interoperability expert Simon Guest takes a balanced look at the pros and cons of each cross-platform technology presented, including best practices, workarounds, and examples of interoperability solutions in action.

Discover how to:

  • Use .NET Remoting to enable interplatofrm connectivity
  • Write interoperable Web service solutions that show interoperability in a production environment, handle exceptions, and use UDDI
  • Employ Microsoft SQL Server 2000 to create a shared database between .NET and J2EE
  • Enable cross-platform asynchronous calling with Microsoft Message Queuing (MSMQ) and WebSphere MQ from IBM
  • Implement a bridge between .NET and J2EE queues using Microsoft Host Information Server and Microsoft BizTalk Server
  • Deliver a consistent user interface across platforms through shared session state and share authentication
  • Build complex interoperability solutions using Web services specifications for security features, binary data exchange, and routing

About the Authors

As a program manager on Microsoft s .NET Enterprise Architecture Team, Simon Guest works closely with customers and independent software vendors on J2EE migration and interoperability projects. He also shares his cross-platform expertise through MSDN, the Microsoft Developer network; customer architectural reviews; and conferences, including the Strategic Architect Forum (SAF) and TechEd.



Microsoft .NET and J2EE Interoperability Toolkit

Simon Guest

PUBLISHED BY Microsoft Press A Division of Microsoft Corporation One Microsoft Way Redmond, Washington 98052-6399

Copyright 2004 by Microsoft Corporation

All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form or by any means without the written permission of the publisher.

Library of Congress Cataloging-in-Publication Data Guest, Simon, 1973-Microsoft .NET and J2EE Interoperability Toolkit / Simon Guest.
p. cm. Includes index. ISBN 0-7356-1922-0
1. Microsoft .NET. 2. Java (Computer program language). I. Title.

QA76.76.M52G84 2003
005.2'76--dc21 2003052790

Printed and bound in the United States of America.

1 2 3 4 5 6 7 8 9 QWT 8 7 6 5 4 3

Distributed in Canada by H.B. Fenn and Company Ltd.

A CIP catalogue record for this book is available from the British Library.

Microsoft Press books are available through booksellers and distributors worldwide. For further information about international editions, contact your local Microsoft Corporation office or contact Microsoft Press International directly at fax (425) 936-7329. Visit our Web site at www.microsoft.com/mspress. Send comments to mspinput@microsoft.com.

Active Directory, ActiveX, BizTalk, FrontPage, IntelliSense, Microsoft, Microsoft Press, MSDN, MS-DOS, the .NET logo, Outlook, SharePoint, Visual Basic, Visual C#, Visual J#, Visual J++, Win32, Windows, the Windows logo, Windows NT, and Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries . Other product and company names mentioned herein may be the trademarks of their respective owners .

The example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious. No association with any real company, organization, product, domain name , e-mail address, logo, person, place, or event is intended or should be inferred.

Acquisitions Editor: Anne Hamilton
Principal Desktop Publisher: Kerri DeVault
Project Editor: Devon Musgrave
Interior Artist: Joel Panchot
Technical Editor: Robert Brunner
Interior Graphic Designer: James D. Kramer
Copyeditor: Michelle Goodman
Cover Designer: Methodologie, Inc.

Body Part No. X09-71488

To Mako

Acknowledgments

Writing this book has been quite the adventure. Fortunately for me, this has been an adventure that I haven't had to endure alone. I'd like to spend a minute recognizing all the people that have helped make this book complete.

First, I'd like to thank Scott Kerfoot and Steven Ramirez, as they were the first people to get my material in front of an audience and they provided valuable feedback. And for extolling the virtues of turning my content into a written book (or at least planting the idea in my head), I'd like to extend a special thank you to Dan Begallie.

As I was writing this book, I often called on people for information or ideas. For offering solutions and extending support when needed, I would like to thank Keith Ballinger, Dino Chiesa, Fred Chong, Wayne Citrin, Manish Godse, David Hill, Joe Klug, John Nolte, Doug Purdy, Thomas Rizzo, Arvindra Sehmi, Gerry Shaw, and Hervey Wilson. Additional thanks must go to Adam Denning and Sanjay Parthasarathy for support (and continued publicity!) of the contents of the book.

Special thanks is also due to two companies that I worked closely with to produce the technical content of many chapters ”Intrinsyc and The Mind Electric (TME), both of which offer invaluable products that make interoperability between the Java and Microsoft .NET platforms a reality today. At Intrinsyc, my extended thanks go to Roy Lim, Kerry Lynn, Damian Mehers, and Mike Preradovic. At TME, I would like to personally thank Graham Glass, Wes Moulder, Christopher St. John, and Bruce Sundquist.

Making sense of and providing feedback for my chapters was the "enviable" task of the reviewers who kindly donated their time to review each chapter. For this, I would like to thank Gianpaolo Carraro, Mark Demers, John deVadoss, Graham Glass, Shelby Goerlitz, Kevin Hammond, Kristopher Johnson, Doron Juster, Chris Kurt, Damian Mehers, Andy Milligan, Mark Piller, Matt Powell, Harris Reynolds, Bob Schmidt, Christopher St. John, Brenton Webster, David Weller, and Joe Yong. Many of these people went out of their way to provide feedback that ultimately had an incredible impact on the content.

Taking my ramblings and producing the book you see in front of you has been the responsibility of the fine people at Microsoft Press. It is this team that inarguably adds the professionalism and quality to each Microsoft Press title. For this, my heartfelt thanks go to Robert Brunner, my technical editor (and mentor) during the whole project. Despite dealing with sample code that rarely compiled, products that would not install, and machines that would not work, Robert persevered and delivered feedback that really made the book what it is today. For the content editing, I would like to thank Michelle Goodman. Michelle has a rare talent for taking the manuscript I delivered and making it read like a book. For keeping us all on track (and at times, sane), I'd like to recognize Devon Musgrave. On numerous occasions, Devon was the "point man" for making those "cut or keep" decisions. In addition, I must also include Anne Hamilton for taking the book idea on and managing the relationships, as well as Heather Freck, Matt Carter, Robert Lyon, Tess McMillan, Roger LeBlanc, and Joel Panchot for their continued involvement.

I would like to thank my family and friends , especially Mom and Ian, for their advice, support, and confidence with both the project and my move to the United States. A final and special mention goes to my wife Mako, who ”despite the long nights and missed weekends ”provided her love, support, and trust throughout. This wouldn't have been possible without you!

Simon Guest

As a member of the Microsoft .NET Enterprise Architecture Team in Redmond, Washington, Simon specializes in enterprise interoperability and integration. This includes interoperability with J2EE applications, enterprise messaging, XML Web services interoperability, and end-to-end integration with desktop and smart client products.

In his tenure at Microsoft, Simon has worked on a wide variety of interoperability projects in the financial, medical, and telecommunications sectors and has been a frequent contributor to the Microsoft Developer Network (MSDN). Simon has also presented at numerous Strategic Architect Forums (SAFs); Partner Architect Summits; and Envision, MGB, and TechEd conferences.

Prior to joining Microsoft in 2001, Simon worked for an application service provider (ASP) in California and a leading systems integrator (SI) in London. Previously, Simon worked for a top-five law firm in London and as a systems analyst in semiconductor manufacturing.

Simon holds a Higher National Certificate (HNC) in Software Engineering from Plymouth College and a master's degree in IT Security from the University of Westminster (London).