Java 9 Dependency Injection :: Write loosely coupled code with Spring 5 and Guice.
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. This book will be your one stop guide to write loosely coupled code using the latest features of Java 9 with frameworks such as S...
Gespeichert in:
1. Verfasser: | |
---|---|
Weitere Verfasser: | |
Format: | Elektronisch E-Book |
Sprache: | English |
Veröffentlicht: |
Birmingham :
Packt Publishing,
2018.
|
Schlagworte: | |
Online-Zugang: | Volltext |
Zusammenfassung: | 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. 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. |
Beschreibung: | Introduction to bean scopes in Spring. |
Beschreibung: | 1 online resource (240 pages) |
ISBN: | 9781788296472 1788296478 1788296257 9781788296250 |
Internformat
MARC
LEADER | 00000cam a2200000Mi 4500 | ||
---|---|---|---|
001 | ZDB-4-EBA-on1034585120 | ||
003 | OCoLC | ||
005 | 20240705115654.0 | ||
006 | m o d | ||
007 | cr cnu---unuuu | ||
008 | 180505s2018 enk o 000 0 eng d | ||
040 | |a EBLCP |b eng |e pn |c EBLCP |d MERUC |d IDB |d CHVBK |d OCLCO |d OCLCF |d NLE |d TEFOD |d OCLCQ |d UKMGB |d LVT |d UKAHL |d C6I |d OCLCQ |d UX1 |d K6U |d N$T |d OCLCO |d NZAUC |d OCLCQ |d OCLCO |d TMA |d OCLCQ |d SXB | ||
015 | |a GBB882184 |2 bnb | ||
016 | 7 | |a 018853873 |2 Uk | |
019 | |a 1175632847 | ||
020 | |a 9781788296472 |q (electronic bk.) | ||
020 | |a 1788296478 |q (electronic bk.) | ||
020 | |a 1788296257 |q (Trade Paper) | ||
020 | |a 9781788296250 | ||
024 | 3 | |a 9781788296250 | |
035 | |a (OCoLC)1034585120 |z (OCoLC)1175632847 | ||
037 | |a 2900B45A-472A-460E-A140-E54F3E1B04FE |b OverDrive, Inc. |n http://www.overdrive.com | ||
050 | 4 | |a QA76.73.J38 |b .P384 2018eb | |
082 | 7 | |a 005.133 |2 23 | |
049 | |a MAIN | ||
100 | 1 | |a Patel, Nilang. | |
245 | 1 | 0 | |a Java 9 Dependency Injection : |b Write loosely coupled code with Spring 5 and Guice. |
260 | |a Birmingham : |b Packt Publishing, |c 2018. | ||
300 | |a 1 online resource (240 pages) | ||
336 | |a text |b txt |2 rdacontent | ||
337 | |a computer |b c |2 rdamedia | ||
338 | |a online resource |b cr |2 rdacarrier | ||
588 | 0 | |a Print version record. | |
505 | 0 | |a Cover; Title Page; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Why Dependency Injection?; Design patterns; Dependency Inversion Principle; Inversion of Control; Implementing DIP through IoC; Inverting the interface; Inverting object creation ; Different ways to invert object creation; Inversion of object creation through the factory pattern; Inversion of object creation through service locator; Dependency injection; Dependency injection types; Constructor injection; Setter injection; Interface injection; IoC containers; Summary. | |
505 | 8 | |a Chapter 2: Dependency Injection in Java 9Java 9 introduction; Key features; Java Platform Module System; JShell (REPL) -- The Java Shell; JLink -- Module Linker; Multi-release JAR files; Stream API enhancements; Stack-walking API; Immutable collections with convenient factory methods; HTTP/2.0 support; Modular Framework in Java 9; What is modularity?; Java Platform Module System; The need for a Java modular system; Modular JDK ; What is a module?; Structure of a module; Module Descriptor (module-info.java); Module types; Dependency Injection using the Java 9 Modular Framework. | |
505 | 8 | |a Modules with Service LoaderService (API) module; Service provider (Implementation) module; Service client application; Writing modular code using a command-line interface; Defining dependency between modules; Compiling and running modules; Summary; Chapter 3: Dependency Injection with Spring; A brief introduction to Spring framework; Spring framework architecture; Core container layer; Data access/integration layer; Spring web layer; Spring test; Miscellaneous; Bean management in Spring container; Spring IoC container; Configuration; Containers in action; Dependency Injection (DI) in Spring. | |
505 | 8 | |a Constructor-based DISetter-based DI; Spring DI with the factory method; Static factory method ; Instance (non-static) factory method; Auto-wiring in Spring; Auto-wiring by name; Auto-wiring by type; Auto-wiring by constructor; Annotation-based DI; DI through XML configuration; Defining annotation; Activating annotation-based configuration; Defining a Java class as with annotation; Annotation with the factory method; DI with Java configuration; Summary; Chapter 4: Dependency Injection with Google Guice; A brief introduction to the Google Guice framework; Guice setup. | |
505 | 8 | |a Dependency injection and JSR-330Example of simple DI; Basic injection in Guice; Guice API and Phases; Start up phase; Module interface; The AbstractModule class; Binder; Injector; Guice; Provider; Runtime phase; Guice annotations; Inject; ProvidedBy; ImplementedBy; @Named; Binding in Guice; Linked bindings; Instance bindings; Untargeted bindings; Constructor bindings; Built-in bindings; Just-in-time Bindings; Binding annotations; Guice injection; Constructor Injection; Method injection; Field injection; Optional injection; Static injection; Summary; Chapter 5: Scopes. | |
500 | |a Introduction to bean scopes in Spring. | ||
520 | |a 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. 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. | ||
650 | 0 | |a Java. | |
650 | 0 | |a Application software |x Development. |0 http://id.loc.gov/authorities/subjects/sh95009362 | |
650 | 6 | |a Logiciels d'application |x Développement. | |
650 | 7 | |a Application software |x Development |2 fast | |
655 | 4 | |a Electronic book. | |
700 | 1 | |a Patel, Krunal. | |
776 | 0 | 8 | |i Print version: |a Patel, Nilang. |t Java 9 Dependency Injection : Write loosely coupled code with Spring 5 and Guice. |d Birmingham : Packt Publishing, ©2018 |
856 | 1 | |l FWS01 |p ZDB-4-EBA |q FWS_PDA_EBA |u https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1801016 |3 Volltext | |
856 | 1 | |l CBO01 |p ZDB-4-EBA |q FWS_PDA_EBA |u https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1801016 |3 Volltext | |
938 | |a Askews and Holts Library Services |b ASKH |n BDZ0036672652 | ||
938 | |a EBL - Ebook Library |b EBLB |n EBL5371685 | ||
938 | |a EBSCOhost |b EBSC |n 1801016 | ||
994 | |a 92 |b GEBAY | ||
912 | |a ZDB-4-EBA |
Datensatz im Suchindex
DE-BY-FWS_katkey | ZDB-4-EBA-on1034585120 |
---|---|
_version_ | 1813903790296793088 |
adam_text | |
any_adam_object | |
author | Patel, Nilang |
author2 | Patel, Krunal |
author2_role | |
author2_variant | k p kp |
author_facet | Patel, Nilang Patel, Krunal |
author_role | |
author_sort | Patel, Nilang |
author_variant | n p np |
building | Verbundindex |
bvnumber | localFWS |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.73.J38 .P384 2018eb |
callnumber-search | QA76.73.J38 .P384 2018eb |
callnumber-sort | QA 276.73 J38 P384 42018EB |
callnumber-subject | QA - Mathematics |
collection | ZDB-4-EBA |
contents | Cover; Title Page; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Why Dependency Injection?; Design patterns; Dependency Inversion Principle; Inversion of Control; Implementing DIP through IoC; Inverting the interface; Inverting object creation ; Different ways to invert object creation; Inversion of object creation through the factory pattern; Inversion of object creation through service locator; Dependency injection; Dependency injection types; Constructor injection; Setter injection; Interface injection; IoC containers; Summary. Chapter 2: Dependency Injection in Java 9Java 9 introduction; Key features; Java Platform Module System; JShell (REPL) -- The Java Shell; JLink -- Module Linker; Multi-release JAR files; Stream API enhancements; Stack-walking API; Immutable collections with convenient factory methods; HTTP/2.0 support; Modular Framework in Java 9; What is modularity?; Java Platform Module System; The need for a Java modular system; Modular JDK ; What is a module?; Structure of a module; Module Descriptor (module-info.java); Module types; Dependency Injection using the Java 9 Modular Framework. Modules with Service LoaderService (API) module; Service provider (Implementation) module; Service client application; Writing modular code using a command-line interface; Defining dependency between modules; Compiling and running modules; Summary; Chapter 3: Dependency Injection with Spring; A brief introduction to Spring framework; Spring framework architecture; Core container layer; Data access/integration layer; Spring web layer; Spring test; Miscellaneous; Bean management in Spring container; Spring IoC container; Configuration; Containers in action; Dependency Injection (DI) in Spring. Constructor-based DISetter-based DI; Spring DI with the factory method; Static factory method ; Instance (non-static) factory method; Auto-wiring in Spring; Auto-wiring by name; Auto-wiring by type; Auto-wiring by constructor; Annotation-based DI; DI through XML configuration; Defining annotation; Activating annotation-based configuration; Defining a Java class as with annotation; Annotation with the factory method; DI with Java configuration; Summary; Chapter 4: Dependency Injection with Google Guice; A brief introduction to the Google Guice framework; Guice setup. Dependency injection and JSR-330Example of simple DI; Basic injection in Guice; Guice API and Phases; Start up phase; Module interface; The AbstractModule class; Binder; Injector; Guice; Provider; Runtime phase; Guice annotations; Inject; ProvidedBy; ImplementedBy; @Named; Binding in Guice; Linked bindings; Instance bindings; Untargeted bindings; Constructor bindings; Built-in bindings; Just-in-time Bindings; Binding annotations; Guice injection; Constructor Injection; Method injection; Field injection; Optional injection; Static injection; Summary; Chapter 5: Scopes. |
ctrlnum | (OCoLC)1034585120 |
dewey-full | 005.133 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.133 |
dewey-search | 005.133 |
dewey-sort | 15.133 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>05457cam a2200589Mi 4500</leader><controlfield tag="001">ZDB-4-EBA-on1034585120</controlfield><controlfield tag="003">OCoLC</controlfield><controlfield tag="005">20240705115654.0</controlfield><controlfield tag="006">m o d </controlfield><controlfield tag="007">cr cnu---unuuu</controlfield><controlfield tag="008">180505s2018 enk o 000 0 eng d</controlfield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">EBLCP</subfield><subfield code="b">eng</subfield><subfield code="e">pn</subfield><subfield code="c">EBLCP</subfield><subfield code="d">MERUC</subfield><subfield code="d">IDB</subfield><subfield code="d">CHVBK</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCF</subfield><subfield code="d">NLE</subfield><subfield code="d">TEFOD</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">UKMGB</subfield><subfield code="d">LVT</subfield><subfield code="d">UKAHL</subfield><subfield code="d">C6I</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">UX1</subfield><subfield code="d">K6U</subfield><subfield code="d">N$T</subfield><subfield code="d">OCLCO</subfield><subfield code="d">NZAUC</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">TMA</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">SXB</subfield></datafield><datafield tag="015" ind1=" " ind2=" "><subfield code="a">GBB882184</subfield><subfield code="2">bnb</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">018853873</subfield><subfield code="2">Uk</subfield></datafield><datafield tag="019" ind1=" " ind2=" "><subfield code="a">1175632847</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781788296472</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1788296478</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1788296257</subfield><subfield code="q">(Trade Paper)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781788296250</subfield></datafield><datafield tag="024" ind1="3" ind2=" "><subfield code="a">9781788296250</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)1034585120</subfield><subfield code="z">(OCoLC)1175632847</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">2900B45A-472A-460E-A140-E54F3E1B04FE</subfield><subfield code="b">OverDrive, Inc.</subfield><subfield code="n">http://www.overdrive.com</subfield></datafield><datafield tag="050" ind1=" " ind2="4"><subfield code="a">QA76.73.J38</subfield><subfield code="b">.P384 2018eb</subfield></datafield><datafield tag="082" ind1="7" ind2=" "><subfield code="a">005.133</subfield><subfield code="2">23</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">MAIN</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Patel, Nilang.</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Java 9 Dependency Injection :</subfield><subfield code="b">Write loosely coupled code with Spring 5 and Guice.</subfield></datafield><datafield tag="260" ind1=" " ind2=" "><subfield code="a">Birmingham :</subfield><subfield code="b">Packt Publishing,</subfield><subfield code="c">2018.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 online resource (240 pages)</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="a">text</subfield><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="a">computer</subfield><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="a">online resource</subfield><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="588" ind1="0" ind2=" "><subfield code="a">Print version record.</subfield></datafield><datafield tag="505" ind1="0" ind2=" "><subfield code="a">Cover; Title Page; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Why Dependency Injection?; Design patterns; Dependency Inversion Principle; Inversion of Control; Implementing DIP through IoC; Inverting the interface; Inverting object creation ; Different ways to invert object creation; Inversion of object creation through the factory pattern; Inversion of object creation through service locator; Dependency injection; Dependency injection types; Constructor injection; Setter injection; Interface injection; IoC containers; Summary.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Chapter 2: Dependency Injection in Java 9Java 9 introduction; Key features; Java Platform Module System; JShell (REPL) -- The Java Shell; JLink -- Module Linker; Multi-release JAR files; Stream API enhancements; Stack-walking API; Immutable collections with convenient factory methods; HTTP/2.0 support; Modular Framework in Java 9; What is modularity?; Java Platform Module System; The need for a Java modular system; Modular JDK ; What is a module?; Structure of a module; Module Descriptor (module-info.java); Module types; Dependency Injection using the Java 9 Modular Framework.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Modules with Service LoaderService (API) module; Service provider (Implementation) module; Service client application; Writing modular code using a command-line interface; Defining dependency between modules; Compiling and running modules; Summary; Chapter 3: Dependency Injection with Spring; A brief introduction to Spring framework; Spring framework architecture; Core container layer; Data access/integration layer; Spring web layer; Spring test; Miscellaneous; Bean management in Spring container; Spring IoC container; Configuration; Containers in action; Dependency Injection (DI) in Spring.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Constructor-based DISetter-based DI; Spring DI with the factory method; Static factory method ; Instance (non-static) factory method; Auto-wiring in Spring; Auto-wiring by name; Auto-wiring by type; Auto-wiring by constructor; Annotation-based DI; DI through XML configuration; Defining annotation; Activating annotation-based configuration; Defining a Java class as with annotation; Annotation with the factory method; DI with Java configuration; Summary; Chapter 4: Dependency Injection with Google Guice; A brief introduction to the Google Guice framework; Guice setup.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Dependency injection and JSR-330Example of simple DI; Basic injection in Guice; Guice API and Phases; Start up phase; Module interface; The AbstractModule class; Binder; Injector; Guice; Provider; Runtime phase; Guice annotations; Inject; ProvidedBy; ImplementedBy; @Named; Binding in Guice; Linked bindings; Instance bindings; Untargeted bindings; Constructor bindings; Built-in bindings; Just-in-time Bindings; Binding annotations; Guice injection; Constructor Injection; Method injection; Field injection; Optional injection; Static injection; Summary; Chapter 5: Scopes.</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Introduction to bean scopes in Spring.</subfield></datafield><datafield tag="520" ind1=" " ind2=" "><subfield code="a">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. 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.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Java.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Application software</subfield><subfield code="x">Development.</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh95009362</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Logiciels d'application</subfield><subfield code="x">Développement.</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Application software</subfield><subfield code="x">Development</subfield><subfield code="2">fast</subfield></datafield><datafield tag="655" ind1=" " ind2="4"><subfield code="a">Electronic book.</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Patel, Krunal.</subfield></datafield><datafield tag="776" ind1="0" ind2="8"><subfield code="i">Print version:</subfield><subfield code="a">Patel, Nilang.</subfield><subfield code="t">Java 9 Dependency Injection : Write loosely coupled code with Spring 5 and Guice.</subfield><subfield code="d">Birmingham : Packt Publishing, ©2018</subfield></datafield><datafield tag="856" ind1="1" ind2=" "><subfield code="l">FWS01</subfield><subfield code="p">ZDB-4-EBA</subfield><subfield code="q">FWS_PDA_EBA</subfield><subfield code="u">https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1801016</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="856" ind1="1" ind2=" "><subfield code="l">CBO01</subfield><subfield code="p">ZDB-4-EBA</subfield><subfield code="q">FWS_PDA_EBA</subfield><subfield code="u">https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1801016</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">Askews and Holts Library Services</subfield><subfield code="b">ASKH</subfield><subfield code="n">BDZ0036672652</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">EBL - Ebook Library</subfield><subfield code="b">EBLB</subfield><subfield code="n">EBL5371685</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">EBSCOhost</subfield><subfield code="b">EBSC</subfield><subfield code="n">1801016</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">92</subfield><subfield code="b">GEBAY</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-4-EBA</subfield></datafield></record></collection> |
genre | Electronic book. |
genre_facet | Electronic book. |
id | ZDB-4-EBA-on1034585120 |
illustrated | Not Illustrated |
indexdate | 2024-10-25T16:24:17Z |
institution | BVB |
isbn | 9781788296472 1788296478 1788296257 9781788296250 |
language | English |
oclc_num | 1034585120 |
open_access_boolean | |
owner | MAIN |
owner_facet | MAIN |
physical | 1 online resource (240 pages) |
psigel | ZDB-4-EBA |
publishDate | 2018 |
publishDateSearch | 2018 |
publishDateSort | 2018 |
publisher | Packt Publishing, |
record_format | marc |
spelling | Patel, Nilang. Java 9 Dependency Injection : Write loosely coupled code with Spring 5 and Guice. Birmingham : Packt Publishing, 2018. 1 online resource (240 pages) text txt rdacontent computer c rdamedia online resource cr rdacarrier Print version record. Cover; Title Page; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Why Dependency Injection?; Design patterns; Dependency Inversion Principle; Inversion of Control; Implementing DIP through IoC; Inverting the interface; Inverting object creation ; Different ways to invert object creation; Inversion of object creation through the factory pattern; Inversion of object creation through service locator; Dependency injection; Dependency injection types; Constructor injection; Setter injection; Interface injection; IoC containers; Summary. Chapter 2: Dependency Injection in Java 9Java 9 introduction; Key features; Java Platform Module System; JShell (REPL) -- The Java Shell; JLink -- Module Linker; Multi-release JAR files; Stream API enhancements; Stack-walking API; Immutable collections with convenient factory methods; HTTP/2.0 support; Modular Framework in Java 9; What is modularity?; Java Platform Module System; The need for a Java modular system; Modular JDK ; What is a module?; Structure of a module; Module Descriptor (module-info.java); Module types; Dependency Injection using the Java 9 Modular Framework. Modules with Service LoaderService (API) module; Service provider (Implementation) module; Service client application; Writing modular code using a command-line interface; Defining dependency between modules; Compiling and running modules; Summary; Chapter 3: Dependency Injection with Spring; A brief introduction to Spring framework; Spring framework architecture; Core container layer; Data access/integration layer; Spring web layer; Spring test; Miscellaneous; Bean management in Spring container; Spring IoC container; Configuration; Containers in action; Dependency Injection (DI) in Spring. Constructor-based DISetter-based DI; Spring DI with the factory method; Static factory method ; Instance (non-static) factory method; Auto-wiring in Spring; Auto-wiring by name; Auto-wiring by type; Auto-wiring by constructor; Annotation-based DI; DI through XML configuration; Defining annotation; Activating annotation-based configuration; Defining a Java class as with annotation; Annotation with the factory method; DI with Java configuration; Summary; Chapter 4: Dependency Injection with Google Guice; A brief introduction to the Google Guice framework; Guice setup. Dependency injection and JSR-330Example of simple DI; Basic injection in Guice; Guice API and Phases; Start up phase; Module interface; The AbstractModule class; Binder; Injector; Guice; Provider; Runtime phase; Guice annotations; Inject; ProvidedBy; ImplementedBy; @Named; Binding in Guice; Linked bindings; Instance bindings; Untargeted bindings; Constructor bindings; Built-in bindings; Just-in-time Bindings; Binding annotations; Guice injection; Constructor Injection; Method injection; Field injection; Optional injection; Static injection; Summary; Chapter 5: Scopes. Introduction to bean scopes in Spring. 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. 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. Java. Application software Development. http://id.loc.gov/authorities/subjects/sh95009362 Logiciels d'application Développement. Application software Development fast Electronic book. Patel, Krunal. Print version: Patel, Nilang. Java 9 Dependency Injection : Write loosely coupled code with Spring 5 and Guice. Birmingham : Packt Publishing, ©2018 FWS01 ZDB-4-EBA FWS_PDA_EBA https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1801016 Volltext CBO01 ZDB-4-EBA FWS_PDA_EBA https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1801016 Volltext |
spellingShingle | Patel, Nilang Java 9 Dependency Injection : Write loosely coupled code with Spring 5 and Guice. Cover; Title Page; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Why Dependency Injection?; Design patterns; Dependency Inversion Principle; Inversion of Control; Implementing DIP through IoC; Inverting the interface; Inverting object creation ; Different ways to invert object creation; Inversion of object creation through the factory pattern; Inversion of object creation through service locator; Dependency injection; Dependency injection types; Constructor injection; Setter injection; Interface injection; IoC containers; Summary. Chapter 2: Dependency Injection in Java 9Java 9 introduction; Key features; Java Platform Module System; JShell (REPL) -- The Java Shell; JLink -- Module Linker; Multi-release JAR files; Stream API enhancements; Stack-walking API; Immutable collections with convenient factory methods; HTTP/2.0 support; Modular Framework in Java 9; What is modularity?; Java Platform Module System; The need for a Java modular system; Modular JDK ; What is a module?; Structure of a module; Module Descriptor (module-info.java); Module types; Dependency Injection using the Java 9 Modular Framework. Modules with Service LoaderService (API) module; Service provider (Implementation) module; Service client application; Writing modular code using a command-line interface; Defining dependency between modules; Compiling and running modules; Summary; Chapter 3: Dependency Injection with Spring; A brief introduction to Spring framework; Spring framework architecture; Core container layer; Data access/integration layer; Spring web layer; Spring test; Miscellaneous; Bean management in Spring container; Spring IoC container; Configuration; Containers in action; Dependency Injection (DI) in Spring. Constructor-based DISetter-based DI; Spring DI with the factory method; Static factory method ; Instance (non-static) factory method; Auto-wiring in Spring; Auto-wiring by name; Auto-wiring by type; Auto-wiring by constructor; Annotation-based DI; DI through XML configuration; Defining annotation; Activating annotation-based configuration; Defining a Java class as with annotation; Annotation with the factory method; DI with Java configuration; Summary; Chapter 4: Dependency Injection with Google Guice; A brief introduction to the Google Guice framework; Guice setup. Dependency injection and JSR-330Example of simple DI; Basic injection in Guice; Guice API and Phases; Start up phase; Module interface; The AbstractModule class; Binder; Injector; Guice; Provider; Runtime phase; Guice annotations; Inject; ProvidedBy; ImplementedBy; @Named; Binding in Guice; Linked bindings; Instance bindings; Untargeted bindings; Constructor bindings; Built-in bindings; Just-in-time Bindings; Binding annotations; Guice injection; Constructor Injection; Method injection; Field injection; Optional injection; Static injection; Summary; Chapter 5: Scopes. Java. Application software Development. http://id.loc.gov/authorities/subjects/sh95009362 Logiciels d'application Développement. Application software Development fast |
subject_GND | http://id.loc.gov/authorities/subjects/sh95009362 |
title | Java 9 Dependency Injection : Write loosely coupled code with Spring 5 and Guice. |
title_auth | Java 9 Dependency Injection : Write loosely coupled code with Spring 5 and Guice. |
title_exact_search | Java 9 Dependency Injection : Write loosely coupled code with Spring 5 and Guice. |
title_full | Java 9 Dependency Injection : Write loosely coupled code with Spring 5 and Guice. |
title_fullStr | Java 9 Dependency Injection : Write loosely coupled code with Spring 5 and Guice. |
title_full_unstemmed | Java 9 Dependency Injection : Write loosely coupled code with Spring 5 and Guice. |
title_short | Java 9 Dependency Injection : |
title_sort | java 9 dependency injection write loosely coupled code with spring 5 and guice |
title_sub | Write loosely coupled code with Spring 5 and Guice. |
topic | Java. Application software Development. http://id.loc.gov/authorities/subjects/sh95009362 Logiciels d'application Développement. Application software Development fast |
topic_facet | Java. Application software Development. Logiciels d'application Développement. Application software Development Electronic book. |
url | https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1801016 |
work_keys_str_mv | AT patelnilang java9dependencyinjectionwritelooselycoupledcodewithspring5andguice AT patelkrunal java9dependencyinjectionwritelooselycoupledcodewithspring5andguice |