Example EJB3 annotation to enable secure remote invocation
Example 15.3. EJB3 bean annotation to enable secure remote invocation The annotation binds an EJB3 bean to the JNDI name StatefulSSL . The proxy implementing the remote interface, returned to a client when the bean is requested from JNDI, communicates with the server via SSL. @RemoteBinding(clientBindUrl="sslsocket://0.0.0.0:3843", jndiBinding="StatefulSSL") @Remote(BusinessInterface.class) public class StatefulBean implements BusinessInterface { ... } Note In Example 15.3, “EJB3 bean annotation to enable secure remote invocation” the IP address is specified as 0.0.0.0, meaning "all interfaces". Change this to the value of the ${jboss.bind.address} system property.