About step by step

51-60 of 200Refresh
Tutorial
188

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
188

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
188

Step 2: Define a JPA Entity Class [2011-02-11]

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 ... (and its annotations) - the Point class is an ordinary Java class. The next step is adding a Main class
Tutorial
188

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 ... (and its annotations) - the Point class is an ordinary Java class. The next step is adding a Main class
Tutorial
188

Step 3: Add a Main Class

In this step we will add a main class to the project from the database:   Open the [New Java Class] dialog box by right clicking the tutorial package node (in the [Package Explorer] window) and selecting New > Class. The package name should be tutorial. Enter Main as the class name - use exactly
Tutorial
177

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
177

Step 4: Run the Application [2016-07-12]

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
177

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
177

Step 7: Run the Spring Web App

a server in your Eclipse - you can run the application now by right clicking the project node (in ... Explorer: This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual.
Tutorial
177

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.