javaintegrationsubroutineu2

Connect to PickBasic from Java


I want to call PickBasic subroutines from Java. We have existing business logic in PickBasic subroutines and we only want to call those subroutines from java.

Please let me know how this can be done?


Solution

  • For your Universe system, connectivity from Java is most easily done with UniObjects for Java. UOJ is a free class library. Connections are not pooled unless you get a special pooling license.

    Rocket Software offers classes:

    http://www.rocketsoftware.com/u2-training-u2100-java-application-development-using-uniobjects

    The most recent developer's guide is here:

    http://docs.rocketsoftware.com/nxt/gateway.dll/RKBnew20/u2%20clients%20and%20apis/jul2014/u2clients_uniobjectsjavadevguide_vjul2014.pdf

    Some FOSS examples are here:

    http://www.pickwiki.com/cgi-bin/wiki.pl?JavaSource

    (Based on these exchanges, I'm removing the JNI tag from the original query as this is not related to JNI. JNI is an option if you want to call from Universe out using a bridge from BASIC to Java. The question here is about inbound connectivity, and for that there's an API.)