cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

call java program from powerbuilder

Former Member
0 Likes
616

Hi all

How I can call java program from powerbuilder ?

Thansk

View Entire Topic
Former Member
0 Likes

You can use an EJB Connection object.  It doesn't have to be a remote EJB, it can be a local class:

http://www.rgagnon.com/pbdetails/pb-0224.html

The other technique I've used is to compile the java program against IKVM as a .Net assembly and then call that using standard .Net methods (a CCW in the case of PowerBuilder Classic)

http://www.ikvm.net/

Former Member
0 Likes

Hi Bruce

Thanks for your reply

I want ask you another question , My friend  works in Java programming language and he ask is anyway he can use datawindow from java because it diffculte to find component like datawindow in java 

Thanks

Former Member
0 Likes

Well, there was the JSF DataWindow in Sybase's Workspace product, but that got end-of-lifed in January of 2012.

Not sure what you're friend is looking for either, as the DataWindow does a lot of things that are handled in different layers by different products in Java.  I'm assuming a Data Grid.  If that is the case, there is a JSR in process right now to develop a standard API for Data Grids.  There are also several products available now that are working in conjunction on the JSR and plan to implement the API in their products once it is finalized, such as JBoss Infinispan.

Former Member
0 Likes

Hi F;

  Your Java friend could call a PB NVUO using PB's PBNI feature - just like PB can call a Java class using JNI. Have a look in the PB help.

Regards ... Chris

Former Member
0 Likes

Hi all

Thanks for reply, I am appreciated for your helpful answers..Thanks again

finestraco

Former Member
0 Likes

No problem.  Could you go ahead an mark the question answered if you've gotten what you needed?  Thanks!