Author: dan.j.allen
Date: 2010-06-16 14:59:28 -0400 (Wed, 16 Jun 2010)
New Revision: 13190
Modified:
examples/trunk/booking-simplified/readme.txt
Log:
notes
Modified: examples/trunk/booking-simplified/readme.txt
===================================================================
--- examples/trunk/booking-simplified/readme.txt 2010-06-16 18:38:58 UTC (rev 13189)
+++ examples/trunk/booking-simplified/readme.txt 2010-06-16 18:59:28 UTC (rev 13190)
@@ -1,3 +1,17 @@
+You will need to start JavaDB to make the application run
+
+$GLASSFISH_HOME/bin/asadmin start-database
+
+However, there should be an option with the GlassFish server plugin in both
+NetBeans and Eclipse to automatically start it when GlassFish starts. Unlike
+JBoss AS, the default data source is a client/server instance.
+
+Eclipse:
+Window > Preferences > GlassFish Preferences > Start the JavaDB database process
when starting GlassFish Server
+
+NetBeans:
+Services (View) > Services (Node) > GlassFish (Entry) > Properties (Context menu
item) > Start Registered Derby Server
+
Installing Hibernate 3.5 (JPA 2) on GlassFish 3
-----------------------------------------------
wget
http://dlc.sun.com.edgesuite.net/glassfish/v3.0.1/promoted/glassfish-3.0....
@@ -6,3 +20,15 @@
./bin/updatetool (may have to run it twice if it's not already installed)
GlassFish Server Open Source Edition > Available Add-ons > Hibernate JPA
Install
+
+GlassFish settings
+------------------
+Disable preserving sessions across server restarts
+
+Viewing data in JavaDB
+----------------------
+Create a database connection to the following database
+
+URL: jdbc:derby://localhost:1527/sun-appserv-samples
+Username: APP
+Password: APP