I'm not aware of any examples of Java->Julia, but there are basically two options:
- RESTful API or other messaging-based interop - use the Julia C API via JNI (Julia functions can be exposed as C function pointers). The potential advantage here is performance (no-copy data transfer, avoid the network stack). A variation of the second would be to extend JavaCall.jl to wrap Julia functions as Java callbacks and do as much of the conversion/bookkeeping as possible via JavaCall. This would still entail using JNI for the actual calls, but might avoid some code duplication and hairiness dealing with the embedding API (see pyjulia for an example). On Tue, Dec 16, 2014 at 7:21 AM, Frank <[email protected]> wrote: > > Hi, > > i am trying to find information on how to do the following: > > - expose Julia functions within/as Java Interfaces > - Call Julia from Java > > I find a lot of Julia-->Java examples, but i would like to call Julia from > Java. > > Any tackers? > Thanks > Frank > >
