DLL & OCX

Hi,

Does Java support DLL & OCX (visual basics programming)? If yes how can i go about integrating it into my Java coding. Thanks.
wmchewAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vk33Commented:
Hi!

I guess the only way of communicating with COM from Java is using JNI. You can write a DLL transforming native functions calls into COM-methods calls and therefore use COM components.

Regards!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vk33Commented:
For more information on JNI, have a look here:

http://java.sun.com/docs/books/tutorial/native1.1/
Mick BarryJava DeveloperCommented:
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

vk33Commented:
If you don't really want to code a lot you can use a simple tool:

http://www.ezjcom.com/download.html

Hope it helps.
Mick BarryJava DeveloperCommented:
NewJawin provides support for embedding ActiveX controls in your Java app.
TolsCommented:
Quite a good solution is JNIWRAPPER.
TolsCommented:
here is the URL:

http://www.jniwrapper.com
Mick BarryJava DeveloperCommented:
Do those products support embedding controls?
TolsCommented:
JNIWRAPPER - Yes.
vk33Commented:
JCom - Yes:

"Some COM objects have a UI (commonly known as ActiveX controls.) EZ JCom can also be used to access such COM objects, by embedding them in an AWT or a Swing program."
Mick BarryJava DeveloperCommented:
Thanks :)
wmchewAuthor Commented:
Hi All,

Thanks for the info. I'll read thru it, if I got any other qns "i'll be back". :P
doronbCommented:
If I'm not mistaken, the best road to Java with DLL's and OCX's is to use Microsoft's Visual J++ or J# or move to C#, since all these environments have wizards and other tools that automate the whole process of incorparating Window's based technologies in Java. One point to remember though is that once this path is taken, the programs you create are no longer truely Java or rather 100% pure Java.
Mick BarryJava DeveloperCommented:
> is to use Microsoft's Visual J++ or J# or move to C#,

Wash your mouth out ;-)
doronbCommented:
Sorry dude, but that's how it goes... a Programmer's responsability is to getting the job done, not just to grand ideals ;)
sudhakar_koundinyaCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:


[Split points to objects,Tols and VK33]


Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
sudhakar_koundinya
EE Cleanup Volunteer
---------------------
If you feel that your question was not properly addressed, or that none of the comments received were appropriate answers, please post your concern in THIS thread.
doronbCommented:
And I don't get any points even though my idea is probably the most practical? ;)
doronbCommented:
No objections here.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.