New J2EE Interview Questions :: ALLInterview.com http://www.allinterview.com New J2EE Interview Questions en-us Hi Friends. I want complete technical flow of j2ee project with f http://www.allinterview.com/showanswers/100420.html can someone tell me how does preparedstatement works? its an interfa http://www.allinterview.com/showanswers/100317.html 1. Yes PreparedStatement is and interface. It was in java.sql package. 2. PreparedStatement interface creates an object that represents a precompiled SQL statement. By using this we can protect from SQL Injection. In DAO we are writting sql queries , how it is possible with creati http://www.allinterview.com/showanswers/96975.html Hi friends, can u explain Transparent Persistence in hibernate with s http://www.allinterview.com/showanswers/96062.html Types of Hibernate instance states:- Transient- The instance is not associated with any persistence context. persistence- The instance is associated with a persistence context. Detached-The instance is associated with a persistence contex Hi friends can you give me sample code for Entire j2ee web applicatio http://www.allinterview.com/showanswers/95997.html Can u give me sample code for ServiceImpl and DaoImpl, in j2ee . http://www.allinterview.com/showanswers/95794.html How to achieve multiple inheretence in java.I need an example. how w http://www.allinterview.com/showanswers/91902.html The mechanism of inheriting the features of more than one base class into a single class is known as multiple inheritance. Java does not support multiple inheritance but the multiple inheritance can be achieved by using the interface.In Java what is defect. Is it runtime exception or comiletime exception http://www.allinterview.com/showanswers/91901.html Defect is a flaw in any aspect of software or requirements that may contribute to the occurrence of one or more failures and it is a runtime exception in java. what is the purpose and activity of SessionFactory in hibernate? http://www.allinterview.com/showanswers/91585.html To Create Session object to use hibernate in an application SessionFactory is required. When buildSessionFactory()method is called hibernate decides about various sql statements,that has to be used to access various tables and creates Seessio when i m calling java for web browser . so browser it's not sup http://www.allinterview.com/showanswers/82864.html how many external variables are there in jsp ? http://www.allinterview.com/showanswers/81276.html There are no external variables in jsp unless and until you use scriplets(java snipets) what is external varibles in jsp? http://www.allinterview.com/showanswers/81270.html you can use application.setAttribute("variablename", Object value); ie Integer globalVariable = new Integer(15); application.setAttribute("global", globalVariable); to retrieve it you would Integer globalVariable = why we are using XML? http://www.allinterview.com/showanswers/79462.html As XML stands for extensible markup language, the name itself conveys the meaning that it's fleible, XML is same regardless your implementation language (java or .Net). As webservices considered, XML's application and advantages ca what is the main use of the RequestDispatch object, how we this in re http://www.allinterview.com/showanswers/78170.html hi, The main use of RequestDispatcher is when u want to transfer control from one webapplication to another webapplication deployed in same server(its web/ app server). If you want to transfer control from one webapplication to another weba i developed a Stateless Session bean program.And created a client by http://www.allinterview.com/showanswers/63438.html tomcate is webserver..and ejb is distributed component we cant deploy it in web server so we need app server just use weblogic.