Product Cover Image

Java EE and .NET Interoperability: Integration Strategies, Patterns, and Best Practices

By Marina Fisher, Sonu Sharma, Ray Lai, Laurence Moroney

Published by Prentice Hall

Published Date: Apr 21, 2006


 “It’s a fact the .NET and Java platforms exist in the enterprise with many touch points. Developers are very eager for information and examples on how the two environments can coexist. This book reflects our interoperability collaboration with Sun and provides best practices for using Web services to bridge .NET and Java applications.”


corporate vice-president,

Developer & Platform Evangelism, Microsoft Corp.


“This book is a developer handbook for implementing interoperable applications and services. It includes actionable strategies for developers and best practices from the field experience.”


chief technology officer, Sun Microsystems


“A comprehensive, practical guide to developing applications that cross the Java EE .NET boundary.”


director business alliances, Sun Microsystems


“Efficient, effective interoperability between Java EE and .NET is a crucial element in the IT architecture of large enterprises and is vital to running a successful business. This book takes interoperability to the next level, far beyond the cold coexistence of systems, by describing effective strategies that allow you to achieve true interoperability while reducing complexity in your applications and your data center. Additionally, it provides examples and practical advice on how to achieve this new level of interoperability and covers in depth all of the options available from bridging, to porting, to platform unification. The costs that this can save you, from management, maintenance and server consolidation are very significant.”


chief executive officer, Mainsoft


“A complete and up-to-date coverage of Java EE .NET security interoperability standards and related specifications.”


architect, Sun Microsystems, and the

coauthor of “Web SSO MEX Specification”


Evolving Web services standards and technologies offer limited interoperability when it comes to security, management, and other important application characteristics. Successful interoperability solutions require comprehensive integration strategies that go beyond simple connections. The capability to mitigate security and reliability risks and transactional support is critical to interoperability.


Java EE and .NET Interoperability addresses issues encountered during the integration process, such as a diverse technology set, incompatible APIs, and disparate environment maintenance. The experienced authors outline strategies, approaches, and best practices, including messaging, Web services, and integration-related frameworks and patterns. The book also introduces readers to Service Oriented Architecture (SOA), the building block for scalable and reliable enterprise integration solutions.


This indispensable book provides the Java EE and .NET developer community with multiple strategies to integrate between Java EE and .NET platforms that save developers time and effort. Applying proven interoperability solutions significantly reduces the application development cycle. Coverage includes

·         Effective Java EE–.NET integration strategies and best practices

·         Detailed enterprise coverage, as well as standalone Java EE component integration with .NET

·         SOA as a building block for Java EE–.NET interoperability

·         Interoperability security issues and risk mitigation

·         Managing reliability, availability, and scalability for Web services built on Java EE and .NET

·         The latest interoperability standards and specifications, including Web SSO MEX and WS-Management

·         Current interoperability technologies, such as Windows Communication Foundation, WSE 3.0, JAX-WS, and Enterprise Service Bus

Table of Contents

Foreword  xxiii

Acknowledgments  xxv

About the Authors  xxvii

Introduction  xxix


Part I: Java EE .NET Interoperability  1

Chapter 1: Java EE Platform Interoperability Essentials  3

Chapter 2: .NET Platform Interoperability Essentials  21


Part II: Synchronous Integration Solutions  39

Chapter 3: Exploring Synchronous Integration  41

Chapter 4: Web Services for Synchronous Integration  49

Chapter 5: .NET Remoting for Synchronous Integration  93

Chapter 6: Resource Tier Synchronous Integration  133


Part III: Asynchronous Integration Solutions  163

Chapter 7: Exploring Asynchronous Integration  165

Chapter 8: Asynchronous Web Services Integration  169

Chapter 9: Messaging  247

Chapter 10: Resource Tier Asynchronous Integration  323


Part IV: Addressing Quality of Service Requirements  353

Chapter 11: Addressing Quality of Services  355

Chapter 12: Managing Distributed Transactions  367

Chapter 13: Java EE .NET Security Interoperability  403

Chapter 14: Java EE .NET Reliability, Availability, and Scalability  485

Chapter 15: Managing Java EE .NET Interoperability Applications  509


Part V: Implementation  555

Chapter  16: Migrating .NET Applications to Java  557


Index  589