diff --git a/service-locator/src/main/java/com/iluwatar/servicelocator/App.java b/service-locator/src/main/java/com/iluwatar/servicelocator/App.java index f86e1cc32..5b6615495 100644 --- a/service-locator/src/main/java/com/iluwatar/servicelocator/App.java +++ b/service-locator/src/main/java/com/iluwatar/servicelocator/App.java @@ -1,9 +1,15 @@ package com.iluwatar.servicelocator; /** - * Service locator pattern, used to lookup JNDI-services + * + * The Service Locator pattern is a design pattern used in software development + * to encapsulate the processes involved in obtaining a service with a strong + * abstraction layer. This pattern uses a central registry known as the "service + * locator", which on request returns the information necessary to perform a certain task. + *
+ * In this example we use the Service locator pattern to lookup JNDI-services * and cache them for subsequent requests. - * + *
* @author saifasif * */