1 22 23 package org.jboss.ejb3.test.ssl; 24 25 import java.io.Serializable ; 26 27 import javax.ejb.Stateless ; 28 import javax.ejb.Remote ; 29 30 import org.jboss.annotation.ejb.Clustered; 31 import org.jboss.annotation.ejb.RemoteBinding; 32 import org.jboss.annotation.ejb.RemoteBindings; 33 import org.jboss.annotation.ejb.Clustered; 34 import org.jboss.annotation.ejb.RemoteBinding; 35 36 41 @Stateless 42 @Clustered 43 @RemoteBindings({ 44 @RemoteBinding(clientBindUrl="sslsocket://0.0.0.0:3843", jndiBinding="StatelessClusteredSSL"), 45 @RemoteBinding(clientBindUrl="socket://0.0.0.0:3873", jndiBinding="StatelessClusteredNormal") 46 }) 47 @Remote (BusinessInterface.class) 48 public class StatelessClusteredBean implements BusinessInterface, Serializable 49 { 50 public String echo(String s) 51 { 52 return "*** " + s + " ***"; 53 } 54 } 55 | Popular Tags |