Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Java EE Development with WildFly

You're reading from   Mastering Java EE Development with WildFly Create Enterprise-grade Java applications with WildFly

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781787287174
Length 468 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Luca Stancapiano Luca Stancapiano
Author Profile Icon Luca Stancapiano
Luca Stancapiano
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Introducing Java EE and Configuring the Development Environment 2. Working with Dependency Injection FREE CHAPTER 3. Persistence 4. Implementing Business Logic 5. Working with Distributed Transactions 6. Creating REST Services 7. Implementing WebSockets 8. Working with Messaging 9. Implementing a Mail Client 10. Asynchronous REST 11. Asynchronous EJB 12. Batches and Workflows 13. Working with Servlets and JSP 14. Writing a JSF Application 15. Sharing the Web Sessions 16. WildFly in Cloud 17. Share your Data 18. Deployment 19. Working with OSGi

Working with Dependency Injection

Dependency injection is a very important design principle for working simply and at the same time with major security. It lets us write a very simple code to test. Java uses this principle since Java EE 5 through the CDI specifications.

The first Java frameworks to host this technology were the following:

  • Seam: Firstly, it was a set of utilities to work better with web applications. Next, it was discontinued and integrated in the Java EE 5 specifications; now it represents the main standard that a developer must use.
  • Spring: This was the first Java dependency injection framework born exclusively for complex Java applications. Now it is an evolved set of plugins where you can build anything through dependency injection. It remains an alternative to Java EE.

Contexts and Dependency Injection (CDI) is a set of annotations and services that make...

You have been reading a chapter from
Mastering Java EE Development with WildFly
Published in: Jun 2017
Publisher: Packt
ISBN-13: 9781787287174
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime