Solved

Java Interop with C#

Posted on 2008-10-01
2
497 Views
Last Modified: 2012-05-05
Hi All,

I have developed software in C# to read events from a Telecommunications system and show them real time.  This telephone system allowed me to write C++ to it which I then send to C# in order to broadcast messages across a network using .NET remoting.  This all works great.

Now, I am trying to integrate the software with a new telephone system ... One in which I have to write JAVA to.  My challenge is to write the JAVA interface and then broadcast messages via .NET remoting.

The question I have is: What is the best way to do this?  I have read in other places that I can Interop JAVA to C++ and then Interop C++ to C#.  Like I said, I am already Interoping C++ to C#, so this would only be adding the JAVA to C++ Interop, but I am hesitant to do that.  Even just Interoping C++ to C# is not very efficient because the methods must be static and therefore objects must be instantiated every time I call a method.  The other option that I was considering is to write a C# service that I could consume through JAVA, but again I question performance in a large transaction environment.  

I have done some research on the topic, but I seem to find the best answers in this forum, so I figured I would seek the community's advice.

As always, thanks in advance for any help!
-Matt
0
Comment
Question by:mdw233
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
ID: 22620667
0
 
LVL 1

Author Comment

by:mdw233
ID: 22626746
Thanks ... it reaffirms what I have already found in my research, but it has persuaded me that my only 2 options are a Java - C++ - C# Interop or using a C# web service invoked by Java.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The viewer will learn how to implement Singleton Design Pattern in Java.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question