What is the need of JNDI(Java Naming and Directory Interface) ? Explain with real-time usage ?
Latest Answer : Hi Friends ,The main advantage of JNDI(java naming and directory interface) is used for the searching the information in the huge amount data. if we have huge amount of data, for searching we use JNDI API instead of JDBC API then it increases ...
Explain about DOM & SAX parsers with real-time example of usage
Latest Answer : DOM:-Its Object Driven parser-Creates copy of XML document in Tree format, good for Large sized XMLs but very memory consuming for Large sized XMLs (think about XMLs which has 2GB or more size)-Moves Backward&Forward directions in XML document-supports ...
What is the difference between java bean and enterprise bean? when will be used java bean and enterprise in real time projects?
Latest Answer : Enterprise Bean:Gives you the facility of security & transcation , state management & reduction of network code. All the above facility will be provided by application server when it is deployed.Java Bean:Where it is the simple setter & getter ...
There are 4 domain sever and 4 web application running in a system. A client is acessing all web application at a time. How many servlet context will be created?
Latest Answer : can have 4 servlet context. as u have 4 web server and this is a distributed application ...
Which method we can use to run the thread continuously? What are the filters in Real Time projects on which way we can use?
What is advantage of static methods in real time applications? When we use static methods and when we use final methods? Explain with a suitable example..