Vous n'êtes pas connecté. Connexion
|
|
Design Patterns Java EE 6De $1/p/span, reference to undefined name 'table' Software installationYou will use both Eclipse/Weblogic/MySQL and netbeans 7.2/glassfish/JavaDB for these exercises. Why two different environments ? Because developement with JSF 2 is a lot easier with netbeans and we do not have much time... So, some examples will be run using Eclipse, some other using netbeans... Install Weblogic + Oracle enterprise pack for eclipseInstall the file named oepe-indigo-installer-12.1.1.0.1.201203120349-12.1.1-win32.exe get all the default options. We assume that there is a JDK installed on your system. Once the installation is finished, look at your windows start menu and run "Oracle Enterprise Pack For Eclipse/Weblogic server 12c/Tools/configuration wizard" and create a default domain, using the default options. The instructor will show on the video projector what to set. When prompted for an admin password, try to enter one you will remember !!!! Normally, if everything went fine, you should see a new menu in your start menu: "Oracle Enterprise Pack for Eclipse/user projects/base domain"... from this menu you can start the admin server, then when the admin server has been started (in a dos window you should see the message "server started in RUNNING mode"...), you can use the menu to open the admin console. If there is an error there, something went wrong, call your instructor... Install MySQLThere are many version of MySQL installers available. We provide a zip that do not need any install at all. Just unzip the file mysql-noinstall-5.1.35-win32.zip in c:\mysql for example. In order to run the MySQL server, open a DOS window, go to c:\mysql\bin\ and run "mysqld.exe", this will start the MySQL daemon. Open another DOS window, go to the same directory and run "mysql.exe -u root", the admin tool. Enter "show databases;" to see all the databases available. This should display a table with some prefefined databases. The Bookstore example : shows JSP / Servlet model 2 approach (MVC)This tutorial is available on the web at : http://wiki4.caucho.com/Java_EE_Tuto...d_Servlets_3.0 but we will just use it with WebLogic instead of with the Resin server.
|
Powered by MindTouch Deki Open Source Edition v.8.08 |