wood burning stoves 2.0*
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
Author

DLL - JAVA

Preethi Suryam
Ranch Hand

Joined: Nov 17, 2000
Posts: 92
Hi!
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.
Regards!
Preethi.
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?
Regards!
Preethi.
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.
Arun
SCJP

Sun Certified Programmer for Java2 Platform
Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
Hi,
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
Binu


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.


VAIBHAV <BR>SCJP
 
wood burning stoves
 
subject: DLL - JAVA