A service locator, JAVA Programming

 

J2EE prepares use of the JNDI interface to access different resources like JMS, JDBC, EJB etc. The client finds up for these resources through the JNDI look-up. The JNDI look like is expensive because the client requires getting a network connection to the server first. So that look-up process is redundant and expensive.

 To avoid this redundant and expensive process, service objects may be cached when a client process the JNDI look-up for the first time and redefine that service object from the cache for the subsequent look-ups. The service locator pattern imports this technique.

 

830_Service Locator.png

Posted Date: 7/27/2012 4:36:26 AM | Location : United States







Related Discussions:- A service locator, Assignment Help, Ask Question on A service locator, Get Answer, Expert's Help, A service locator Discussions

Write discussion on A service locator
Your posts are moderated
Related Questions
Write a Java program called SalesInfoMiner that reads in a file of products, stored in text format (2 lines per entry). The program must then read in information about past sales t

Theobjectiveoftheassignment is tofamiliarize youwithinheritance, GUIand abstraction. Create anabstractclass named that includesprivatefields for the InternationalStandard BookNumbe

I want Hall Rental Website Project Description: I want to prepare website for my party venue where i will post the photos and detail of place along with availability calendar


Aggregation Composition Aggregation :  An   association   in  which  one  class refers to collection or a another class. This is a part of  a  who

Separating your business logic with other functionality such as services, Loggers etc, making classess more cohesive.

Overview Demonstrate your knowledge of JavaScript and ColdFusion by implementing the following functionality: Contact form • The following validation error message shou

Implement a program that can compute your taxes (assume year 2012, as- sume a form 1040EZ). The form should ask for your ling status (single, married), income, deductions and cred

The roster lets you keep track of the availability ("presence") of other users. A roster also allows you to organize users into groups such as "Friends" and "Co-workers". Other IM

What does the " abstract " keyword mean in front of a method and a class ?