Integrating Java and Microsoft .NET
Java/.NET Integration: The architecture of .NET ® Java platforms use different executable formatted Common Runtime Language syntax, which makes it challenging to build applications that need to integrate existing compiled Java class files into a .NET solution. Learn about Java/.NET integration, converting Java to VB .NET code, and more.

by Jon Jagger, Content Master Ltd. Intel Corp.

The right techniques and practices are key to interoperability of components written in different languages.

When building an application, it is increasingly likely that you and your team will have to combine components and/or source code written in different programming languages. It is not uncommon for programmers to spend significant periods of time getting modules written in different languages to interoperate properly. This is one of the key challenges addressed by Microsoft .NET.

It is rarely cost-effective or feasible to manually port or rewrite code from one language into another. Java is a popular language for building applications for Unix, while Microsoft has developed .NET and the Common Language Runtime (CLR) for building cross-language applications under Windows. Java and the CLR use different executable formats, which makes it challenging to build applications that need to integrate existing compiled Java class files into a .NET solution.

Java class files can be integrated into the .NET CLR using the JbImp.exe utility (a command-line tool included in Microsoft Visual J#). This paper shows how to use JbImp.exe to convert working sets of Java .class files into .NET executables and .NET assemblies. Readers should note that an alternative way to integrate Java code into .NET is with a Java compiler that outputs .NET Common Intermediate Language (CIL) code rather than Java byte code (such as the command line compiler vjc.exe, which is also included in Microsoft's J# tool). This technique is covered in a separate white paper titled "Portable GUIs improve application flexibility."

Subscribers who liked this article also read:

If you're interested in this topic, these articles may be helpful:

Download Free Evals of Intel® Software Development Products
Put our products to the test. Download as many evaluation versions as ...
Anonymous delegates: efficient and expressive
by Larry O'Brien, 3 Leaf Solutions, LLC. Intel Corp. Since its firs...
Java Graph library v 2.1 demo
from Big Faceless Organization The Big Faceless Java Graph library ...
.NET client application "no touch" deployment: harness the full processing power of the desktop
by Christopher Goldfarb, senior software architect, Intel Software Sol...
Data access performance in ADO.NET
by Ramesh Theivendran, architect, Borland Software Corp. First publish...

Related Jobs:

Software Engineer: Multimedia Client Applications #SIP222 - Canada - Ottawa - SIPquest
The candidate will join a real and challenging development environment...
Senior Packaging Developer - InstallShield - CA - Los Angeles - iRise
Senior Packaging Developer - InstallShield Responsibilities Defi...
Sr SW Quality Analyst/SQA Specialist #200502919-RC - FL - Oldsmar - Nielsen Media Research
Assigned Req # : 200502919-RC Job Title: Sr SW Quality Analyst/...
DBA II #13608 - CA - South San Francisco - Radiant Systems, Inc
Description RESPONSIBILITIES: This is a senior operational Databa...
Data Warehouse Engineer #05-562-000773 - CA - Pasadena - EarthLink, Inc.
Data Warehouse Engineer posted 11/09/05 Requirements D...
Sr. Software Engineer - CA - Walnut Creek - Genesys
Sr. Software Engineer Walnut Creek, CA (send resume) The Sr. Soft...
Senior Software Developer - Text-to-Text Systems - MN - Northfield - SpeechGear, Inc.
Looking for work that breaks you out of the traditional mold? To creat...
Network Management Tools Engineer - CA - Mountain View - Google
Google is looking for a highly experienced, tools-oriented Engineer to...
Pre-Sales Engineer - Japan - Tokyo - Interactive Intelligence
Duties: Provide hands-on technical assistance to Resellers, customers...
Software Engineer, Handsets - CA - Berkeley - Idetic, Inc.
Idetic, Inc. is the developer of MobiTV, the first global television n...