Can Java communicate with ActiveX objects? - Java

Can Java communicate with ActiveX objects? Explain how

Java can communicate with ActiveX objects by using Bridge2Java from IBM. Bridge2Java is a tool for allowing the java applications for communicating with ActiveX objects. The integration of ActiveX into Java environment is easy. It is achieved by using JNI and COM technology and the ActiveX object is treated as a java object by Bridge2Java.

A proxy generating tool is required which creates the Java proxies from the ActiveX control typelib. Later there proxies are utilized for allowing a java application to communicate with the ActiveX object.
What is CLASSPATH variable? What is default classpath? - Java
CLASSPATH is an environment variable that communicates JVM and other java applications for finding the java language class libraries, including the developer’s class library. It is set by setenv command like...
Explain how to convert any Java Object into byte array? - Java
1. Create an object of ByteArrayOutputStream class. ByteArrayOutputStream bStream = new ByteArrayOutputStream();..
Explain how to convert bytes[] into File object - Java
1. Create a File object. File file = new File(“path and file name here”);...
Post your comment