Connecting to a Comm port via Java

Discussions

Web tier: servlets, JSP, Web frameworks: Connecting to a Comm port via Java

  1. Connecting to a Comm port via Java (2 messages)

    I am trying to connect a servlet/ JSP app to a dcom port on a computer. I know of 2 options. One is the Java Comm API and the other is the JNI anda native c dll. I tried installing hte Comm API but am having problems. Anyone know or have experience with the Comm API? If so is it easier to use a JNI type approach?
  2. The COMM API is a much easier solution. Are you still having problems?
  3. I got the comm api to install and i can compile stuf with javac but the api ahs rendered the java command useless. I am using windows 2000 advanced server. I followed the instructions for installation that come with the api. Now I get a Classs def not found exception every time I try to run bytecode through java. Even in a hello world program. Any suggestions?