Sunteți pe pagina 1din 3

1. What is the Locale class?

2. What is Server-Side Includes (SSI)?


3. How can I get to print the stacktrace for an exception occuring within my JSP page?
4. What types of comments are available in the JSP?
5. Is it possible to implement an interface in the JSP? How?
6. How are Observer and Observable used?
7. Difference between the GenericServlet and the HTTP Servlet.
8. Explain about JAAP?
9. What is bean managed transaction?
10. What are synchronized methods and synchronized statements?
11. Difference between the Preemptive scheduling and the time slicing.
12. What is the difference between ServletContext and ServletConfig?
13. What are the contents of the Web module?
14. What are the advantages of Servlets over CGI programs?
15. How does JSP handle run-time exceptions?
16. What is the difference between <jsp:include page = …> and <%@ include file=…>?
17. What are Transient and Volatile Modifiers?
18. What is Class.forName () and how it is useful?
19. Difference between the Entity Bean and the Session Bean.
21. What are the scope values for <jsp:useBean>?
22. Difference between Schema and DTD.
23. What is a web container?
24. What is an EJB Context?
25. Can a method be declared as both final and abstract?
26. How do I serialize an object to a file?
27. What is Externalizable interface?
28. What do you understand by context initialization parameters?
29. Explain the directory structure of a web application.
30. How can I implement a thread-safe JSP page?
31. What is an object's lock and which object's have locks?
32. Difference between Cluster and Non-cluster index?
33. Can Entity Beans have no create() methods?
34. LifeCycle methods in JSP.
35.What is Connection Pooling?
36. How can I set a cookie in JSP?
37. What's a namespace?
38. What is Xpath?
39. Can we use multiple ControllerServlet in a single application using MVC
architecture.
40. What is the difference between an application server and a Web server?
41. What is the difference between SAX parser and DOM parser?
42.How would you extract a specific attribute from an element in an XML document?
43. What is a singleton and What happens to singletons when two JVMs are running?
44. What are Checked and UnChecked Exception?
45. How Can You invoke other web resources (or other servelt / jsp ) ?
46. Difference between Enumeration and Iterator.
Servlets

----------

1. Servlet Definition

2. Difference Between HttpServlet and GenericServlet

3. Life Cyle of Servlet

4. Difference Between Servlet and Java Program except main method

5. Why we need to have doPost and doGet, if u want to do the common in both the case

6. What is Servlet Container

7. Request Dispatcher Concepts

8. Forward will happen at server side or client side. sendRedirect will happen where

9. Difference between forward and include

10. What are Session Tracking Technique used in Servlets. Give Few points

Jsp

----

1. Jsp Definition

2. implicit object in Jsp

3. how to set a error page

4. Difference between include and jsp:include

5. Scripting elements in Jsp give example for it

6. Life cycle

7. What are attributes available in UseBean tag


8.Benefits of Beans using Jsp.

S-ar putea să vă placă și