wood burning stoves
The moose likes Servlets and the fly likes DLL -  JAVA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "DLL -  JAVA" Watch "DLL -  JAVA" New topic


Preethi Suryam
Ranch Hand

Joined: Nov 17, 2000
Posts: 92
I want to create a dll file in java.Can we create a DLL file in java?how can we do it?i wish someone to throw some light on this.
Ramneek Handa
Ranch Hand

Joined: Nov 10, 2000
Posts: 44
dll in java??? where is my torch???
dll is for windows(from microsoft) and java is form sun
Bobby ;-}
Preethi Suryam
Ranch Hand

Joined: Nov 17, 2000
Posts: 92
what i mean to say is, i want to develop a component using beans or something and make that component available for VB etc.hope u got me.can i do it?
Arunagiri, Shanmugham
Ranch Hand

Joined: Jan 23, 2001
Posts: 46
Hi Preethi,
You can use the class files (Bean component) created in Java in Lotus Notes. Notes gives the option of coding in javascript, Java, Notes Script and Formula. I dont know about using it in other development environment.

Sun Certified Programmer for Java2 Platform
Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
I think it's not possible by direct coding in Java.
But you can use Java Native Interface for communicating with DLLs.
I don't know the details.
Refer Java Tutorials available for JNI in Sun's web site

Sarath Mohan
vaibhav punekar
Ranch Hand

Joined: Jan 20, 2001
Posts: 134
I think you will have to create DLL file in C or C++.Make it a win32 dll.Select export option in radio-buttons.Use Java native method Load that library using System.loadLibrary("sth.dll")
Crete header file for Java C mapping using "avah" command.Better you refer Core Java Vol.2 for it.It is given in detail there.

I agree. Here's the link: http://aspose.com/file-tools
subject: DLL - JAVA
jQuery in Action, 3rd edition