Monday, April 6, 2009

Servlets And JSP IQ

1. What are Servlets?
2. What are advantages of servlets over CGI?
3. Can you explain Servlet life cycle?
4. What are the two important API’s in for Servlets?
5. Can you explain in detail “javax.servlet” package?
6. What’s the use of ServletContext?
7. How do we define an application level scope for servlet?
8. What's the difference between GenericServlet and HttpServlet?
9. Can you explain in detail javax.servlet.http package?
10. What’s the architecture of a Servlet package?
11. Why is HTTP protocol called as a stateless protocol?
12. What are the different ways we can maintain state between requests?
13. What is URL rewriting?
14. What are cookies?
15. What are sessions in Servlets?
16. What’s the difference between getSession(true) and getSession(false) ?
17. What’s the difference between “doPost” and “doGet” methods?
18. Which are the different ways you can communicate between servlets?
19. What is functionality of “RequestDispatcher” object?
20. How do we share data using “getServletContext ()”?
21. Explain the concept of SSI?
22. What are filters in JAVA?
23. Can you explain in short how do you go about implementing filters using Apache Tomcat?
24. Twist: - Explain step by step of how to implement filters?
25. what’s the difference between Authentication and authorization?
26. Explain in brief the directory structure of a web application?
27. Can you explain JSP page life cycle?
28. What is EL?
29. how does EL search for an attribute?
30. What are the implicit EL objects in JSP?
31. How can we disable EL?
32. what is JSTL?
33. Can you explain in short what the different types of JSTL tags are?
34. How can we use beans in JSP?
35. What is tag for ?
36. What are JSP directives?
37. what are Page directives?
38. what are include directives?
39. Can you explain taglib directives?
40. How does JSP engines instantiate tag handler classes instances?
41. what’s the difference between JavaBeans and taglib directives?
42 what are the different scopes an object can have in a JSP page?
43. what are different implicit objects of JSP?
44. what are different Authentication Options available in servlets?
45. Can you explain how do we practically implement security on a resource?
46. How do we practically implement form based authentication?
47. How do we authenticate using JDBC?
48. Can you explain JDBCRealm?
49. Can you explain how do you configure JNDIRealm?
50. How did you implement caching in JSP?

No comments:

Post a Comment