This chapter showed how you can use the .NET Remoting protocol, especially by using the Ja.NET tool, to generate the required Java proxies in order to bridge the gap between .NET and J2EE. This chapter presented five permutations of interoperability by using .NET Remoting, ranging from hosting simple components to managing component hosting within an EJB container on a J2EE application server or using Component Services within Windows Server 2003.
Thinking back to the discussion in Chapter 2 on business requirements for interoperability between the Java and .NET platforms, you can see how .NET Remoting can allow for point-to-point connectivity for the first two scenarios presented in that chapter.
The concepts presented in this chapter will be referenced throughout the remainder of this book. The samples presented in the coming chapters, which feature a variety of scenarios, are flexible enough to allow you to expand them for your own solutions. In Chapter 5, "Connectivity with XML Web Services, Part 1," we'll continue to discuss point-to-point interoperability and we'll look at a second technology option: XML Web services.