舉報

會員
Java EE 8 Development with Eclipse
IfyouareaJavadeveloperwithlittleornoexperienceinJavaEEapplicationdevelopment,orifyouhaveexperienceinJavaEEtechnologybutarelookingfortipstosimplifyandaccelerateyourdevelopmentprocess,thenthisbookisforyou.
最新章節
- Leave a review - let other readers know what you think
- Other Books You May Enjoy
- Summary
- Implementing portable security in JEE 8
- Security enhancements in JEE 8
- Securing web services
品牌:中圖公司
上架時間:2021-06-18 18:01:08
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Leave a review - let other readers know what you think 更新時間:2021-06-18 19:00:54
- Other Books You May Enjoy
- Summary
- Implementing portable security in JEE 8
- Security enhancements in JEE 8
- Securing web services
- Securing servlets using annotations
- Securing applications in Tomcat
- Form-based authentication with a JDBC realm in GlassFish
- Basic authentication with the JDBC realm in GlassFish
- Configuring a JDBC realm in GlassFish
- Protecting access to folders in web applications
- Securing applications in GlassFish
- Modifying a database to save authentication information
- Authentication and authorization in JEE
- Securing JEE Applications
- Summary
- Deploying the application in Google App Engine
- Installing Docker in a VM instance
- Creating a VM instance in Google Compute Engine
- Deploying the application in Google Compute Engine
- Setting Eclipse Preferences for Google Cloud Tools
- Installing Google Cloud Tools for Eclipse
- Installing Java extensions for the App Engine SDK
- Installing the Google Cloud SDK
- Setting up Google Cloud Tools
- Deploying in Google Cloud
- Creating Elastic Beanstalk application from Eclipse
- Installing the CourseManagmenet REST service using Elastic Beanstalk
- Configuring the datasource in the GlassFish 5 Server
- Installing the MySQL server
- Installing the GlassFish 5 Server
- Installing the CourseManagement EJB application in the EC2 instance
- Launching the EC2 instance
- Installing the AWS Toolkit for Eclipse
- Creating the user group and user
- Deploying in AWS Cloud
- Deploying in the cloud
- Deploying JEE Applications in the Cloud
- Summary
- Running containers using Docker Compose
- Deploying microservices in a Docker container
- Creating MySQL container
- Creating a Docker network
- Setting up Docker Tooling in Eclipse
- Docker commands
- Dockerfile
- How to use Docker
- How to get Docker
- What is Docker?
- Deploying microservices in a Docker container
- Implementing microservices using Spring Boot
- Creating a course entity bean and a JPA factory
- Configuring JPA
- Creating a WildFly Swarm project
- Implementing microservices using WildFly Swarm
- Setting up a database for a microservice project
- Eclipse MicroProfile
- What is a microservice?
- Microservices
- Summary
- Eclipse plugins for profiling memory
- Memory tracking
- Identifying resource contention
- Profiling the Java application
- Creating a sample Java project for profiling
- Java CPU Profiling and Memory Tracking
- Summary
- Consuming JMS messages using MDBs
- Creating JMS application using JSF and CDI beans
- Implementing JMS topic subscriber
- Implementing JMS topic publisher
- Adding multiple queue listeners
- Implementing JMS queue receiver class
- Implementing JMS queue sender class
- Executing addCourse.jsp
- Creating JMS application using JSP and JSP bean
- Creating JEE project for a JMS application
- Creating queues and topics in GlassFish
- Steps to send and receive messages using JMS
- Asynchronous Programming with JMS
- Summary
- Handling exceptions
- Handling interfaces in RPC-style web services
- Inspecting SOAP messages
- Specifying an argument name in a web service operation
- Consuming a web service using JAX-WS
- Implementing a web service using an interface
- Inspecting WSDL
- Using JAX-WS reference implementation (Glassfish Metro)
- Creating a web service implementation class
- Developing web services in Java
- UDDI
- WSDL
- SOAP
- SOAP web services
- A RESTful web service using JSON-B
- Creating a Java client for a form-encoded RESTful web service
- Creating a RESTful web service with form POST
- Invoking a POST RESTful web service from JavaScript
- Writing a Java client for the REST POST web service
- Implementing a REST POST request
- Creating a Java client for the REST GET web service
- Testing the REST GET request in the browser
- Implementing a REST GET request
- Creating RESTful web services using Jersey
- RESTful web services
- A JSON-B example
- JSON-B
- A JAXB example
- JAXB
- What is a web service?
- Creating Web Services
- Summary
- Creating the course list view
- Creating CourseDAO and Controller
- Creating the Course entity
- Configuring JPA
- Spring MVC application using JPA
- Using Spring interceptors
- Using parameters in @RequestMapping
- Mapping data using @ModelAttribute
- Creating View
- Creating the Spring MVC Controller
- Using the Spring JDBCTemplate class
- Configuring a datasource
- Building the Spring MVC application using JDBC
- Understanding files created by the Spring MVC project template
- Creating a Spring project
- Creating a Spring MVC application
- Installing Spring Tool Suite
- Component scopes
- Dependency injection in Spring
- Dependency injection
- Creating Web Applications with Spring MVC
- Summary
- Creating a JEE project using Maven
- Creating EAR for deployment outside Eclipse
- Running the example
- Creating JSF and managed beans
- Creating stateless EJB
- Creating a JPA entity
- Configuring JPA in an Eclipse project
- Configuring datasources in GlassFish
- Creating EJB projects in Eclipse
- Creating a Course Management application using EJB
- Configuring the GlassFish Server in Eclipse
- Accessing remote session beans
- Creating session beans using remote business interface
- Accessing session beans using JNDI lookup
- Creating session beans using local business interface
- Accessing session beans using dependency injection
- Creating a no-interface session bean
- Accessing session beans from a client
- Singleton session beans
- Stateless session beans
- Stateful session beans
- Session beans
- Types of EJB
- Creating JEE Applications with EJB
- Summary
- Using the debugger to know the status of program execution
- Debugging an application in an externally configured Tomcat
- Inspecting variable values
- Performing step operations and inspecting variables
- Running the application in Debug mode
- Setting breakpoints
- Starting Tomcat in Debug mode
- Debugging a web application using Tomcat in Eclipse EE
- Debugging a remote Java application
- Debugging the JEE Application
- Summary
- Calculating unit test coverage
- Using Mockito
- Mocking external dependencies for unit tests
- Running unit test cases using Maven
- Running unit test cases
- Creating unit test cases
- Creating and executing unit tests using Eclipse JEE
- Introducing JUnit
- Unit Testing
- Summary
- Wiring user interface with JPA service classes
- Using JPA APIs to manage data
- Creating database tables from entities
- Configuring many-to-many relationships
- Configuring many-to-one relationships
- Configuring entity relationships
- Creating entities
- Converting a project into a JPA project
- Setting up a Maven dependency for JPA
- Creating a new MySQL schema
- Creating a JPA application
- EntityManagerFactory
- EntityManager
- Entity
- JPA concepts
- Creating user interfaces for adding courses using JSF
- Creating database applications using JPA
- Using Eclipse Data Source Explorer
- Completing add course functionality
- Getting courses from database tables using JDBC
- Saving courses in database tables using JDBC
- Using a JDBC database connection pool
- Handling transactions
- Executing SQL statements
- Creating database connections
- JDBC concepts
- Creating JSP to add a course
- Creating JavaBeans for data storage
- Creating a project and setting up Maven dependencies
- Creating a database application using JDBC
- Creating tables in MySQL
- Script to create tables and relationships
- Creating database schema
- Creating JEE Database Applications
- Summary
- Cloning a remote repository
- Pulling changes from a remote repository
- Committing a project to a remote repository
- Creating a new branch
- Viewing file differences after modifications
- Committing files in the Git repository
- Adding a project to Git
- Eclipse Git plugin
- Checking out a project from SVN
- Synchronizing with an SVN repository
- Committing changes to an SVN repository
- Adding projects to an SVN repository
- Installing the Eclipse Subversion plugin
- The Eclipse subversion plugin
- Source Control Management in Eclipse
- Summary
- Creating a WAR file using Maven
- Maven project structure
- Adding Maven dependencies
- Exploring the POM
- Maven archetype
- Creating a Maven project
- Maven views and preferences in Eclipse JEE
- Using Maven for project management
- JavaServer Faces
- Creating WAR
- Java Servlet
- Using JSTL
- Using JavaBeans in JSP
- Running JSP in Tomcat
- Creating JSP
- Creating a dynamic web project
- JavaServer Pages
- Configuring Tomcat in Eclipse
- Creating a Simple JEE Web Application
- Summary
- Creating MySQL users
- Installing MySQL on Linux
- Installing MySQL on macOS X
- Installing MySQL on Windows
- Installing MySQL
- Installing the GlassFish server
- Installing the Tomcat server
- Installing Eclipse
- Installing products
- Eclipse preferences
- Perspective
- Editors and views
- Plugin
- Workspace
- Eclipse IDE
- Web services
- Java Connector Architecture
- The Java Persistence API
- Java Database Connectivity
- The enterprise integration layer
- Enterprise JavaBeans
- The business layer
- JavaServer Faces
- JavaServer Pages
- Java Servlets
- The presentation layer
- JEE
- Introducing JEE and Eclipse
- PacktPub.com
- Why subscribe?
- Packt Upsell
- Dedication
- 版權信息
- 封面
- 封面
- 版權信息
- 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
- JavaServer Pages
- Creating a dynamic web project
- Creating JSP
- Running JSP in Tomcat
- Using JavaBeans in JSP
- Using JSTL
- Java Servlet
- Creating WAR
- JavaServer Faces
- 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
- Summary
- 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
- Summary
- 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
- Configuring many-to-one relationships
- Configuring many-to-many relationships
- Creating database tables from entities
- Using JPA APIs to manage data
- Wiring user interface with JPA service classes
- Summary
- Unit Testing
- Introducing JUnit
- Creating and executing unit tests using Eclipse JEE
- Creating unit test cases
- Running unit test cases
- Running unit test cases using Maven
- Mocking external dependencies for unit tests
- Using Mockito
- Calculating unit test coverage
- Summary
- Debugging the JEE Application
- Debugging a remote Java application
- Debugging a web application using Tomcat in Eclipse EE
- Starting Tomcat in Debug mode
- Setting breakpoints
- Running the application in Debug mode
- Performing step operations and inspecting variables
- Inspecting variable values
- Debugging an application in an externally configured Tomcat
- Using the debugger to know the status of program execution
- Summary
- Creating JEE Applications with EJB
- Types of EJB
- Session beans
- Stateful session beans
- Stateless session beans
- Singleton session beans
- Accessing session beans from a client
- Creating a no-interface session bean
- Accessing session beans using dependency injection
- Creating session beans using local business interface
- Accessing session beans using JNDI lookup
- Creating session beans using remote business interface
- Accessing remote session beans
- Configuring the GlassFish Server in Eclipse
- Creating a Course Management application using EJB
- Creating EJB projects in Eclipse
- Configuring datasources in GlassFish
- Configuring JPA in an Eclipse project
- Creating a JPA entity
- Creating stateless EJB
- Creating JSF and managed beans
- Running the example
- Creating EAR for deployment outside Eclipse
- Creating a JEE project using Maven
- Summary
- Creating Web Applications with Spring MVC
- Dependency injection
- Dependency injection in Spring
- Component scopes
- Installing Spring Tool Suite
- Creating a Spring MVC application
- Creating a Spring project
- Understanding files created by the Spring MVC project template
- Building the Spring MVC application using JDBC
- Configuring a datasource
- Using the Spring JDBCTemplate class
- Creating the Spring MVC Controller
- Creating View
- Mapping data using @ModelAttribute
- Using parameters in @RequestMapping
- Using Spring interceptors
- Spring MVC application using JPA
- Configuring JPA
- Creating the Course entity
- Creating CourseDAO and Controller
- Creating the course list view
- Summary
- Creating Web Services
- What is a web service?
- JAXB
- A JAXB example
- JSON-B
- A JSON-B example
- RESTful web services
- Creating RESTful web services using Jersey
- Implementing a REST GET request
- Testing the REST GET request in the browser
- Creating a Java client for the REST GET web service
- Implementing a REST POST request
- Writing a Java client for the REST POST web service
- Invoking a POST RESTful web service from JavaScript
- Creating a RESTful web service with form POST
- Creating a Java client for a form-encoded RESTful web service
- A RESTful web service using JSON-B
- SOAP web services
- SOAP
- WSDL
- UDDI
- Developing web services in Java
- Creating a web service implementation class
- Using JAX-WS reference implementation (Glassfish Metro)
- Inspecting WSDL
- Implementing a web service using an interface
- Consuming a web service using JAX-WS
- Specifying an argument name in a web service operation
- Inspecting SOAP messages
- Handling interfaces in RPC-style web services
- Handling exceptions
- Summary
- Asynchronous Programming with JMS
- Steps to send and receive messages using JMS
- Creating queues and topics in GlassFish
- Creating JEE project for a JMS application
- Creating JMS application using JSP and JSP bean
- Executing addCourse.jsp
- Implementing JMS queue sender class
- Implementing JMS queue receiver class
- Adding multiple queue listeners
- Implementing JMS topic publisher
- Implementing JMS topic subscriber
- Creating JMS application using JSF and CDI beans
- Consuming JMS messages using MDBs
- Summary
- Java CPU Profiling and Memory Tracking
- Creating a sample Java project for profiling
- Profiling the Java application
- Identifying resource contention
- Memory tracking
- Eclipse plugins for profiling memory
- Summary
- Microservices
- What is a microservice?
- Eclipse MicroProfile
- Setting up a database for a microservice project
- Implementing microservices using WildFly Swarm
- Creating a WildFly Swarm project
- Configuring JPA
- Creating a course entity bean and a JPA factory
- Implementing microservices using Spring Boot
- Deploying microservices in a Docker container
- What is Docker?
- How to get Docker
- How to use Docker
- Dockerfile
- Docker commands
- Setting up Docker Tooling in Eclipse
- Creating a Docker network
- Creating MySQL container
- Deploying microservices in a Docker container
- Running containers using Docker Compose
- Summary
- Deploying JEE Applications in the Cloud
- Deploying in the cloud
- Deploying in AWS Cloud
- Creating the user group and user
- Installing the AWS Toolkit for Eclipse
- Launching the EC2 instance
- Installing the CourseManagement EJB application in the EC2 instance
- Installing the GlassFish 5 Server
- Installing the MySQL server
- Configuring the datasource in the GlassFish 5 Server
- Installing the CourseManagmenet REST service using Elastic Beanstalk
- Creating Elastic Beanstalk application from Eclipse
- Deploying in Google Cloud
- Setting up Google Cloud Tools
- Installing the Google Cloud SDK
- Installing Java extensions for the App Engine SDK
- Installing Google Cloud Tools for Eclipse
- Setting Eclipse Preferences for Google Cloud Tools
- Deploying the application in Google Compute Engine
- Creating a VM instance in Google Compute Engine
- Installing Docker in a VM instance
- Deploying the application in Google App Engine
- Summary
- Securing JEE Applications
- Authentication and authorization in JEE
- Modifying a database to save authentication information
- Securing applications in GlassFish
- Protecting access to folders in web applications
- Configuring a JDBC realm in GlassFish
- Basic authentication with the JDBC realm in GlassFish
- Form-based authentication with a JDBC realm in GlassFish
- Securing applications in Tomcat
- Securing servlets using annotations
- Securing web services
- Security enhancements in JEE 8
- Implementing portable security in JEE 8
- Summary
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時間:2021-06-18 19:00:54