Call Java Code From VB.net ?
-
Not directly. You have to use something in common that the two runtimes can use to communicate through. In this case, I believe that's COM. Depending on which codebase you want to use as a server, that code would have to expose some kind of COM interface (wrapper) so the other runtime can call it. In VB.NET, this is relatively easy. In Java, I have no idea what's involved, or if it's even possible. But, the client would just instantiate the server just like any other COM-based component. Dave Kreskowiak Microsoft MVP - Visual Basic
-
Not directly. You have to use something in common that the two runtimes can use to communicate through. In this case, I believe that's COM. Depending on which codebase you want to use as a server, that code would have to expose some kind of COM interface (wrapper) so the other runtime can call it. In VB.NET, this is relatively easy. In Java, I have no idea what's involved, or if it's even possible. But, the client would just instantiate the server just like any other COM-based component. Dave Kreskowiak Microsoft MVP - Visual Basic
I think Java does CORBA and not COM. Christian Graus - Microsoft MVP - C++
-
Well, You can either use J#. Or, use IKVM to call the Java Code. But, don't expect it to be fast, since you're running a VM on a VM.... Yuvi Panda T Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com
-
Well, You can either use J#. Or, use IKVM to call the Java Code. But, don't expect it to be fast, since you're running a VM on a VM.... Yuvi Panda T Microsoft Student Partner Blogs at : http://yuvipanda.blogspot.com