Click on Next > to enter your connection details as shown in the following screenshot:
JavaDB is installed in our workstation. Therefore, use localhost as the server name.
By default, JavaDB listens to port 1527, so that is the port we specify in the URL. We
wish to connect to a database called jpaintro , so we specify it as the database name.
Every JavaDB database contains a schema named APP , since by default each user
uses a schema named after his/her own login name. The easiest way to get going is
to create a user named APP and selecting a password for this user.
Since the jpaintro database does not exist yet, we need to create it. We can do this
by clicking on Connection Properties and entering a property named create with
a value true .