do anybody know how can i use already build dll in my java code?.... do i have to use CORBA / JNI, and what is the different between both of them?.... is there any online tutorial that i can refer to?.....
If you just want to integrate an existing .dll into your java app you just need JNI. You can read up on JNI at Sun's JNI Tutorial. Corba is a standard for defining "Object Brokers". You would use a Corba implementation (probably using a Corba based tool)instead of perhaps an RMI solution for creating Client/Server relationship.
"JavaRanch, where the deer and the Certified play" - David O'Meara
Originally posted by Cindy Glass: If you just want to integrate an existing .dll into your java app you just need JNI. You can read up on JNI at Sun's JNI Tutorial. Corba is a standard for defining "Object Brokers". You would use a Corba implementation (probably using a Corba based tool)instead of perhaps an RMI solution for creating Client/Server relationship.
from what i can see, it seem like JNI is more suitable for using native code, not dll. am i right?....