Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Java EE 8 Development with Eclipse

You're reading from   Java EE 8 Development with Eclipse Develop, test, and troubleshoot Java Enterprise applications rapidly with Eclipse

Arrow left icon
Product type Paperback
Published in Jun 2018
Publisher
ISBN-13 9781788833776
Length 596 pages
Edition 3rd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Ram Kulkarni Ram Kulkarni
Author Profile Icon Ram Kulkarni
Ram Kulkarni
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

1. Introducing JEE and Eclipse FREE CHAPTER 2. Creating a Simple JEE Web Application 3. Source Control Management in Eclipse 4. Creating JEE Database Applications 5. Unit Testing 6. Debugging the JEE Application 7. Creating JEE Applications with EJB 8. Creating Web Applications with Spring MVC 9. Creating Web Services 10. Asynchronous Programming with JMS 11. Java CPU Profiling and Memory Tracking 12. Microservices 13. Deploying JEE Applications in the Cloud 14. Securing JEE Applications 15. Other Books You May Enjoy

Creating database applications using JPA


In the previous section, we learned how to create the Course Management application using JDBC and JSTL. In this section, we will build the same application using JPA and JSF. We have learned how to create a web application using JSF in Chapter 2, Creating a Simple JEE Web Application. We will use much of that knowledge in this section.

As mentioned at the beginning of this chapter, JPA is an ORM framework, which is now part of the JEE specification. At the time of writing, it is in version 2.2. We will learn a lot about JPA as we develop our application.

Create the Maven project called CourseManagementJPA with group ID packt.book.jee_eclipse and artifact ID CourseManagementJPA. Eclipse JEE has great tools for creating applications using JPA, but you need to convert your project to a JPA project. We will see how to do this later in this section.

Creating user interfaces for adding courses using JSF

Before we write any data access code using JPA, let's...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image