Testing communication over SSL


To test communication over SSL, for instance to debug a protocol stack or to check configuration of a server (or even a client), use openssl:

openssl s_client -connect <server>:<port>

Test servers

When developing client / server applications, it's often useful to be able to test each side on its own. It's even more useful when one of the two sides doesn't provide any log capability.

This article provides very simple test servers, aimed at helping client development.

My first JavaFX application - 3 - Serial port

javaPrevious article

Let's now start exchanging data with the device we have to handle. Doing this requires that we receive and send some data over a serial port (or a virtual serial port over USB). This has always been a pain in the neck with Java. And Java 8 did not change this. We still have to install some separate piece of software, which depends on the platform where the application is being developed or run. The most frequently used solution is RXTX. And that's the one I use in my projects. 

To install it on my Linux PC, I adhere to following steps:

  • install package librxtx-java (version 2.2pre2-11 or more recent)
  • add /usr/share/java/RXTXcomm.jar external JAR to the Eclipse project
  • right-click on the jar in the list of referenced libraries in the Eclipse project, select Properties / Native Library and enter the directory containing native libraries: /usr/lib/jni

Watch That!

logoWatch That!: discover this free game for Android smartphones and tablets. Watch every video with great care... and then complete the quiz. Unusual videos, or videos that make the buzz all have their riddle, and completing them will require observation skill and memory! But do not worry, if you are stuck, you can always replay the video afterwards.

For every riddle you solve, you earn points and progress in the ranking. With your Google+ account, compare yourself to your friends, and try to become number 1 among thousands of players worldwide.

[I cowrote a (very small) part of this game Smile]


Subscribe to Front page feed