Home » Search

About step by step

41-50 of 200Refresh
Tutorial
167

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window ... . The next step is adding a context listener class that will manage a JPA's EntityManagerFactory representing the ObjectDB database.
Tutorial
167

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Projects] window ... . But nevertheless, this class is a valid ObjectDB entity class, despite the warning. The next step
Tutorial
167

Step 3: Create an ObjectDB Data Source

Connections to the database are represented in BIRT as data sources. To create an ObjectDB data source: Open the [New Data Source] dialog box by right clicking the Data Sources node in the [Data ... . The next step is using this data source to create a data set for the BIRT report.
Tutorial
153

Step 4: Run the Application

You can run the application now by right clicking the Main.java node (in the [Package Explorer] window) and selecting Run As > Java Application. The expected output in the Eclipse [Console] window ... of the database file by opening it in the ObjectDB Explorer: This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual.
Tutorial
153

Step 4: Run the Application

You can run the application now by right clicking the Main node (in the [Projects] window ... an additional 1,000 objects. You can view the content of the database file by opening it in the ObjectDB Explorer: This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual.
Tutorial
153

Step 6: Run the Java EE 6 Application

You can run the application now by right clicking the GuestServlet node (in the [Projects] window), selecting Run File, and then clicking OK (no need to change the servlet execution URI ... the database file in ObjectDB Explorer: This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual.
Tutorial
153

Step 6: Run the Java EE 6 Application

You can run the application now by right clicking the GuestServlet node (in the [Project Explorer] window) and selecting Run As > Run on Server > Finish: Since we are using ObjectDB in embedded mode ... : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual.
Tutorial
153

Step 6: Run the Web Application

You can run the application now by right clicking the GuestServlet node (in the [Project Explorer] window) and selecting Run As > Run on Server > Finish: Since we are using ObjectDB in embedded mode ... the database file in ObjectDB Explorer: This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual.
Tutorial
153

Step 6: Run the Web Application

You can run the application now by right clicking the GuestServlet node (in the [Projects] window), selecting Run File, and then clicking OK (no need to change the servlet execution URI ... of the tutorial. Learn more about ObjectDB and JPA by reading the Manual.
Tutorial
153

Step 7: Run the Spring Web App

as a server in your NetBeans - you should be able to run your application now by selecting Run > Run ... ) is automatically enabled without specifying a Java agent. This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual.