Results 1 to 2 of 2
  1. #1
    lorey is offline Member
    Join Date
    Oct 2013
    Posts
    1
    Rep Power
    0

    Post How to interface with C library using JNA

    I have an old unix c application (.exe) which uses ActiveMQ as a message exchange to another application.

    Now, I will be developing/modifying a java application using eclipse and implement JNA (Java Native Access) to use above application, which I will convert first to a library, and removing ActiveMQ implementation.

    Since I am removing ActiveMQ, I dont know what technology I can replace with it to still have some message exchange from Java to C library and vice versa (in threads because the message exchanges are asynchronous)

    Anyone can advise me?

    Thanks in advance!
    Last edited by lorey; 10-30-2013 at 10:18 AM. Reason: no title

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,669
    Rep Power
    5

    Default Re: How to interface with C library using JNA

    Your own technology of course; if you don't use what is readily available, you'll have to roll your own.

    IMO ActiveMQ (or any other existing messaging system) was a far better idea than what you are going to do now.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •