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

Java is Object oriented programme language Java is comprehensively OOP language with robust memory system Memory errors largely disappear due to safe pointers and garbage c

The non-final functions are clone (), finalize (), toString (), equals () , hashCode () and. The other methods like wait (), getClass (), notifyAll (), notify () etc are final

In this assignment you will create a graphical reverse polish notation calculator using a stack data structure.  A reverse polish notation calculator allows you to perform chain ca

A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''''a''''-''''z'''') and

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

There are four different parts by which autowiring can be done. ? byName ? constructor ? autodetect ? byType

There is no separate homework this week, but you may complete the exercises ahead of time, in which case you only need to attend for long enough to get your work marked off by your

Instructions: Please make sure your solutions are original, in your own words, expressing your own ideas. Any copying from others' home-works, text books or online sources will

there is a pebble merchant. he sells the pebbles,that are used for shining the floor.his main duty is to take the length of the room side but he sometines mistakes doing that and m