• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

using dll

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?.....
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ariffin Ahmad
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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?....
 
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, dll's is native code for a Windows environment. It's C/C++ code.
Hope that clears it up.
Yoo-Jin.
 
reply
    Bookmark Topic Watch Topic
  • New Topic