ejbDeployment.setEjbName("MySessionBean");
ejbDeployment.addProperty("webservice.security.realm", "MyRealm");
ejbDeployment.addProperty("webservice.security.securityRealm", "MySecurityRealm");
ejbDeployment.addProperty("webservice.security.transportGarantee", TransportGuaranteeType.NONE.value());
ejbDeployment.addProperty("webservice.security.authMethod", AuthMethodType.BASIC.value());
ejbDeployment.addProperty("wss4j.in.action", "Timestamp");
ejbDeployment.addProperty("wss4j.out.action", "Timestamp");
final EjbModule ejbModule = new EjbModule(ejbJar, openejbJar);
final EjbJarInfo ejbJarInfo = new EjbJarInfo();