Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Launch Eclipse. Select File->New->Project.





  2. Select Web->Dynamic Web Project. Select Next.





  3. On the next screen give the name of the project as WebJDBC.





  4. Select default values for all other fields. Finally select Finish.





Creating a database using Administrative Console

  1. Start the server and Launch the Administrative Console using the URL http://localhost:8080/console.
  2. Enter default username and password.
  3. In the welcome page, Under Embedded DB, Select DB Manager.


    Image Added


  4. On the next page create a database userdbs and Select create.


    Image Added


  5. Once done you can see the userdbs database listed in DB Viewer portlet under Databases. This confirms that the database has been successfully created.


    Image Added


  6. As shown in the figure under Use DB, select userdbs from the dropdown box.


    Image Added