Book description
Leverage the power of the WildFly application server from JBoss to develop modern Java EE 7 applications
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.
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
Table of contents
-
Java EE 7 Development with WildFly
- Table of Contents
- Java EE 7 Development with WildFly
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Preface
-
1. Getting Started with WildFly
-
An overview of Java EE and WildFly
- WildFly and Enterprise Application Platform
-
Welcome to Java EE 7
- JavaServer Faces 2.2 – JSR 344
- Enterprise JavaBeans 3.2 – JSR 345
- Java Persistence API 2.1 – JSR 338
- Contexts and Dependency Injection for Java EE 1.1 – JSR 346
- Java Servlet API 3.1 – JSR 340
- JAX-RS, the Java API for RESTful Web Services 2.0 – JSR 339
- Java Message Service 2.0 – JSR 343
- Bean Validation 1.1 – JSR 349
- Concurrency utilities for Java EE 1.0 – JSR 236
- Batch applications for the Java Platform 1.0 – JSR 352
- Java API for JSON Processing 1.0 – JSR 353
- Java API for WebSocket 1.0 – JSR 356
- New features in WildFly
- Installing the server and client components
- Summary
-
An overview of Java EE and WildFly
- 2. Your First Java EE Application on WildFly
- 3. Introducing Java EE 7 – EJBs
- 4. Learning Context and Dependency Injection
- 5. Combining Persistence with CDI
-
6. Developing Applications with JBoss JMS Provider
- A short introduction to JMS
- The building blocks of JMS
- Summary
- 7. Adding Web Services to Your Applications
- 8. Adding WebSockets
-
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
- Summary
-
10. Securing WildFly Applications
- Approaching the Java security API
-
Securing the transport layer
-
Enabling the Secure Socket Layer on WildFly
- Certificate management tools
- Securing the HTTP communication with a self-signed certificate
- Generating the server and client certificates
- Creating an SSL-aware security realm
- Securing HTTP communication with a certificate signed by a CA
- Securing EJB communication
- Connecting to an SSL-aware security realm
-
Enabling the Secure Socket Layer on WildFly
- Summary
- 11. Clustering WildFly Applications
- 12. Long-term Tasks' Execution
-
13. Testing Your Applications
- Test types
-
Getting started with Arquillian
- Writing an Arquillian test
- Configuring the pom.xml file
- Writing your first Arquillian test
- Running Arquillian TicketTest
- Running Arquillian tests using Spock
- ShrinkWrap Resolver
- ShrinkWrap Descriptors
- Persistence testing
- Arquillian Warp
- WebSockets testing
- Enhancing your Arquillian test
- Additional information
- Summary
- A. Rapid Development Using JBoss Forge
- Index
Product information
- Title: Java EE 7 Development with WildFly
- Author(s):
- Release date: December 2014
- Publisher(s): Packt Publishing
- ISBN: 9781782171980
You might also like
book
Mastering Java EE Development with WildFly
Your one stop solution to create highly scalable enterprise grade Java applications with WildFly. About This …
book
Beginning EJB in Java EE 8: Building Applications with Enterprise JavaBeans
Build powerful back-end business logic and complex Enterprise JavaBeans (EJB)-based applications using Java EE 8, Eclipse …
book
Beginning Java EE 7
Java Enterprise Edition (Java EE) continues to be one of the leading Java technologies and platforms. …
book
Practical JSF in Java EE 8: Web Applications in Java for the Enterprise
Master the Java EE 8 and JSF (JavaServer Faces) APIs and web framework with this practical, …