[jboss-cvs] JBossAS SVN: r101745 - in projects/docs/enterprise/EWP_5.0/Examples/resteasy-examples: resteasy-springMVC and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Mar 2 18:50:23 EST 2010


Author: laubai
Date: 2010-03-02 18:50:23 -0500 (Tue, 02 Mar 2010)
New Revision: 101745

Modified:
   projects/docs/enterprise/EWP_5.0/Examples/resteasy-examples/jaxb-json/README.txt
   projects/docs/enterprise/EWP_5.0/Examples/resteasy-examples/resteasy-springMVC/README.txt
   projects/docs/enterprise/EWP_5.0/Examples/resteasy-examples/spring-hibernate-contacts/README.txt
Log:
Reverted port changes to spring-hibernate and jaxb-json examples.

Modified: projects/docs/enterprise/EWP_5.0/Examples/resteasy-examples/jaxb-json/README.txt
===================================================================
--- projects/docs/enterprise/EWP_5.0/Examples/resteasy-examples/jaxb-json/README.txt	2010-03-02 23:28:21 UTC (rev 101744)
+++ projects/docs/enterprise/EWP_5.0/Examples/resteasy-examples/jaxb-json/README.txt	2010-03-02 23:50:23 UTC (rev 101745)
@@ -31,16 +31,16 @@
   The HTML form that pulls JSON from a JAX-RS service.
   The data includes JAXB-annotated classes marshalled to JSON using the
   Jettison mapped format:
-    http://localhost:8080/mapped.html
+    http://localhost:9095/mapped.html
 
   The HTML form that pulls JSON from a JAX-RS service.
   The data is JAXB annotated classes marshalled to JSON
   using the Jettison Badger format:
-    http://localhost:8080/badger.html
+    http://localhost:9095/badger.html
 
   To view the Mapped JSON format:
-    http://localhost:8080/resteasy/library/books/mapped.html
+    http://localhost:9095/resteasy/library/books/mapped.html
 
   To view the Badger JSON format:
-    http://localhost:8080/resteasy/library/books/badger.html
+    http://localhost:9095/resteasy/library/books/badger.html
 

Modified: projects/docs/enterprise/EWP_5.0/Examples/resteasy-examples/resteasy-springMVC/README.txt
===================================================================
--- projects/docs/enterprise/EWP_5.0/Examples/resteasy-examples/resteasy-springMVC/README.txt	2010-03-02 23:28:21 UTC (rev 101744)
+++ projects/docs/enterprise/EWP_5.0/Examples/resteasy-examples/resteasy-springMVC/README.txt	2010-03-02 23:50:23 UTC (rev 101745)
@@ -6,12 +6,12 @@
 - Jetty (embedded)
 
 
-System Requirements:
-====================
-- Maven 2.0.9 or higher
+System Requirements:
+====================
+- Maven 2.0.9 or higher
 
-
-07/07/08 Updated:
+
+07/07/08 Updated:
 =================
 
 - Added client module.
@@ -32,7 +32,7 @@
 
 - mvn jetty:run
 
-- Open a browser at the following URL to test the function:
-
-  List all available contacts:
+- Open a browser at the following URL to test the function:
+
+  List all available contacts:
   http://localhost:8080/contacts

Modified: projects/docs/enterprise/EWP_5.0/Examples/resteasy-examples/spring-hibernate-contacts/README.txt
===================================================================
--- projects/docs/enterprise/EWP_5.0/Examples/resteasy-examples/spring-hibernate-contacts/README.txt	2010-03-02 23:28:21 UTC (rev 101744)
+++ projects/docs/enterprise/EWP_5.0/Examples/resteasy-examples/spring-hibernate-contacts/README.txt	2010-03-02 23:50:23 UTC (rev 101745)
@@ -2,20 +2,20 @@
 =========================================================
 
 This project is an example of using RESTEasy with:
-- Hibernate
-- Hibernate Annotations
-- Spring
-- Jetty (embedded)
-- In-memory HSQLDB 
+- Hibernate
+- Hibernate Annotations
+- Spring
+- Jetty (embedded)
+- In-memory HSQLDB 
 - MySQL as a possible replacement to HSQLDB
 
 
-System Requirements:
-====================
-- Maven 2.0.9 or higher
+System Requirements:
+====================
+- Maven 2.0.9 or higher
 
-
-07/07/08 Updated:
+
+07/07/08 Updated:
 =================
 
 - Added client module.
@@ -34,30 +34,30 @@
 Running the Project and Testing it Manually:
 ============================================
 
-- cd services
+- cd services
 
-- mvn jetty6:run-exploded
-
-- Open a browser at the following URLs to test each function:
-
-  List all available contacts in database:
-  http://localhost:8080/services/contactservice/contacts
-
-  List a contact by Id (among the list of the previously returned list):
-  http://localhost:8080/services/contactservice/contacts/1
-    OR
-  http://localhost:8080/services/contactservice/contacts/2
-    OR
-  http://localhost:8080/services/contactservice/contacts/3
-
-  List the contacts of contacts:
-  http://localhost:8080/services/contactservice/contacts/1/contacts
-    OR
-  http://localhost:8080/services/contactservice/contacts/2/contacts
-    OR
-  http://localhost:8080/services/contactservice/contacts/3/contacts
+- mvn jetty6:run-exploded
 
+- Open a browser at the following URLs to test each function:
 
+  List all available contacts in database:
+  http://localhost:9095/services/contactservice/contacts
+
+  List a contact by Id (among the list of the previously returned list):
+  http://localhost:9095/services/contactservice/contacts/1
+    OR
+  http://localhost:9095/services/contactservice/contacts/2
+    OR
+  http://localhost:9095/services/contactservice/contacts/3
+
+  List the contacts of contacts:
+  http://localhost:9095/services/contactservice/contacts/1/contacts
+    OR
+  http://localhost:9095/services/contactservice/contacts/2/contacts
+    OR
+  http://localhost:9095/services/contactservice/contacts/3/contacts
+
+
 (Optional) Switch HSQLDB to MySQL:
 ==================================
 
@@ -67,24 +67,24 @@
 The following files MUST be changed prior to building the project, because
 permissions must be given for the database instance to work correctly.
 
-- persistence/src/main/sql/mysql/initialize.bat: 
+- persistence/src/main/sql/mysql/initialize.bat: 
   Replace:  <MYSQL_USER>      with the MySQL user that has privileges to
-                              create a database
-            <MYSQL_PASSWORD>  with the user's associated password
-  The file contains the following lines:
-            mysql -u<MYSQL_USER> -p<MYSQL_PASSWORD> < dbschema.sql
-            mysql -u<MYSQL_USER> -p<MYSQL_PASSWORD> < data.sql
-
-- persistence/src/main/resources/db.properties
+                              create a database
+            <MYSQL_PASSWORD>  with the user's associated password
+  The file contains the following lines:
+            mysql -u<MYSQL_USER> -p<MYSQL_PASSWORD> < dbschema.sql
+            mysql -u<MYSQL_USER> -p<MYSQL_PASSWORD> < data.sql
+
+- persistence/src/main/resources/db.properties
   Replace:  <MYSQL_USER>      with the MySQL user that has privileges to
-                              create a database
-            <MYSQL_PASSWORD>  with the user's associated password
+                              create a database
+            <MYSQL_PASSWORD>  with the user's associated password
             The database URL, if the MySQL instance has been configured on a
-            different machine.
-  The file contains the following lines:
-            mzt.db.username=<MYSQL_USER>
-            mzt.db.password=<MYSQL_PASSWORD>
-            mzt.db.driver=com.mysql.jdbc.Driver
+            different machine.
+  The file contains the following lines:
+            mzt.db.username=<MYSQL_USER>
+            mzt.db.password=<MYSQL_PASSWORD>
+            mzt.db.driver=com.mysql.jdbc.Driver
             mzt.db.url=jdbc:mysql://localhost/contact?useUnicode=true&characterEncoding=UTF-8
 
 




More information about the jboss-cvs-commits mailing list