As defined in the J2EE Blueprints, the Java 2 Enterprise Edition platform provides a component-based approach to building a scalable, multi-tiered architecture. This architecture offers developers the building blocks with which to model complex business infrastructures. The components are dispersed across disparate operating systems and frequently require software solutions allowing clients and Enterprise JavaBeans to communicate with each other in a multi-tiered environment. One method of invoking remote procedure calls uses RMI-IIOP and JNDI to locate an object and leverage its services. Another option available to developers is employing third-party solutions such as JNBridgePro to generate proxies that allow clients in a JVM environment to call functionality defined within the Microsoft .NET Framework and vice versa. Yet a third method available to developers creating applications in either the J2EE or .NET platform is using XML SOAP-based calls via HTTP to invoke web services. Interoperability, the central theme of this book, is essential for success in today’s digital economy and requires flexibility in both architectural design and business model implementation.
This chapter focuses on best practices, design patterns, and security for both the J2EE platform and .NET Framework. It closes with an example business solution written in VB.NET to demonstrate how a .NET solution can be written in any language hosted by the .NET Framework.