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
Determine how many arguments were passed using length property In java, array knows their size by using the length property. By using, length property we can determine how many

#include float start_point, /* GLOBAL VARIABLES */ end_point, total_area; int numtraps; main( ) { void input( void );

Padovan String

Interface to calculate carbon foot print

When should a method be static? • Neither reads from nor writes to example fields • Independent of the state of the object • Mathematical methods which accept arguments, appl

How can I connect my java application with xampp


Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Service Oriented Architecture Service Oriented Architecture (SOA) is an evolution of the fundamentals governing a component based development. Component based development gives

Write a program to add integer value? class AddInts { public static void main (String args[]) { int i = 1; int j = 2; System.out.println("i is " + i); System.out.println("