更新时间:2021-06-18 19:00:54
封面
版权信息
Dedication
Packt Upsell
Why subscribe?
PacktPub.com
Introducing JEE and Eclipse
JEE
The presentation layer
Java Servlets
JavaServer Pages
JavaServer Faces
The business layer
Enterprise JavaBeans
The enterprise integration layer
Java Database Connectivity
The Java Persistence API
Java Connector Architecture
Web services
Eclipse IDE
Workspace
Plugin
Editors and views
Perspective
Eclipse preferences
Installing products
Installing Eclipse
Installing the Tomcat server
Installing the GlassFish server
Installing MySQL
Installing MySQL on Windows
Installing MySQL on macOS X
Installing MySQL on Linux
Creating MySQL users
Summary
Creating a Simple JEE Web Application
Configuring Tomcat in Eclipse
Creating a dynamic web project
Creating JSP
Running JSP in Tomcat
Using JavaBeans in JSP
Using JSTL
Java Servlet
Creating WAR
Using Maven for project management
Maven views and preferences in Eclipse JEE
Creating a Maven project
Maven archetype
Exploring the POM
Adding Maven dependencies
Maven project structure
Creating a WAR file using Maven
Source Control Management in Eclipse
The Eclipse subversion plugin
Installing the Eclipse Subversion plugin
Adding projects to an SVN repository
Committing changes to an SVN repository
Synchronizing with an SVN repository
Checking out a project from SVN
Eclipse Git plugin
Adding a project to Git
Committing files in the Git repository
Viewing file differences after modifications
Creating a new branch
Committing a project to a remote repository
Pulling changes from a remote repository
Cloning a remote repository
Creating JEE Database Applications
Creating database schema
Script to create tables and relationships
Creating tables in MySQL
Creating a database application using JDBC
Creating a project and setting up Maven dependencies
Creating JavaBeans for data storage
Creating JSP to add a course
JDBC concepts
Creating database connections
Executing SQL statements
Handling transactions
Using a JDBC database connection pool
Saving courses in database tables using JDBC
Getting courses from database tables using JDBC
Completing add course functionality
Using Eclipse Data Source Explorer
Creating database applications using JPA
Creating user interfaces for adding courses using JSF
JPA concepts
Entity
EntityManager
EntityManagerFactory
Creating a JPA application
Creating a new MySQL schema
Setting up a Maven dependency for JPA
Converting a project into a JPA project
Creating entities
Configuring entity relationships