Calling a local dll with java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rmiddelburg
    New Member
    • Aug 2006
    • 3

    #1

    Calling a local dll with java

    Hi,

    I'am looking for a way to call a local dll in my java application. At the moment I'am building a contact portal and I want to receive information from outlook. I found the outlook api from moyosoft(.com) where you can build java application with loutlook client content. According to moyosoft you can only use the java classes when the java application and oulook are running on the same system.

    Now I'am looking for a way to call outlook content from my contact portal by calling the local dll.

    Kind Regards,
    Richard Middelburg
  • PLA
    New Member
    • Aug 2006
    • 44

    #2
    Originally posted by rmiddelburg
    Hi,

    I'am looking for a way to call a local dll in my java application. At the moment I'am building a contact portal and I want to receive information from outlook. I found the outlook api from moyosoft(.com) where you can build java application with loutlook client content. According to moyosoft you can only use the java classes when the java application and oulook are running on the same system.

    Now I'am looking for a way to call outlook content from my contact portal by calling the local dll.

    Kind Regards,
    Richard Middelburg
    You're facing 2 problems:
    1 - You wan't to call a non Java API from Java
    2 - You wan't to call it from a server on a Web client

    You did not take the simplest way...
    1 - To call non Java from Java you need to use JNI (Java Native Interface), that's done with moyosoft code, OK
    2 - You can't call directly from a Java server an application on a web client, so you have to call it from the client and the pass the result to the server. To call an external application from the client you need to use a signed Applet, but with the constraint 1, the user have to install the moyosoft dll on his PC!

    Don't know how to do it better!

    Comment

    • rmiddelburg
      New Member
      • Aug 2006
      • 3

      #3
      Hi,

      I going to try this solution. If you have an other solution to get outlook 2003 data into a sql database via a portal, please let me know!

      Richard

      Comment

      Working...