Simple web database application with Eclipse and Glassfish

I just started learning Eclipse with the Glassfish server. I looked around how I can make a simple web database application, but I still can’t understand. I downloaded the Glassfish package for Eclipse. I need to create a simple database (maybe one table) and mount the database using a simple web application. How to do it in Eclipse, can you give me a step by step link, how can I do it? thank you

+5
source share
4 answers

If you decide to use Apache Derby as a database, its version called JavaDB comes with the jee6 + Glassfish package, you can read this tutorial on how to connect to it and create tables from Eclipse. You need to download the Apache Derby plugin.

This has nothing to do with Glassfish, however this example shows how to connect to it from a regular Java application using JDBC.

+3
source

For a database, you can do worse than using JavaDb , which comes standard with Java 6. Check out the JDBC tutorial for more information on how Java interacts with the database.

+4
source

Tip Of The Day, , , ....

+3
+2

All Articles