Re: Anyone know about ActiveX in Java?
From: Jared Dykstra (dyksjare_at_hotmail.com)
Date: 12/30/03
- Next message: Raymond DeCampo: "Re: simple beginners question"
- Previous message: Paul: "Re: simple beginners question"
- In reply to: S C A: "Re: Anyone know about ActiveX in Java?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Dec 2003 14:53:17 -0800
"S C A" <nospamemail@bellsouth.net> wrote in message news:<rkkIb.50786$Ol1.8369@bignews3.bellsouth.net>...
> Jared:
> Thanks for the response. Yes, I am trying to use the ActiveX control via
> Java. The problem is that while I can use it and it works quite well in
> Visual Basic (it's a TAPI wrapper for answering, making calls on Dialogic
> boards), I can't figure out how to use it (the Dialogic telephony board) via
> Java. I do know that Dialogic has a C API and wonder if that will be my only
> or best avenue?
>
> Thanks for your help,
> Carl
> P.S. This is due to the fact that I am thinking learning Java but don't want
> to miss out on my ability to program the board.
> "Jared Dykstra" <dyksjare@hotmail.com> wrote in message
> news:ba84b53e.0312292146.52182d24@posting.google.com...
> > "S C A" <nospamemail@bellsouth.net> wrote in message
> news:<rw%Gb.27238$Ol1.19202@bignews3.bellsouth.net>...
> > > Dear All:
> > > I'm not sure if this is even possible but does anyone know about using
> > > ActiveX controls (a Microsoft-specific technology) in Java? I am having
> a
> > > heck of a time finding some similar functionality in Java provided by
> some
> > > controls (ActiveX) and I was wondering if I can manipulate them using
> Java?
> > >
> > > Thanks in advance,
> > > Carl
> >
> >
> > Are you trying to build an ActiveX container in Java? What is the
> > functionality you are looking for?
AcitveX components obviously depend on the operating system and are
not run by the VM. Java is not designed to do this. You may have a
couple options:
1. Convert the Java applet to a servlet and use Internet Explorer as
your servlet container. You can then POST data to the activeX control
or to the servlet. You can even embed the ActiveX control in a JSP
page if you wish.
2. Write a container for the ActiveX control as a win32 executable or
dll and invoke it from java. You can either exec() it, or use the
Java Native Interface (JNI) to wrap calls to a dll.
Both of these are hacks and you should use MFC, VB, or something
better suited for interfacing with ActiveX. Microsoft may provide a
way to do this with their VM, but I am unfamiliar with anything
outside Sun's standards in this respect.
--- Jared Dykstra http://www.bork.org/~jared
- Next message: Raymond DeCampo: "Re: simple beginners question"
- Previous message: Paul: "Re: simple beginners question"
- In reply to: S C A: "Re: Anyone know about ActiveX in Java?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|