[jboss-svn-commits] JBL Code SVN: r13448 - in labs/jbossesb/trunk/product/samples/quickstarts/native_client: war/resources/WEB-INF and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Jul 13 13:22:31 EDT 2007


Author: burrsutter
Date: 2007-07-13 13:22:31 -0400 (Fri, 13 Jul 2007)
New Revision: 13448

Modified:
   labs/jbossesb/trunk/product/samples/quickstarts/native_client/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/native_client/deployment.xml
   labs/jbossesb/trunk/product/samples/quickstarts/native_client/jbm-queue-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/native_client/jbmq-queue-service.xml
   labs/jbossesb/trunk/product/samples/quickstarts/native_client/jboss-esb.xml
   labs/jbossesb/trunk/product/samples/quickstarts/native_client/readme.txt
   labs/jbossesb/trunk/product/samples/quickstarts/native_client/war/resources/WEB-INF/web.xml
Log:
Updated: http://jira.jboss.com/jira/browse/JBESB-686

Modified: labs/jbossesb/trunk/product/samples/quickstarts/native_client/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/native_client/build.xml	2007-07-13 17:21:49 UTC (rev 13447)
+++ labs/jbossesb/trunk/product/samples/quickstarts/native_client/build.xml	2007-07-13 17:22:31 UTC (rev 13448)
@@ -1,4 +1,4 @@
-<project name="Quickstart_webservice_war1" default="deploy" basedir=".">
+<project name="Quickstart_native_client" default="deploy" basedir=".">
 	
 	<description> 
 		${ant.project.name}

Modified: labs/jbossesb/trunk/product/samples/quickstarts/native_client/deployment.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/native_client/deployment.xml	2007-07-13 17:21:49 UTC (rev 13447)
+++ labs/jbossesb/trunk/product/samples/quickstarts/native_client/deployment.xml	2007-07-13 17:22:31 UTC (rev 13448)
@@ -1,4 +1,4 @@
 <jbossesb-deployment>
-  <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_war1_esb</depends>
-  <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_war1_esb_reply</depends>
+  <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_native_client_esb</depends>
+  <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_native_client_esb_reply</depends>
 </jbossesb-deployment>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/native_client/jbm-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/native_client/jbm-queue-service.xml	2007-07-13 17:21:49 UTC (rev 13447)
+++ labs/jbossesb/trunk/product/samples/quickstarts/native_client/jbm-queue-service.xml	2007-07-13 17:22:31 UTC (rev 13448)
@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <server>
     <mbean code="org.jboss.jms.server.destination.QueueService"
-           name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_war1_esb"
+           name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_native_client_esb"
            xmbean-dd="xmdesc/Queue-xmbean.xml">
         <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
         <depends>jboss.messaging:service=PostOffice</depends>
     </mbean>
     <mbean code="org.jboss.jms.server.destination.QueueService"
-           name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_war1_esb_reply"
+           name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_native_client_esb_reply"
            xmbean-dd="xmdesc/Queue-xmbean.xml">
         <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
         <depends>jboss.messaging:service=PostOffice</depends>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/native_client/jbmq-queue-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/native_client/jbmq-queue-service.xml	2007-07-13 17:21:49 UTC (rev 13447)
+++ labs/jbossesb/trunk/product/samples/quickstarts/native_client/jbmq-queue-service.xml	2007-07-13 17:22:31 UTC (rev 13448)
@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <server>
     <mbean code="org.jboss.mq.server.jmx.Queue"
-           name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_war1_esb">
+           name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_native_client_esb">
         <depends optional-attribute-name="DestinationManager">
             jboss.mq:service=DestinationManager
         </depends>
     </mbean>
     <mbean code="org.jboss.mq.server.jmx.Queue"
-           name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_webservice_war1_esb_reply">
+           name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_native_client_esb_reply">
         <depends optional-attribute-name="DestinationManager">
             jboss.mq:service=DestinationManager
         </depends>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/native_client/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/native_client/jboss-esb.xml	2007-07-13 17:21:49 UTC (rev 13447)
+++ labs/jbossesb/trunk/product/samples/quickstarts/native_client/jboss-esb.xml	2007-07-13 17:22:31 UTC (rev 13448)
@@ -9,7 +9,7 @@
               <jms-bus busid="quickstartEsbChannel">
                   <jms-message-filter
                       dest-type="QUEUE"
-                      dest-name="queue/quickstart_webservice_war1_esb"
+                      dest-name="queue/quickstart_native_client_esb"
                   />
               </jms-bus>
 
@@ -20,7 +20,7 @@
           
         <service category="MyServiceCategory" 
                  name="MyService" 
-                 description="WS Frontend speaks natively to the ESB" >
+                 description="A WS Frontend speaks natively to the ESB" >
             <listeners>
                 <jms-listener name="JMS-ESBListener"
                               busidref="quickstartEsbChannel"
@@ -29,17 +29,17 @@
             </listeners>
             <actions>
                <action name="displayAction" 
-               		class="org.jboss.soa.esb.samples.quickstart.webservicewar1.MyAction" 
+               		class="org.jboss.soa.esb.samples.quickstart.nativeclient.MyAction" 
                		process="displayMessage">
                		<property name="exceptionMethod" value="exceptionHandler"/>
                </action>
   			       <action name="playAction" 
-  			   	    	class="org.jboss.soa.esb.samples.quickstart.webservicewar1.MyAction" 
+  			   	    	class="org.jboss.soa.esb.samples.quickstart.nativeclient.MyAction" 
   			   		    process="playWithMessage">  	               
                		<property name="exceptionMethod" value="exceptionHandler"/>
   			       </action> 
   			       <action name="displayAction" 
-               		class="org.jboss.soa.esb.samples.quickstart.webservicewar1.MyAction" 
+               		class="org.jboss.soa.esb.samples.quickstart.nativeclient.MyAction" 
                		process="displayMessage">
                		<property name="exceptionMethod" value="exceptionHandler"/>
                </action> 			       

Modified: labs/jbossesb/trunk/product/samples/quickstarts/native_client/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/native_client/readme.txt	2007-07-13 17:21:49 UTC (rev 13447)
+++ labs/jbossesb/trunk/product/samples/quickstarts/native_client/readme.txt	2007-07-13 17:22:31 UTC (rev 13448)
@@ -2,7 +2,9 @@
 =========
     This example demonstrates how to develop and host a 181 Web Service on 
     the JBoss Application Server. This Web Service is then used to make a
-    synchronous call into the ESB.
+    synchronous call into the ESB via a "native client".  This quickstart
+    has no gateway, it uses a native "ESB Aware" listener and the client
+    side code demonstrates how to use the MessageDeliveryAdapter.
   
 
 Before Running:
@@ -12,10 +14,10 @@
 2. Make sure the jbossesb.sar is deployed on your JBoss Application Server.
    In the ESB "install" folder update deployment.properties and then run "ant".
    This example does require you to use a version for 4.0.4+ with the EJB3 profile.
+   It was most recently tested on App Server 4.2.0.GA with JBoss Messaging 1.3.0.GA
 3. Make sure the JBoss Application server is running.
 
 
-
 To Run:
 =======
 1. In the first command window, execute "ant".  This will compile the project, build
@@ -26,8 +28,8 @@
 
 You should see something like the following:
 ------------------------------------------------------------------------------------------
-|   jboss.ws:context=Quickstart_webservice_war1,endpoint=HelloWorldWS                    |
-|   http://127.0.0.1:8080/Quickstart_webservice_war1/HelloWorldWS?wsdl                   |
+|   jboss.ws:context=Quickstart_native_client,endpoint=HelloWorldWS                    |
+|   http://127.0.0.1:8080/Quickstart_native_client/HelloWorldWS?wsdl                   |
 ------------------------------------------------------------------------------------------
 
 3. Use for favorite Web Service testing tool to invoke the Web Service. A great one
@@ -44,9 +46,6 @@
      [java] Body: Hello From ESB MyAction: Your Name
      [java] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
 
-The AS console should produce the following message:
-     22:47:30,531 INFO  [STDOUT] I'm Hit! Your Name  
-
 This assumes you put in "Your Name" as the parameter in your WS client testing tool.
      
      

Modified: labs/jbossesb/trunk/product/samples/quickstarts/native_client/war/resources/WEB-INF/web.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/native_client/war/resources/WEB-INF/web.xml	2007-07-13 17:21:49 UTC (rev 13447)
+++ labs/jbossesb/trunk/product/samples/quickstarts/native_client/war/resources/WEB-INF/web.xml	2007-07-13 17:22:31 UTC (rev 13448)
@@ -4,7 +4,7 @@
 <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">  
   <servlet> 
     <servlet-name>HelloWorldWS</servlet-name>  
-    <servlet-class>org.jboss.soa.esb.samples.quickstart.webservicewar1.webservice.HelloWorldWS</servlet-class>  
+    <servlet-class>org.jboss.soa.esb.samples.quickstart.nativeclient.webservice.HelloWorldWS</servlet-class>  
   </servlet>  
   
   <servlet-mapping> 




More information about the jboss-svn-commits mailing list