Home » Search

About server

101-110 of 200Refresh
Tutorial
3

Step 1: Create a Web Project

6 as a new server by clicking the New Runtime... button. Follow the instructions and specify
Tutorial
3

Step 3: Add a Context Listener Class

. The database will be closed when the web application stops (or when the web server shuts down), by
Tutorial
3

Step 3: Add a Context Listener Class

. The database will be closed when the web application stops (or when the web server shuts down), by
Tutorial
3

Step 3: Create an ObjectDB Data Source

). Specify an ObjectDB connection url - either embedded (e.g. c:\points.odb) or client-server (e.g
Tutorial
3

Step 4: Add a Servlet Class

session bean, which is instantiated and injected by the application server into the guestDao field
Tutorial
3

Step 4: Add a Servlet Class

the application server into the guestDao field automatically (since the field is marked with the @EJB
Tutorial
3

Step 6: Run the Java EE 6 Application

. at domains\domain1\eclipseApps\Guestbook\WEB-INF). You can stop the GlassFish server and open
Tutorial
3

Step 6: Run the Web Application

. You can stop the Tomcat server and open the database file in ObjectDB Explorer: This is the end
FAQ
3

What is ObjectDB?

database systems (RDBMS), such as Oracle, DB2, SQL Server or MySQL.
FAQ
3

What is the Java Persistence API (JPA)?

to interact with a relational database such as Oracle, DB2, SQL Server or MySQL. The popular JPA