Date: 2004-05-18T06:15:21 Editor: PhilipMarkDonaghy <[EMAIL PROTECTED]> Wiki: Apache Geronimo Wiki Page: HowToTutorial URL: http://wiki.apache.org/geronimo/HowToTutorial
Formatting makes it easier to read. Starting the HelloService example. Change Log: ------------------------------------------------------------------------------ @@ -1,12 +1,17 @@ -== A tutorial/HOWTO. Using Geronimo with the Sun J2EE tutorial and Geronimo DEV. Sun J2EE Tutorial version 1.4 == += A tutorial/HOWTO. Using Geronimo with the Sun J2EE tutorial and Geronimo DEV. Sun J2EE Tutorial version 1.4 = -=== Dependancies Download === +== Dependancies Download == -Download the tutorials and examples in the same [http://java.sun.com/j2ee/download.html bundle]. The file name should be j2ee-1_4-doc-tutorial_1.zip. +Download the tutorials and examples in the same [http://java.sun.com/j2ee/download.html bundle]. The file name should be j2ee-1_4-doc-tutorial_1.zip. Extract the zip file close to the incubator-geronimo target. -=== Proceedure === +== J2EE Tutorial Examples == -Extract the file. +Anchor Hello1 +Anchor HelloService + +=== Hello1 Example === + +==== Build the example ==== cd j2eetutorial14/example/web/hello1 @@ -14,11 +19,13 @@ cd build/WEB-INF -Create the file geronimo-jetty.xml +==== Create the file geronimo-jetty.xml ==== + +==== Create the war file ==== -cd .. +jar -cf ../j2eehello1.war * -jar -cf j2eehello1.war * +==== Deploy the war ==== cd incubator-geronimo/target @@ -30,12 +37,14 @@ Hmm... -Modify the hello1/build/WEB-INF/web.xml using the incubator-geronimo/target/config-store/5/war/WEB-INF/web.xml (remove servlet config and change index.vm to index.jsp) +Modify the hello1/build/WEB-INF/web.xml -java -jar bin/deployer.jar --install --module ../../../j2eetutorial14/examples/web/hello1/build/j2eehello1.war +java -jar bin/deployer.jar --install --module j2eehello1.war Solved the problem...Success! +==== Run the server ==== + java -jar bin/server.jar your/domain/Example/test http://localhost:8080/j2eehello1/ @@ -63,3 +72,5 @@ Now solve the tag library problem. Try the helloservice example but be aware that Sun's application server supports web services using an entirely different deployment process. See HowToAxisGeronimo for more on web services. + +=== HelloService Example ===
