My Account Log in

3 options

Java EE 8 development with eclipse : develop, test, and troubleshoot java enterprise applications rapidly with eclipse / Ram Kulkarni.

EBSCOhost Academic eBook Collection (North America) Available online

View online

Ebook Central Academic Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Kulkarni, R. (Ram), author.
Language:
English
Subjects (All):
Java (Computer program language).
Application software--Development.
Application software.
Physical Description:
1 online resource (586 pages)
Edition:
Third edition.
Other Title:
Java Enterprise Edition eight development with Eclipse
Place of Publication:
Birmingham, UK ; Mumbai : Packt, 2018.
System Details:
text file
Summary:
Develop and deploy fully functional applications and microservices utilising Tomcat, Glassfish servers, Cloud and docker in Java EE 8 About This Book Explore the complete workflow of developing enterprise Java applications Develop microservices with Docker Container and deploy it in cloud Simplify Java EE application development Who This Book Is For If you are a Java developer with little or no experience in Java EE application development, or if you have experience in Java EE technology but are looking for tips to simplify and accelerate your development process, then this book is for you. What You Will Learn Set up Eclipse, Tomcat, and Glassfish servers for Java EE application development Use JSP, Servlet, JSF, and EJBs to create a user interface and write business logic Create Java EE database applications using JDBC and JPA Handle asynchronous messages using MDBs for better scalability Deploy and debug Java EE applications and create SOAP and REST web services Write unit tests and calculate code coverage Use Eclipse MAT (Memory Analysis Tool) to debug memory issues Create and deploy microservices In Detail Java EE is one of the most popular tools for enterprise application design and development. With recent changes to Java EE 8 specifications, Java EE application development has become a lot simpler with the new specifications, some of which compete with the existing specifications. This guide provides a complete overview of developing highly performant, robust and secure enterprise applications with Java EE with Eclipse. The book begins by exploring different Java EE technologies and how to use them (JSP, JSF, JPA, JDBC, EJB, and more), along with suitable technologies for different scenarios. You will learn how to set up the development environment for Java EE applications and understand Java EE specifications in detail, with an emphasis on examples. The book takes you through deployment of an application in Tomcat, GlassFish Servers, and also in the cloud. It goes beyond the basics and covers topics like debugging, testing, deployment, and securing your Java EE applications. You'll also get to know techniques to develop cloud-ready microservices in Java EE. Style and approach This guide takes a step-by-step approach to developing, testing, debugging, and troubleshooting Java EE applications, complete with examples and tips. Downloading the example code for this book You can download the example code files for all Packt books you ha...
Contents:
Cover
Title Page
Copyright and Credits
Dedication
Packt Upsell
Contributors
Table of Contents
Preface
Chapter 1: 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
Chapter 2: 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
Chapter 3: 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
Chapter 4: 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
Chapter 5: 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
Chapter 6: 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
Chapter 7: 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
Chapter 8: 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
Chapter 9: 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
Chapter 10: 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
Chapter 11: 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
Chapter 12: 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
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
Running containers using Docker Compose
Chapter 13: 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
Chapter 14: 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.
Notes:
Previous edition published: 2015.
Description based on print version record.
ISBN:
9781523125340
1523125349
9781788833882
1788833880
OCLC:
1045051110

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account