Gentlepeople,
I am using beep with tls to communicate between an OSGi gateway and a
J2EE server. Both can initiate communication. I have a problem in the
gateway. My code tries to instantiate a TLSProfile with
TLSProfile.getDefaultInstance() which uses the current threads
classloader. I have no control on what thread calls my code however. I
could change the (beepcore)code to set the classloader to use or I could
instantiate TLSProfileJSSE directly from my code. I tend to the first
option. Does somebody have some arguments for me, please? One way or the
other.
thanks,
|