in Education by

What are the entities of Service Locator pattern?

1 Answer

0 votes
by

What are the entities of Service Locator pattern?

Following are the entities of this type of design pattern.

Service - Actual Service which will process the request. Reference of such service is to be looked upon in JNDI server.

Context / Initial Context - JNDI Context carries the reference to service used for lookup purpose.

Service Locator - Service Locator is a single point of contact to get services by JNDI lookup caching the services.

Cache - Cache to store references of services to reuse them.

Client - Client is the object that invokes the services via ServiceLocator.

Related questions

0 votes
    What is Service Locator pattern?...
asked Nov 7, 2020 in Education by Editorial Staff
0 votes
    What are the entities of Intercepting Filter 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
    The entities that R creates and manipulates are known as ________ (a) objects (b) task (c) container (d) ... Started of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    What are Entities and Relationships?...
asked Dec 9, 2020 in Technology by JackTerrance
0 votes
    As far as I've experienced JPA/hibernate will return entities that either exists at the database or have ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 18, 2022 in Education by JackTerrance
0 votes
    The total participation by entities is represented in E-R diagram as (a) Dashed line (b) Double line ... , Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    Which of the following indicates the maximum number of entities that can be involved in a relationship? (a ... Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    Which model is used when there contains relationships between entities? (1)External Model (2)All the Options (3)Reference Model (4)Embedded Model...
asked May 23, 2021 in Technology by JackTerrance
0 votes
    Graph-based database stores entities and the relationship between them as edges and nodes of a graph, respectively. (1)True (2)False...
asked Apr 21, 2021 in Technology by JackTerrance
...