0 votes
12 views

What is Service Locator pattern?

in Education by (49.4k points)

1 Answer

0 votes

The service locator design pattern is used when we want to locate various services using JNDI lookup. Considering high cost of looking up JNDI for a service, Service Locator pattern makes use of caching technique. For the first time a service is required, Service Locator looks up in JNDI and caches the service object. Further lookup or same service via Service Locator is done in its cache which improves the performance of application to great extent.

by (49.4k points)

Related questions

0 votes
1 answer 25 views
0 votes
1 answer 12 views
0 votes
1 answer 12 views
0 votes
1 answer 10 views
0 votes
1 answer 12 views
0 votes
1 answer 27 views
0 votes
1 answer 11 views
0 votes
1 answer 12 views
12 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 9 views
9 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 12 views
12 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 12 views
12 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 11 views
11 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 9 views
9 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 9 views
9 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 11 views
11 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 8 views
8 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 10 views
10 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 10 views
10 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 9 views
9 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 10 views
0 votes
1 answer 10 views
10 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 8 views
8 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 13 views
13 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 11 views
11 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 9 views
9 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
...