Interaction between Java and C#

Posted on 2007-07-24
Last Modified: 2013-11-23
can i have a class that is in C# and another that is in java to interact with each other? as i have a class that is written in java to be a connection from a pocket PC to a security hardware device. and those written in C# are the GUI and other suffs. can they interact with each other in a way when i press the button in the emulator that is created by C#, the class that is written in java will do the connection from the pocket PC to the security device hardware.
Question by:DWR200
    LVL 10

    Expert Comment

    It sounds like you want to implement COM programming. Since the classes are written in entirely different programming languages and using totally different frameworks...they won't be able to simply "talk to each other". However, if you created a COM object with C#, you could then access the COM object in most any programming language (java, javascript, VB,etc).


    Author Comment

    COM stands for..?
    LVL 10

    Accepted Solution

    Component Object Model....but if you don't know that...then this link will probably be over your head.

    Instead of doing it the COM way, perhaps we can just help translate your C# into VB or vice versa....perhaps you should post another question to get lots of eyes on it

    LVL 10

    Expert Comment

    I recommend that because both languages should be able to do the same thing
    LVL 9

    Expert Comment

    Check for  CORBA  technology.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    network + 7 59
    VBSCRIPT in Page Load C# ASP.NET 6 41
    What are the big features of MVC5? 4 32
    JAVA part two 5 18
    Let me explain this picture a little bit.  First, in case you haven't already guessed, you are looking at my 2 phones, an Android Samsung Galaxy S5 on the left and an iPhone 5 on the right.  They are on their respective cradles on my desk.  But, you…
    I recently asked a question ( about Computer Inventory applications for Mobile Devices.  I was specifically interested in an app I could use on my android phone.  The be…
    Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
    The viewer will learn how to implement Singleton Design Pattern in Java.

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now