This tutorial is just a brief introduction but not the complete one and will be refreshed later.
First, use ami-26df324f (Amazon EC2 instance with Fedora Linux + Java installed)
Go http://docs.sun.com/app/docs/doc/820-7690/ggssq?l=en&a=view download glassfishv3 and install
that is:
http://dlc.sun.com.edgesuite.net/glassfish/v3/release/glassfish-v3.zip
how to use bin/asadmin
http://docs.sun.com/app/docs/doc/820-7689/aboaa?l=en&a=view
install mysql
http://www.thegeekstuff.com/2008/07/howto-install-mysql-on-linux/
remember 32-bit client and server one is safer to install
Download mysql java connector and put in glassfish/domains/domain1/lib/ext
the jar file
reference link:
http://bhapca.blogspot.com/2009/06/class-name-is-wrong-or-classpath-is-not.html
refer local glassfish admin console, add below in server glassfish admin console
add
resources -> jdbc -> jdbc resources / connection pools
and deploy (just upload war file) it in autodeploy folder (domain1)
your post is good. its beneficial me.. keep posting buddy