Buy Java Application Architecture by Kirk Knoernschild
close menu
Bookswagon
search
My Account
Home > Computer programming / software engineering > Object-oriented programming (OOP) > Java Application Architecture: Modularity Patterns with Examples Using OSGi(Robert C. Martin Series)
Java Application Architecture: Modularity Patterns with Examples Using OSGi(Robert C. Martin Series)

Java Application Architecture: Modularity Patterns with Examples Using OSGi(Robert C. Martin Series)


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

“I’m dancing! By god I’m dancing on the walls. I’m dancing on the ceiling. I’m ecstatic. I’m overjoyed. I’m really, really pleased.”

–From the Foreword by Robert C. Martin (a.k.a. Uncle Bob)

 

This isn’t the first book on Java application architecture. No doubt it won’t be the last. But rest assured, this title is different. The way we develop Java applications is about to change, and this title explores the new way of Java application architecture.

 

Over the past several years, module frameworks have been gaining traction on the Java platform, and upcoming versions of Java will include a module system that allows you to leverage the power of modularity to build more resilient and flexible software systems. Modularity isn’t a new concept. But modularity will change the way we develop Java applications, and you’ll only be able to realize the benefits if you understand how to design more modular software systems.

 

Java Application Architecture will help you

 

  • Design modular software that is extensible, reusable, maintainable, and adaptable
  • Design modular software today, in anticipation of future platform support for modularity
  • Break large software systems into a flexible composite of collaborating modules
  • Understand where to place your architectural focus
  • Migrate large-scale monolithic applications to applications with a modular architecture
  • Articulate the advantages of modular software to your team

 

Java Application Architecture lays the foundation you’ll need to incorporate modular design thinking into your development initiatives. Before it walks you through eighteen patterns that will help you architect modular software, it lays a solid foundation that shows you why modularity is a critical weapon in your arsenal of design tools. Throughout, you’ll find examples that illustrate the concepts. By designing modular applications today, you are positioning yourself for the platform and architecture of tomorrow. That’s why Uncle Bob is dancing.



Table of Contents:
Foreword by Robert C. Martin xix

Foreword by Peter Kriens xxi

Acknowledgments xxv

About the Author xxvii

 

Introduction 1

Object-Oriented Design 2

Logical versus Physical Design 3

Modularity 4

Who This Book Is For 6

How This Book Is Organized 7

Pattern Form 10

Pattern Catalog 12

The Code 13

An Opening Thought on the Modularity Patterns 14

Reference 14

 

Part I: The Case for Modularity 15

 

Chapter 1: Module Defined 17

1.1 Defining a Module 17

1.2 Succinct Definition of a Software Module 20

1.3 Conclusion 20

 

Chapter 2: The Two Facets of Modularity 21

2.1 The Runtime Model 21

2.2 The Development Model 22

2.3 Modularity Today 25

2.4 Conclusion 27

 

Chapter 3: Architecture and Modularity 29

3.1 Defining Architecture 29

3.2 A Software Architecture Story 30

3.3 The Goal of Architecture 33

3.4 Modularity: The Missing Ingredient 36

3.5 Answering Our Questions 43

3.6 Conclusion 44

3.7 References 44

 

Chapter 4: Taming the Beast Named Complexity 45

4.1 Enterprise Complexity 46

4.2 Technical Debt 47

4.3 Design Rot 48

4.4 Cyclic Dependencies–The Death Knell 50

4.5 Joints, Modules, and SOLID 56

4.6 Managing Complexity 57

4.7 Benefits of Modularity 59

4.8 Conclusion 60

4.9 References 60

 

Chapter 5: Realizing Reuse 61

5.1 The Use/Reuse Paradox 62

5.2 The Reuse Disclaimer 63

5.3 Reuse or Use 64

5.4 Modular Tension 65

5.5 Modular Design 66

5.6 Conclusion 67

5.7 Reference 68

 

Chapter 6: Modularity and SOA 69

6.1 All the Way Down, Revisited 69

6.2 Granularity–Architecture’s Nemesis 72

6.3 An Alternate View 79

6.4 Conclusion 80

 

Chapter 7: Reference Implementation 83

7.1 Why No OSGi? 83

7.2 Background on This Exercise: Building the System 84

7.3 Version 1 85

7.4 First Refactoring 87

7.5 Second Refactoring 90

7.6 Third Refactoring 93

7.7 Fourth Refactoring 95

7.8 Fifth Refactoring 98

7.9 Sixth Refactoring 99

7.10 Seventh Refactoring 102

7.11 The Postmortem 103

7.12 Conclusion 110

7.13 Reference 110

 

Part II: The Patterns 111

 

Chapter 8: Base Patterns 115

Manage Relationships 116

Module Reuse 125

Cohesive Modules 139

 

Chapter 9: Dependency Patterns 145

Acyclic Relationships 146

Levelize Modules 157

Physical Layers 162

Container Independence 170

Independent Deployment 178

Reference 185

 

Chapter 10: Usability Patterns 187

Published Interface 188

External Configuration 200

Default Implementation 206

Module Facade 212

 

Chapter 11: Extensibility Patterns 221

Abstract Modules 222

Implementation Factory 229

Separate Abstractions 237

Reference 244

 

Chapter 12: Utility Patterns 245

Colocate Exceptions 246

Levelize Build 253

Test Module 263

 

Part III: Poma and OSGi 271

 

Chapter 13: Introducing OSGi 273

13.1 Some History 273

13.2 Benefits of OSGi 274

13.3 Digesting OSGi 276

13.4 OSGi Bundle 277

13.5 OSGi Runtime Management 279

13.6 The Two Facets of Modularity, Revisited 279

13.7 OSGi and the Patterns 279

 

Chapter 14: The Loan Sample and OSGi 283

14.1 Getting Started 283

14.2 The Manifests 285

14.3 μServices 286

14.4 Installation and Execution 292

14.5 Conclusion 293

 

Chapter 15: OSGi and Scala 295

15.1 Getting Started 295

15.2 The Scala Code 296

15.3 Scala Bean Configuration 299

15.4 Scala μService Configuration 299

15.5 Building the Scala Module 300

15.6 Installation and Execution 300

15.7 Conclusion 301

 

Chapter 16: OSGi and Groovy 303

16.1 Getting Started 303

16.2 The Groovy Code 304

16.3 Groovy Bean Configuration 306

16.4 Groovy Service Configuration 307

16.5 Building the Groovy Module 307

16.6 Installation and Execution 308

16.7 Conclusion 309

 

Chapter 17: Future of OSGi 311

17.1 OSGi as an Enabler 312

17.2 The Disruption 312

17.3 The Power of Ecosystems 314

17.4 The Ecosystem 316

17.5 Conclusion 317

 

Appendix: SOLID Principles of Class Design 319

Single Responsibility Principle (SRP) 320

Open Closed Principle (OCP) 320

Liskov Substitution Principle (LSP) 323

Dependency Inversion Principle (DIP) 325

Interface Segregation Principle 327

Composite Reuse Principle (CRP) 329

References 335

 

Index 337



About the Author :
Kirk Knoernschild is a software developer who has filled most roles on the software development team. Kirk is the author of Java Design: Objects, UML, and Process (Addison-Wesley, 2002), and he contributed to No Fluff Just Stuff 2006 Anthology (Pragmatic Bookshelf, 2006). Kirk is an open source contributor, has written numerous articles, and is a frequent conference speaker. He has trained and mentored thousands of software professionals on topics including Java/J2EE, modeling, software architecture and design, component-based development, service-oriented architecture, and software process. You can visit his website at techdistrict.kirkk.com.


Best Sellers


Product Details
  • ISBN-13: 9780132874762
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Language: English
  • Series Title: Robert C. Martin Series
  • Weight: 1 gr
  • ISBN-10: 0132874768
  • Publisher Date: 01 Mar 2012
  • Binding: Digital download
  • No of Pages: 384
  • Sub Title: Modularity Patterns with Examples Using OSGi


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Java Application Architecture: Modularity Patterns with Examples Using OSGi(Robert C. Martin Series)
Pearson Education (US) -
Java Application Architecture: Modularity Patterns with Examples Using OSGi(Robert C. Martin Series)
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Java Application Architecture: Modularity Patterns with Examples Using OSGi(Robert C. Martin Series)

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    Your IP: 216.73.216.72 IN