Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by willianmaja: http://wiki.apache.org/ws/Tuscany/TuscanyJava/DAS_Java_Overview/RDBDAS_HOWTO_HelloDASApp The comment on the change is: It's not finished. It'll get more detailed and will be more "step-by-step" ------------------------------------------------------------------------------ A. Initial Setup: - 1- Install Tomcat{latest version} and Mysql{latest version}.<br> + 1- Install Tomcat{latest version} and Mysql{latest version}. + - 2- Download dependencies and libraries<br> + 2- Download dependencies and libraries + - 3- create companyweb directory in {Tomcat root}/webapps/. EX: {Tomcat root}/webapps/companyweb<br> + 3- create companyweb directory in {Tomcat root}/webapps/. EX: {Tomcat root}/webapps/companyweb + - 4- Create the directory {Tomcat root}/webapps/companyweb/WEB-INF/lib and put the libraries in it. Otherwise you can put them in {Tomcat root}/common/lib<br> + 4- Create the directory {Tomcat root}/webapps/companyweb/WEB-INF/lib and put the libraries in it. Otherwise you can put them in {Tomcat root}/common/lib + - 5- The required libraries are:<br> + 5- The required libraries are: + - i) common-{latest version}.jar<br> + i) common-{latest version}.jar + - ii) ecore-{latest version}.jar<br> + ii) ecore-{latest version}.jar + + iii) ecore-change-{latest version}.jariv) ecore-xmi-{lateste version}.jarv) log4j-{latest version}.jar + - iii) ecore-change-{latest version}.jar<br> - iv) ecore-xmi-{lateste version}.jar<br> - v) log4j-{latest version}.jar<br> - vi) sdo-api-xxx.jar<br> - vii) tuscany-das-rdb-xxx.jar<br> + vi) sdo-api-xxx.jarvii) tuscany-das-rdb-xxx.jar - viii) tuscany-sdo-xxx.jar<br> - ix) xsd-{latest version}.jar<br> + + viii) tuscany-sdo-xxx.jarix) xsd-{latest version}.jar + - x) mysql-connector-java-{latest version}.jar<br> + x) mysql-connector-java-{latest version}.jar + + B. Creating CompanyWeb Database 1- Run the following commands in the Mysql Command Shell @@ -27, +35 @@ 2- Create a companydatabase.sql and inser source {path}/companyweb.sql // Executes the script to create tables, constraints, etc. - C.Creating XML configuration file + C. Creating XML configuration file 1- Create the file CompanyConfig.xml in the directory {Tomcat root}/webapps/companyweb/WEB-INF/classes 2- Edit it and write the following code: @@ -58, +66 @@ </Config> - 3- Save the file. + 3- Save the file. D. Creating the class wich manages the DAS/SDO features 1- Create the file CompanyCLient.java in the directory {Tomcat root}/webapps/companyweb/WEB-INF/classes/org/apache/tuscany/samples/das/companyweb + 2- Write the following code in the file : + --HOW to make the jsp. http://people.apache.org/~kelvingoodson/das_java/RC4b/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
