Please see the two attached zip files.
Since I have never been able to run openejb build successfully on my machine I cannot verify that my changes do not introduce any build failures. On eclipse everything is fine and my unit tests pass. This is why I have not checked in my changes and have attached them to this Jira Item.
I added some implementation to openejb-client and openejb-server where it allows using either normal Socket tor SSLSocket.
On the server side the ServerDaemon.java checks for a "secure" property value. If the value is true then it will create an SSLServerSocket and SSLServerSocketConnectionListener for communication, otherwise it behaves as it was before.
On the client side the SocketConnectionFactory again checks for the "secure" property value to decide whether to create an SSLSocketConnection or normal SocketConnection.
How to integrate this with the rest of the system(Geranimo,...) I am not sure. I do not think this should be difficult. My changes are very modular and self-contained.
Getting these changes and without introducing the new property for secure connection, openejb should work as it has been before and default to creating normal Sockets on both client and server.
I appreciate your feedback and please let me know how I can help to get this introduced to the latest release.