in Education by

What is Service Locator pattern?

1 Answer

0 votes
by

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.

Related questions

0 votes
    What are the entities of Service Locator pattern?...
asked Nov 7, 2020 in Education by Editorial Staff
0 votes
    Locator function gives output as ___________ (a) Matrix (b) Lists (c) Vector (d) Number I had been asked this ... Out of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Which of the following is a valid uniform resource locator? (a) http://www.acm.org/sigmod (b) www ... Answers, Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    Which pattern collects and reports all exceptions to a centralized exception tracking service? A. Distributed tracing B. Audit logging C. Application logging D. Exception tracing...
asked Jan 11, 2023 in Education by JackTerrance
0 votes
    Service Instance per Host pattern provides __________. A. Great Isolation B. Leverage AWS for Autoscaling and Load balancing C. Great Manageability D. All the options...
asked Jan 10, 2023 in Technology by JackTerrance
0 votes
    Which pattern collects & reports all exceptions to a centralized exception tracking service (a)Audit logging (b)Application logging (c)Distributed tracing (d)Exception tracing...
asked Oct 21, 2020 in Technology by Editorial Staff
0 votes
    Service Instance per Host pattern provides ________________ (a)Leverage AWS for Autoscaling & Load balancing. (b)Great Manageability (c)All the options (d)Great Isolation...
asked Oct 21, 2020 in Technology by Editorial Staff
0 votes
    Which of these is a drawback of Multiple Services per Host pattern? A. Faulty deployment B. Non-Dependency conflicts C. Difficult to limit resource utilization...
asked Jan 11, 2023 by JackTerrance
0 votes
    Packer.io and Boxful represent ______________ type of pattern. A. Service Instance per Container B. Service Instance per Host C. Multiple Services per Host pattern...
asked Jan 10, 2023 in Education by JackTerrance
0 votes
    Efficient Utilization and Fast Deployment represents which pattern? A. Service Instance per Container B. Multiple Services per Host pattern C. Service Instance per Host...
asked Jan 10, 2023 in Technology by JackTerrance
0 votes
    __________ is a recommended Model for Pattern Recognition in Unlabeled Data. A. Autoencoders B. CNN C. RNN D. Shallow Neural Networks...
asked Dec 26, 2022 in Technology by JackTerrance
0 votes
    __________ is a recommended Model for Pattern Recognition in Unlabeled Data. A. Autoencoders B. CNN C. RNN D. Shallow Neural Networks...
asked Nov 13, 2022 in Education by JackTerrance
0 votes
    Does pattern classification belongs to category of non-supervised learning? (a) yes (b) no This question was ... Introduction of Neural Networks Please answer the above question....
asked Sep 21, 2022 in Education by JackTerrance
0 votes
    In pattern mapping problem in neural nets, is there any kind of generalization involved between input & output ... Introduction of Neural Networks Please answer the above question....
asked Sep 21, 2022 in Education by JackTerrance
0 votes
    Does pattern classification & grouping involve same kind of learning? (a) yes (b) no This question was ... Introduction of Neural Networks Please answer the above question....
asked Sep 21, 2022 in Education by JackTerrance
...