Java 9 dependency injection : write loosely coupled code with Spring 5 and Guice
(eBook)

Book Cover
Average Rating
Contributors
Published
Birmingham, UK : Packt Publishing, 2018.
Format
eBook
ISBN
9781788296472, 1788296478
Physical Desc
1 online resource (1 volume) : illustrations
Status

Description

Loading Description...

NoveList

Syndetics Unbound

More Details

Language
English

Notes

Description
Create clean code with Dependency Injection principles About This Book Use DI to make your code loosely coupled to manage and test your applications easily on Spring 5 and Google Guice Learn the best practices and methodologies to implement DI Write more maintainable Java code by decoupling your objects from their implementations Who This Book Is For This book is for Java developers who would like to implement DI in their application. Prior knowledge of the Spring and Guice frameworks and Java programming is assumed. What You Will Learn Understand the benefits of DI and fo from a tightly coupled design to a cleaner design organized around dependencies See Java 9's new features and modular framework Set up Guice and Spring in an application so that it can be used for DI Write integration tests for DI applications Use scopes to handle complex application scenarios Integrate any third-party library in your DI-enabled application Implement Aspect-Oriented Programming to handle common cross-cutting concerns such as logging, authentication, and transactions Understand IoC patterns and anti-patterns in DI In Detail Dependency Injection (DI) is a design pattern that allows us to remove the hard-coded dependencies and make our application loosely coupled, extendable, and maintainable. We can implement DI to move the dependency resolution from compile-time to runtime. This book will be your one stop guide to write loosely coupled code using the latest features of Java 9 with frameworks such as Spring 5 and Google Guice. We begin by explaining what DI is and teaching you about IoC containers. Then you'll learn about object compositions and their role in DI. You'll find out how to build a modular application and learn how to use DI to focus your efforts on the business logic unique to your application and let the framework handle the infrastructure work to put it all together. Moving on, you'll gain knowledge of Java 9's new features and modular framework and how DI works in Java 9. Next, we'll explore Spring and Guice, the popular frameworks for DI. You'll see how to define injection keys and configure them at the framework-specific level. After that, you'll find out about the different types of scopes available in both popular frameworks. You'll see how to manage dependency of cross-cutting concerns while writing applications through aspect-oriented programming. Towards the end, you'll learn to integrate any third-party library in your DI-enabled applic...
Local note
O'Reilly,O'Reilly Online Learning: Academic/Public Library Edition

Citations

APA Citation, 7th Edition (style guide)

Patel, K., & Patel, N. (2018). Java 9 dependency injection: write loosely coupled code with Spring 5 and Guice . Packt Publishing.

Chicago / Turabian - Author Date Citation, 17th Edition (style guide)

Patel, Krunal and Nilang, Patel. 2018. Java 9 Dependency Injection: Write Loosely Coupled Code With Spring 5 and Guice. Birmingham, UK: Packt Publishing.

Chicago / Turabian - Humanities (Notes and Bibliography) Citation, 17th Edition (style guide)

Patel, Krunal and Nilang, Patel. Java 9 Dependency Injection: Write Loosely Coupled Code With Spring 5 and Guice Birmingham, UK: Packt Publishing, 2018.

Harvard Citation (style guide)

Patel, K. and Patel, N. (2018). Java 9 dependency injection: write loosely coupled code with spring 5 and guice. Birmingham, UK: Packt Publishing.

MLA Citation, 9th Edition (style guide)

Patel, Krunal,, and Nilang Patel. Java 9 Dependency Injection: Write Loosely Coupled Code With Spring 5 and Guice Packt Publishing, 2018.

Note! Citations contain only title, author, edition, publisher, and year published. Citations should be used as a guideline and should be double checked for accuracy. Citation formats are based on standards as of August 2021.

Staff View

Grouped Work ID
555d5113-af94-b2d9-19ff-39f8882b1856-eng
Go To Grouped Work

Grouping Information

Grouped Work ID555d5113-af94-b2d9-19ff-39f8882b1856-eng
Full titlejava 9 dependency injection write loosely coupled code with spring 5 and guice
Authorpatel krunal
Grouping Categorybook
Last Update2024-11-14 17:10:14PM
Last Indexed2025-02-08 04:01:04AM

Book Cover Information

Image Sourcesyndetics
First LoadedFeb 26, 2023
Last UsedFeb 7, 2025

Marc Record

First DetectedNov 09, 2022 03:49:27 PM
Last File Modification TimeNov 14, 2024 05:22:38 PM

MARC Record

LEADER04692cam a2200493 i 4500
001on1037354417
003OCoLC
00520241004212047.0
006m     o  d        
007cr unu||||||||
008180525s2018    enka    o     000 0 eng d
019 |a 1033907563|a 1034616679|a 1034654562|a 1034747063|a 1034866831
020 |a 9781788296472
020 |a 1788296478
020 |z 9781788296250
035 |a (OCoLC)1037354417|z (OCoLC)1033907563|z (OCoLC)1034616679|z (OCoLC)1034654562|z (OCoLC)1034747063|z (OCoLC)1034866831
037 |a CL0500000967|b Safari Books Online
040 |a UMI|b eng|e rda|e pn|c UMI|d YDX|d OCLCF|d STF|d TOH|d CEF|d DEBBG|d CNCEN|d G3B|d UAB|d AU@|d VLY|d OCLCQ|d OCLCO|d OCLCQ|d OCLCO|d QGK
049 |a TKLA
050 4|a QA76.73.J38
08204|a 005.133|2 23
1001 |a Patel, Krunal,|e author.
24510|a Java 9 dependency injection :|b write loosely coupled code with Spring 5 and Guice /|c Krunal Patel, Nilang Patel.
2463 |a Java nine dependency injection
264 1|a Birmingham, UK :|b Packt Publishing,|c 2018.
300 |a 1 online resource (1 volume) :|b illustrations
336 |a text|b txt|2 rdacontent
337 |a computer|b c|2 rdamedia
338 |a online resource|b cr|2 rdacarrier
520 |a Create clean code with Dependency Injection principles About This Book Use DI to make your code loosely coupled to manage and test your applications easily on Spring 5 and Google Guice Learn the best practices and methodologies to implement DI Write more maintainable Java code by decoupling your objects from their implementations Who This Book Is For This book is for Java developers who would like to implement DI in their application. Prior knowledge of the Spring and Guice frameworks and Java programming is assumed. What You Will Learn Understand the benefits of DI and fo from a tightly coupled design to a cleaner design organized around dependencies See Java 9's new features and modular framework Set up Guice and Spring in an application so that it can be used for DI Write integration tests for DI applications Use scopes to handle complex application scenarios Integrate any third-party library in your DI-enabled application Implement Aspect-Oriented Programming to handle common cross-cutting concerns such as logging, authentication, and transactions Understand IoC patterns and anti-patterns in DI In Detail Dependency Injection (DI) is a design pattern that allows us to remove the hard-coded dependencies and make our application loosely coupled, extendable, and maintainable. We can implement DI to move the dependency resolution from compile-time to runtime. This book will be your one stop guide to write loosely coupled code using the latest features of Java 9 with frameworks such as Spring 5 and Google Guice. We begin by explaining what DI is and teaching you about IoC containers. Then you'll learn about object compositions and their role in DI. You'll find out how to build a modular application and learn how to use DI to focus your efforts on the business logic unique to your application and let the framework handle the infrastructure work to put it all together. Moving on, you'll gain knowledge of Java 9's new features and modular framework and how DI works in Java 9. Next, we'll explore Spring and Guice, the popular frameworks for DI. You'll see how to define injection keys and configure them at the framework-specific level. After that, you'll find out about the different types of scopes available in both popular frameworks. You'll see how to manage dependency of cross-cutting concerns while writing applications through aspect-oriented programming. Towards the end, you'll learn to integrate any third-party library in your DI-enabled applic...
5880 |a Online resource; title from title page (Safari, viewed May 24, 2018).
590 |a O'Reilly|b O'Reilly Online Learning: Academic/Public Library Edition
63000|a Spring (Software framework)|0 http://id.loc.gov/authorities/names/n2017044371
63007|a Spring (Software framework)|2 fast
650 0|a Java (Computer program language)|0 http://id.loc.gov/authorities/subjects/sh95008574
650 0|a Application software|x Development.|0 http://id.loc.gov/authorities/subjects/sh95009362
650 6|a Java (Langage de programmation)
650 6|a Logiciels d'application|x Développement.
650 7|a Application software|x Development|2 fast
650 7|a Java (Computer program language)|2 fast
7001 |a Patel, Nilang,|e author.
85640|u https://ezproxy.knoxlib.org/login?url=https://learning.oreilly.com/library/view/~/9781788296250/?ar
938 |a YBP Library Services|b YANK|n 15330573
994 |a 92|b TKL