Free Sample
+ Collection

Java EE 7 Development with WildFly

Michał Ćmil, Michał Matłoka, Francesco Marchioni

Leverage the power of the WildFly application server from JBoss to develop modern Java EE 7 applications
RRP $29.99
RRP $49.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782171980
Paperback434 pages

About This Book

  • Develop Java EE 7 applications using the WildFly platform
  • Discover how to manage your WildFly production environment
  • A step-by-step tutorial guide to help you get a firm grip on WildFly to create engaging applications

Who This Book Is For

If you are a Java developer who wants to learn about Java EE, this is the book for you. It's also ideal for developers who already have experience with the Java EE platform but would like to learn more about the new Java EE 7 features by analyzing fully functional sample applications using the new application server WildFly.

Table of Contents

Chapter 1: Getting Started with WildFly
An overview of Java EE and WildFly
New features in WildFly
Installing the server and client components
Chapter 2: Your First Java EE Application on WildFly
WildFly 8 core concepts
The WildFly 8 directory layout
Managing the application server
Launching the web console
Deploying your first application to WildFly 8
Chapter 3: Introducing Java EE 7 – EJBs
EJB 3.2 – an overview
Developing singleton EJBs
Deploying the EJB application
Creating a remote EJB client
Chapter 4: Learning Context and Dependency Injection
Introducing Contexts and Dependency Injection
Chapter 5: Combining Persistence with CDI
Data persistence meets the standard
Adding persistence to our application
Creating the Maven project
Configuring persistence
Chapter 6: Developing Applications with JBoss JMS Provider
A short introduction to JMS
The building blocks of JMS
Chapter 7: Adding Web Services to Your Applications
Developing SOAP-based web services
Developing REST-based web services
Choosing between SOAP and REST services
Chapter 8: Adding WebSockets
An overview of WebSockets
How do WebSockets work
Creating our first endpoint
Expanding our client application
An alternative to WebSockets
Chapter 9: Managing the Application Server
Entering the WildFly CLI
Using advanced languages to create powerful CLI scripts
Using the raw management API to manage the application server
Role-based security
Patching a running instance
Chapter 10: Securing WildFly Applications
Approaching the Java security API
Securing the transport layer
Chapter 11: Clustering WildFly Applications
Clustering basics
WildFly clustering
Deploying clustered applications
Web application clustering
Chapter 12: Long-term Tasks' Execution
The overview of the batching framework
Chapter 13: Testing Your Applications
Test types
Getting started with Arquillian

What You Will Learn

  • Design reliable and efficient applications based on Enterprise Java Beans and Context and Dependency Injection
  • Set up and manage your own WildFly application server for different development scenarios
  • Store your data without binding yourself to a specific database provider using the Java Persistence API
  • Create message-based applications using Java Messaging System and integrate third-party systems into them using Java Connector Architecture
  • Distribute and secure your enterprise applications by using built-in mechanisms from WildFly and Java EE 7
  • Decide between using SOAP and JAX-RS web services to create your external API
  • Discover the new side of web applications by exploring WebSockets and their usage scenarios
  • Test your application using a real environment with Arquillian

In Detail

Java Enterprise Edition is a well-known platform for application development. Its seventh release brings many new features and API improvements. WildFly is a successor of the JBoss Application Server family and fully implements the Java EE 7 standards.

Java EE 7 Development with WildFly shows you how to use the latest version of the Java EE 7 platform, including its most advanced features. Every topic is presented using working examples that are prepared to work out of the box with the new WildFly application server. This book will give you an insight into JBoss' message-oriented middleware, which allows you to loosely couple heterogeneous systems together, while typically providing reliability and many other features.

By the end of the book, you will have covered important topics such as learning the most important info about Java EE technologies, what changes the Java EE 7 brought, and how to use JBoss Forge scaffolding mechanisms (for example AngularJS) and perform endpoint generation, including JAX-RS.


Read More