Is connecting to J2EE servers from .NET a priority or requirement of your organization? Do you use Janeva or other tools? Do you use CORBA now? Do you think you might have a need to use CORBA-.NET interop in the futures? Are you using Janeva to connect between other languages? What do you think of this method vs. Web services? Let us know in the Java or .NET Technical discussion forum.
In this article, you'll see how to build a CORBA server and connect it to C# clients using Borland's Janeva as "glue".
by Bob Swart
January 21, 2004
ORBA, the acronym for Common Object Request Broker Architecture, is a widely used communications model for building distributed (multi-tier) applications that connect both cross-platform and cross-language clients to server-based services. Like J2EE, it's not easy to connect CORBA to the .NET world, where ASP.NET Web services and .NET Remoting are the generic ways to build distributed applications. Making that connection requires a way to describe .NET objects as CORBA objects so that J2EE can interact with them, and a way to describe CORBA objects as .NET objects, so that managed .NET code can interact with them. In other words, you need some mediating code that can translate objects and method calls from CORBA's representation to the .NET framework's representation. Borland's Janeva does exactly that: It simplifies the process of making that translation to connecting CORBA or J2EE objects to the .NET world.
Getting Started
To start, you need a CORBA server. Although some readers will have a server available and running, many won't, so the first part of this article shows you how to create a simple CORBA server in C++ that you can use for practice and testing. It's important to understand that the CORBA server could just as well be written using Java, Delphi, or any other language. The second part shows you how to connect to that server using Janeva.
It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com. Already a member?
To become a member of DevX.com create your Member Profile by completing the form below. Membership is free!