[jboss-cvs] JBossAS SVN: r107196 - in projects/ejb3/trunk/docs/tutorial/ssl: META-INF and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jul 29 07:46:30 EDT 2010
Author: jaikiran
Date: 2010-07-29 07:46:29 -0400 (Thu, 29 Jul 2010)
New Revision: 107196
Added:
projects/ejb3/trunk/docs/tutorial/ssl/META-INF/jboss.xml
Modified:
projects/ejb3/trunk/docs/tutorial/ssl/build.xml
projects/ejb3/trunk/docs/tutorial/ssl/src/org/jboss/tutorial/ssl/bean/CalculatorBean.java
Log:
EJBTHREE-1650 Fixed the ssl tutorial to use ${jboss.bind.address} in jboss.xml instead of using 0.0.0.0 in @RemoteBinding annotation
Added: projects/ejb3/trunk/docs/tutorial/ssl/META-INF/jboss.xml
===================================================================
--- projects/ejb3/trunk/docs/tutorial/ssl/META-INF/jboss.xml (rev 0)
+++ projects/ejb3/trunk/docs/tutorial/ssl/META-INF/jboss.xml 2010-07-29 11:46:29 UTC (rev 107196)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<jboss xmlns="http://www.jboss.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee
+ http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
+ version="5.0">
+
+ <enterprise-beans>
+ <session>
+ <ejb-name>CalculatorBean</ejb-name>
+ <remote-binding>
+ <description>Remote binding to communicate via SSL</description>
+ <client-bind-url>sslsocket://${jboss.bind.address}:3843</client-bind-url>
+ </remote-binding>
+
+ <remote-binding>
+ <description>Remote binding to communicate via unencrypted socket</description>
+ <jndi-name>CalculatorNormal</jndi-name>
+ </remote-binding>
+
+ </session>
+ </enterprise-beans>
+</jboss>
Property changes on: projects/ejb3/trunk/docs/tutorial/ssl/META-INF/jboss.xml
___________________________________________________________________
Name: svn:executable
+ *
Modified: projects/ejb3/trunk/docs/tutorial/ssl/build.xml
===================================================================
--- projects/ejb3/trunk/docs/tutorial/ssl/build.xml 2010-07-29 11:30:27 UTC (rev 107195)
+++ projects/ejb3/trunk/docs/tutorial/ssl/build.xml 2010-07-29 11:46:29 UTC (rev 107196)
@@ -61,6 +61,7 @@
</fileset>
<fileset dir=".">
<include name="META-INF/ssl-service.xml"/>
+ <include name="META-INF/jboss.xml"/>
<include name="localhost.keystore"/>
<include name="*.properties"/>
</fileset>
Modified: projects/ejb3/trunk/docs/tutorial/ssl/src/org/jboss/tutorial/ssl/bean/CalculatorBean.java
===================================================================
--- projects/ejb3/trunk/docs/tutorial/ssl/src/org/jboss/tutorial/ssl/bean/CalculatorBean.java 2010-07-29 11:30:27 UTC (rev 107195)
+++ projects/ejb3/trunk/docs/tutorial/ssl/src/org/jboss/tutorial/ssl/bean/CalculatorBean.java 2010-07-29 11:46:29 UTC (rev 107196)
@@ -27,13 +27,11 @@
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
-import org.jboss.ejb3.annotation.RemoteBinding;
-import org.jboss.ejb3.annotation.RemoteBindings;
import org.jboss.ejb3.annotation.SecurityDomain;
@Stateless
- at RemoteBindings(
-{@RemoteBinding(clientBindUrl = "sslsocket://0.0.0.0:3843"), @RemoteBinding(jndiBinding = "CalculatorNormal")})
+//@RemoteBindings(
+//{@RemoteBinding(clientBindUrl = "sslsocket://0.0.0.0:3843"), @RemoteBinding(jndiBinding = "CalculatorNormal")})
@SecurityDomain("other")
public class CalculatorBean implements Calculator
{
More information about the jboss-cvs-commits
mailing list