Latest Answer: Servlet is faster than JSP,beacuse JSP is a intenal servlet.when you request for a jsp page first time, the Jsp engine compiles the jsp page into servlet and the excute it,this will increase the time to load where as servlet is directly excuted by the ...
Latest Answer: when we want to call a database procedure or want to excute the precompiled codes then we use callable statement.Prepared statement is sql query that is dynamically set for its field or fields.callable statement is inbound and prepared statement ...
Latest Answer: No,when you declare a abstract method in a class then you have to declare that class as abstract,so that the sub class of that class can implement it.But when you declare a class as final that means you cann't extend it further,so if you now declare a ...
Latest Answer: innerjoin refers to adjustment inside and outer join refers to thetreatment externally ...
Using Session or request.getParameter() or Hidden Variables.
Latest Answer: When first time the beans instance is created,it will be added in pool cache.when it goes out of scope,then ejbPassivate() is called,again when it is called then it is activated using ejbActivate() in pool cache.But no more reference to that object ...
Latest Answer: ejbPassivate() means it will remove the bean instance from the pool cache, but it will be there in container and when a reference is called ,it will take that instance to pool cache.ejbRemove() means it will remove the bean from the container. ...
Latest Answer: No never, because it is stateless. ...
Latest Answer: we can manage transaction in ejb by two ways:-CMP-Container Managed Persistence.Let the container manage the transactions.BMP-Bean Managed Persistence.We provide the bean transaction by writing code or providing the means to handle the transactions. ...
View page << Previous 1 [2]

Go Top