Home » Search

About step by step

31-40 of 200Refresh
Tutorial
168

Step 1: Create a Java EE 6 Web Project

We start by creating a new Java EE 6 Web Application project in NetBeans: Open the [New Project] dialog box, e.g. by using File > New Project... Select Java Web > Web Application and click ... project with ObjectDB/JPA support. The next step is creating a JPA Entity class.
Tutorial
168

Step 1: Create a Java Project

We start by creating a new Eclipse Project, using: File > New > Project... If you are using Eclipse ... project with ObjectDB/JPA support. ObjectDB/JPA can also be added to existing projects, by adding the objectdb.jar file, using: Right Clicking on the Project > Properties > Libraries > Add External JARs... The next step is creating a JPA Entity class.
Tutorial
168

Step 1: Create a Java Project

We start by creating a new NetBeans Project: Open the [New Project] dialog box, e.g. by using File > New Project... Select Java > Java Application and click Next. Choose a Project Name (e.g. Tutorial ... with ObjectDB/JPA support. The next step is creating a JPA Entity class.
Tutorial
168

Step 1: Create a Maven Web Project

We start by creating a new Maven web project in NetBeans: Open the [New Project] dialog box, e.g. by using File > New Project... Select Maven > Maven Web Application and click Next. Choose a Project ... you should have a Maven based NetBeans web project with Spring MVC Framework and ObjectDB/JPA support. The next step is creating a JPA Entity class.
Tutorial
168

Step 2: Entity Class and Persistence Unit

as Folder Name and click Finish. Open the [New Java Class] dialog box, e.g. by right clicking ... guests in the database. We also need to configure JPA by setting a META-INF/persistence.xml file ... . The next step is adding a Spring DAO Component class that will manage Guest entity objects.
Tutorial
168

Step 6: Set the Spring XML

another xml configuration file. Open the web.xml file (under Web Pages > WEB-INF) in a text editor (by right clicking and selecting Edit or by double click and then moving to the XML tab in the editor window ... pages in the WEB-INF directory. The next step (and the last in this tutorial) is running the Spring web application.
Tutorial
168

Step 6: Set the Spring XML

another xml configuration file. Open the web.xml file (under src/main/webapp/WEB-INF) in a text editor (by right clicking and selecting Open With > Text Editor or by double click and then moving to the Source ... for JSP pages in the WEB-INF directory. The next step (and the last in this tutorial) is running the Spring web application.
Tutorial
167

Step 2: Create a Project and a Report

To use BIRT we need to create a BIRT Report project in Eclipse: Open the [New Project] dialog box, e.g. by using File > New > Project... Select Business Intelligence and Reporting Tools > Report ... the report file name (e.g. report.rptdesign) and click Finish. The next step is creating an ObjectDB data source.
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 ... (and its annotations) - the Point class is an ordinary Java class. The next step is adding a Main class
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 tutorial package node (in the [Projects] window ... . But nevertheless, this class is a valid ObjectDB entity class, despite the warning. The next step is adding a Main