JAVA and EJB - INTERVIEW QUESTIONS
What is Entity Bean and Session Bean ?
What are the methods of Entity Bean?
How does Stateful Session bean store its state ?
Why does Stateless Session bean not store its state even though it has ejbActivate and ejbPassivate ?
What are the services provided by the container ?
Types of transaction ?
What is bean managed transaction ?
Why does EJB needs two interface( Home and Remote Interface) ?
What are transaction attributes ?
What is the difference between Container managed persistent bean and Bean managed persistent entity bean ?
What is J2EE ?
What is JTS ?
How many entity beans used and how many tables can u use in EJB project ?
What is scalable,portability in J2EE?
What is Connection pooling?Is it advantageous?
Method and class used for Connection pooling ?
How to deploy in J2EE(i.e Jar,War file) ?
How is entity bean created using Container managed entity bean ?
Sotware architechture of EJB ?
In Entity bean will the create method in EJB home and ejbCreate in Entity bean have the same parameters ?
What methods do u use in Servlet – Applet communication ?
What are the types of Servlet ?
Difference between HttpServlet and Generic Servlets ?
Difference between doGet and doPost ?
What are the methods in HttpServlet?
What are the types of SessionTracking?
What is Cookie ? Why is Cookie used ?
If my browser does not support Cookie,and my server sends a cookie instance What will happen ?
Why do u use Session Tracking in HttpServlet ?
What is the capacity the doGet can send to the server ?
What are the type of protocols used in HttpServlet ?
Difference between TCP/IP and IP protocol ?
Why do you use UniCastRemoteObject in RMI ?
How many interfaces are used in RMI?
Can Rmi registry be written in the code, without having to write it in the command prompt and if yes where?
Why is Socket used ?
What are the types of JDBC drivers ?
Explain the third driver(Native protocol driver) ?
Which among the four driver is pure Java driver ?
What are the Isolation level in JDBC transaction ?
How do you connect with the database ?
How do you connect without the Class.forName (" ") ?
What does Class.forName return ?
What are the types of statement ?
Why is preparedStatement,CallableStatement used for?
In real time project which driver did u use ?
Difference between AWT and Swing compenents ?
Is there any heavy weight component in Swings ?
Can the Swing application if you upload in net, be compatible with your browser?
What should you do get your browser compatible with swing components?
What are the methods in Applet ?
When is init(),start() called ?
When you navigate from one applet to another what are the methods called ?
What is the difference between Trusted and Untrusted Applet ?
What is Exception ?
What are the ways you can handle exception ?
When is try,catch block used ?
What is finally method in Exceptions ?
What are the types of access modifiers ?
What is protected and friendly ?
What are the other modifiers ?
Is synchronised modifier ?
What is meant by polymorphism ?
What is inheritance ?
What is method Overloading ? What is this in OOPS ?
What is method Overriding ? What is it in OOPS ?
Does java support multi dimensional arrays ?
Is multiple inheritance used in Java ?
Why is XML used mainly?
Do use coding for database connectivity in XML?
What is DTD ?
Is there any tool in java that can create reports ?