Skip to content

Commit

Permalink
Work on iluwatar#226, moved POSA reference and some J2EE design patte…
Browse files Browse the repository at this point in the history
…rn references
  • Loading branch information
npathai committed Sep 24, 2015
1 parent 6735c81 commit ba6511f
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ If you are willing to contribute to the project you will find the relevant infor

# Credits

* [Design Patterns: Elements of Reusable Object-Oriented Software](http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612)
* [Effective Java (2nd Edition)](http://www.amazon.com/Effective-Java-Edition-Joshua-Bloch/dp/0321356683)
* [Java Generics and Collections](http://www.amazon.com/Java-Generics-Collections-Maurice-Naftalin/dp/0596527756/)
* [Let's Modify the Objects-First Approach into Design-Patterns-First](http://edu.pecinovsky.cz/papers/2006_ITiCSE_Design_Patterns_First.pdf)
Expand All @@ -48,7 +47,6 @@ If you are willing to contribute to the project you will find the relevant infor
* [Patterns of Enterprise Application Architecture](http://www.amazon.com/Patterns-Enterprise-Application-Architecture-Martin/dp/0321127420)
* [Spring Data](http://www.amazon.com/Spring-Data-Mark-Pollack/dp/1449323952/ref=sr_1_1)
* [J2EE Design Patterns](http://www.amazon.com/J2EE-Design-Patterns-William-Crawford/dp/0596004273/ref=sr_1_2)
* [Pattern Oriented Software Architecture Vol I-V](http://www.amazon.com/Pattern-Oriented-Software-Architecture-Volume-Patterns/dp/0471958697)

# License

Expand Down
8 changes: 7 additions & 1 deletion dao/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title: Data Access Object
folder: dao
permalink: /patterns/dao/
categories: Architectural
tags: Java
tags:
- Java
- Difficulty-Beginner
---

**Intent:** Object provides an abstract interface to some type of database or
Expand All @@ -16,3 +18,7 @@ other persistence mechanism.

* when you want to consolidate how the data layer is accessed
* when you want to avoid writing multiple data retrieval/persistence layers

**Credits:**

* [J2EE Design Patterns](http://www.amazon.com/J2EE-Design-Patterns-William-Crawford/dp/0596004273/ref=sr_1_2)
6 changes: 6 additions & 0 deletions front-controller/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ internationalization, routing and logging in a single place.
**Real world examples:**

* [Apache Struts](https://struts.apache.org/)

**Credits:**

* [J2EE Design Patterns](http://www.amazon.com/J2EE-Design-Patterns-William-Crawford/dp/0596004273/ref=sr_1_2)
* [Presentation Tier Patterns](http://www.javagyan.com/tutorials/corej2eepatterns/presentation-tier-patterns)
* [Patterns of Enterprise Application Architecture](http://www.amazon.com/Patterns-Enterprise-Application-Architecture-Martin/dp/0321127420)
1 change: 1 addition & 0 deletions half-sync-half-async/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ degrading execution efficiency.
**Credits:**

* [Douglas C. Schmidt and Charles D. Cranor - Half Sync/Half Async](http://www.cs.wustl.edu/~schmidt/PDF/PLoP-95.pdf)
* [Pattern Oriented Software Architecture Vol I-V](http://www.amazon.com/Pattern-Oriented-Software-Architecture-Volume-Patterns/dp/0471958697)
5 changes: 5 additions & 0 deletions intercepting-filter/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ post-processing to requests from a client to a target
* a system should do the authentication/ authorization/ logging or tracking of request and then pass the requests to corresponding handlers
* you want a modular approach to configuring pre-processing and post-processing schemes

**Real world examples:**

* [Struts 2 - Interceptors](https://struts.apache.org/docs/interceptors.html)

**Credits:**

* [TutorialsPoint - Intercepting Filter](http://www.tutorialspoint.com/design_pattern/intercepting_filter_pattern.htm)
* [Presentation Tier Patterns](http://www.javagyan.com/tutorials/corej2eepatterns/presentation-tier-patterns)
5 changes: 5 additions & 0 deletions layers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ tags: Java
* you want clearly divide software responsibilities into differents parts of the program
* you want to prevent a change from propagating throughout the application
* you want to make your application more maintainable and testable

**Credits:**

* [Pattern Oriented Software Architecture Vol I-V](http://www.amazon.com/Pattern-Oriented-Software-Architecture-Volume-Patterns/dp/0471958697)

2 changes: 2 additions & 0 deletions model-view-controller/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ display.
**Credits:**

* [Trygve Reenskaug - Model-view-controller](http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller)
* [J2EE Design Patterns](http://www.amazon.com/J2EE-Design-Patterns-William-Crawford/dp/0596004273/ref=sr_1_2)
* [Patterns of Enterprise Application Architecture](http://www.amazon.com/Patterns-Enterprise-Application-Architecture-Martin/dp/0321127420)
4 changes: 4 additions & 0 deletions model-view-presenter/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ situations

* when you want to improve the "Separation of Concerns" principle in presentation logic
* when a user interface development and testing is necessary.

**Real world examples:**

* [MVP4J](https://github.com/amineoualialami/mvp4j)
1 change: 1 addition & 0 deletions reactor/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ tags:
**Credits**

* [Douglas C. Schmidt - Reactor](https://www.dre.vanderbilt.edu/~schmidt/PDF/Reactor.pdf)
* [Pattern Oriented Software Architecture Vol I-V](http://www.amazon.com/Pattern-Oriented-Software-Architecture-Volume-Patterns/dp/0471958697)
* [Doug Lea - Scalable IO in Java](http://gee.cs.oswego.edu/dl/cpjslides/nio.pdf)
* [Netty](http://netty.io/)
1 change: 1 addition & 0 deletions service-layer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ its business logic. The Service Layer fulfills this role.
**Credits:**

* [Martin Fowler - Service Layer](http://martinfowler.com/eaaCatalog/serviceLayer.html)
* [Patterns of Enterprise Application Architecture](http://www.amazon.com/Patterns-Enterprise-Application-Architecture-Martin/dp/0321127420)
6 changes: 5 additions & 1 deletion service-locator/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags: Java
**Intent:** Encapsulate the processes involved in obtaining a service with a
strong abstraction layer.

![alt text](./etc/service-locator.png "Proxy")
![alt text](./etc/service-locator.png "Service Locator")

**Applicability:** The service locator pattern is applicable whenever we want
to locate/fetch various services using JNDI which, typically, is a redundant
Expand All @@ -26,3 +26,7 @@ improves the performance of application to great extent.
* when network hits are expensive and time consuming
* lookups of services are done quite frequently
* large number of services are being used

**Credits:**

* [J2EE Design Patterns](http://www.amazon.com/J2EE-Design-Patterns-William-Crawford/dp/0596004273/ref=sr_1_2)

0 comments on commit ba6511f

Please sign in to comment.