1. ATK Gimmy Susan
  2. PowerBuilder
  3. Friday, 13 July 2018 20:25 PM UTC
Hi Powerbuilder guru.
I open a post in the hope that it will not go off topic.

In the company we are trying to write a DLL that must be read by PB and Java.
Abandoned the 'NET Assembly target' we wrote this DLL with Visual Studio c #.

Assuming that in Powerbuilder I have to invoke the DLL as an ole object, how should I do it in Java?


The technicians tell me:
 1. * _Javonet_ * (https://www.javonet.com)
    It is a library that is used easily and quickly, but it is very expensive.

 2. * _Jni4net_ * (http://jni4net.com) -
    It does the same things as Javonet.
It's free, but development / support ended in 2016.
What alternatives could we have?
(naturally we would not like a _ * native wrapper * _
(Java calls a dll in C ++ that calls the dll in c #).

Every suggestion is welcome
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Tuesday, 24 July 2018 00:58 AM UTC
  2. PowerBuilder
  3. # 1

I don't know what your Jave code does, but which database are your running?

I know that Oracle for example allows you to run Java code from stored procedures.

Though not a DLL, could that be a solution?

There are no comments made yet.
Bruce Armstrong Accepted Answer Pending Moderation
  1. Friday, 13 July 2018 21:34 PM UTC
  2. PowerBuilder
  3. # 2

You might look at the ikvmstub utiltity that is part of the ikvm project:


It creates stubs for java for .Net assemblies.

I've used IKVM, but not that particular tool.  I was using the main ikvm project for compiling java code into .net assemblies.


There are no comments made yet.
Rodolfo Reyes Accepted Answer Pending Moderation
  1. Friday, 13 July 2018 20:41 PM UTC
  2. PowerBuilder
  3. # 3

Create a web service that exposes the methods of your DLL. From Java and from Power Builder call the methods of the web service.


Rodolfo Reyes

  1. ATK Gimmy Susan
  2. Saturday, 14 July 2018 10:44 AM UTC
You are right, but WS is to slow for our project.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1

There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.