Home Page Icon
Home Page
Table of Contents for
Advanced Java® EE Development with WildFly®
Close
Advanced Java® EE Development with WildFly®
by Deepak Vohra
Advanced Java® EE Development with WildFly®
Advanced Java® EE Development with WildFly®
Table of Contents
Advanced Java® EE Development with WildFly®
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Disclaimer
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with EJB 3.x
Setting up the Environment
Creating a WildFly runtime
Creating a Java EE project
Configuring a data source with MySQL database
Creating entities
Creating a JPA persistence configuration file
Creating a session bean facade
Creating a JSP client
Configuring the jboss-ejb3-ejb subproject
Configuring the jboss-ejb3-web subproject
Configuring the jboss-ejb3-ear subproject
Deploying the EAR module
Running the JSP client
Configuring a Java EE 7 Maven project
Summary
2. Developing Object/Relational Mapping with Hibernate 4
Setting up the environment
Creating a Java EE web project
Creating a Hibernate XML Mapping file
Creating a properties file
Creating a Hibernate configuration file
Creating JSPs for CRUD
Creating the JavaBean class
Exporting schema
Creating table data
Retrieving table data
Updating a table row
Deleting a table row
Installing the Maven project
Running a schema export
Creating table rows
Retrieving table data
Updating the table
Deleting the table row
Summary
3. Developing JSF 2.x Facelets
Setting up the environment
Creating a Java EE web project
Creating a managed bean
Creating a Facelets template
Creating header and footer
Creating input and output Facelets composition pages
Creating a web descriptor
Deploying the web project with Maven
Running the Facelets application
Summary
4. Using Ajax
Setting up the environment
Creating a Java EE web project
Creating a user interface
Creating a servlet
Deploying the Ajax application with Maven
Running the Ajax application
Summary
5. Using GWT
Setting up the environment
Running the starter project on WildFly 8.1
Creating a GWT project in Eclipse
Deploying the starter project to WildFly 8.1
Running the starter project on WildFly 8.1
Creating a new GWT project
Creating a GWT module
Creating an entry-point class
Creating an HTML host page
Deploying the GWT project with Maven
Running the GWT project
Summary
6. Developing a JAX-WS 2.2 Web Service
Setting up the environment
Creating a Java EE web project
Creating a web descriptor
Creating a JAX-WS web service
Creating a web service client
Deploying the JAX-WS application with Maven
Running the JAX-WS application
Summary
7. Developing a JAX-RS 1.1 Web Service
Setting up the environment
Creating a Java EE web project
Creating a sample RESTful web service
Deploying the RESTful web service
Running the RESTful web service
Creating a Java client
Running the Java client
Creating a JSP client
Running the JSP client
Summary
8. Using Spring MVC 4.1
Setting up the environment
Creating a Spring MVC project
Creating a JPA configuration file
Creating the Model
Creating the Data Access Object design pattern
Creating a web descriptor
Creating a request handler
Creating the View
Creating a Spring MVC context
Deploying the Spring project with Maven
Creating deployment structure and infrastructure deployment descriptors
Installing the Spring MVC Maven project
Running the Spring MVC application
Summary
9. Using JAX-RS 2.0 in Java EE 7 with RESTEasy
Setting up the environment
Creating a Java EE web project
The Client API
Creating a client instance
Accessing a resource
Setting a query parameter
Setting a template parameter
Filters and interceptors
Creating a client filter
Creating a container filter
Asynchronous processing
Suspended response
Resuming request processing
Resuming a request with a suspend timeout handler
Cancelling a request
Session bean EJB resource
Making an asynchronous call from the client
Fixing a common issue
Summary
10. Processing JSON with Java EE 7
Setting up the environment
Creating a Maven project
Creating JSON
Parsing JSON
Processing JSON in a RESTful web service
JsonArray as a return type in the resource method for a GET request
Encoding a JsonObject object for a GET request
JsonObject as a parameter type in the resource method for a POST request
Summary
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Table of Contents
Next
Next Chapter
Advanced Java® EE Development with WildFly®
Advanced Java
®
EE Development with WildFly
®
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset