EJBs aren't really intended to be used directly by non-Java clients. They're heavily dependent on a
Java environment. Your best bet would be to call a Java "glue" module using CORBA.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.