Welcome To Uday Satya Blog

AD Java Important SAQs




Unit –I
1.       Define servlet.
2.       Differences between servlet and applet
3.       Servlet container
4.       Differences between generic and http servlet
5.       What is httpservlet?
6.       servlet context
7.       Define cookies and how are they created.
8.       Ways of saving client state? How do you track users sessions
9.       Define Session
10.   Servlet runner utility
11.   Advantages of using servlet over CGI
12.   Define CGI
13.   Servlet interface
14.   Uses of servlet
15.   When a servlet accepts a call from client, it receives two objects. What are they?
16.   Can we use the constructor instead of init() to initialize a servlet?
17.   Differences between get and post.
18.   Define servlet mapping
19.   What are the classes and interfaces for servlets?
20.   Lifecycle of servlet
21.   Define servletconfig and its use.
22.   What is parseQueryString?
23.   Types of servlets. List methods in HttpServlets
24.   What are the advantages of servlets over all other server side technologies?
25.   Define single thread model.
26.   List all methods in cookie class.
27.   List various servers to deploy servlets.
28.   How does servlets handle multiple requests simultaneously?
29.   How are servlets and jsp pages related?
30.   Define servlet engine.
31.   Differences between servlet config and servlet context.
32.   Define generic servlet
Unit II
1.       Define jsp
2.       What is the life cycle of jsp?
3.       Define java beans
4.       Implicit objects in jsp
5.       List jsp scripting elements.
6.       Difference between custom tag and beans
7.       Define tag handler
8.       Comments in jsp and differences between them.
9.       Advantages of jsp
10.   Differences between jsp:include and include?
11.   Define custom tags? How do you create them and purpose?
12.   Define scriplet
13.   Define expression
14.   How to handle run-time exceptions in jsp?
15.   Define useBean
16.   How to include static files in jsp?
17.   How to implement thread-safe in jsp?
18.   Steps for jsp tag libraries.
19.   How can we implement or extends a class in jsp?
20.   Define jsp:forward
21.   What is jsp database connectivity?
22.   Difference between forward and sendRedirect?
23.   Define jspInit()

Unit III
25.   Define JNI
26.   List the native types in jni.
27.   What is jni interface pointer?
28.   Define dll
29.   How jni supports exceptions?
30.   Advantages and disadvantages of using jni.
31.   Define reflection
32.   What are the classes in java.lang.class?
Unit IV
33.   Define EJB
34.   Differences b/w ejb and java beans
35.   Diff. b/w session and entity beans
36.   Define session bean
37.   Define entity bean
38.   Define transaction
39.   Explain acid properties
40.   Define passivation and activation in ejb.
41.   Life cycle of session beans
42.   Kinds of EJB
43.   List the differences b/w ear,war and jar files
44.   Define stateful and stateless session beans, differences.
45.   Difference b/w server, container and connector
46.   Difference b/w cmp and bmp.
47.   What is deployment descriptor?
48.   Define call backs methods
49.   List various J2EE architectures
50.   Two-tier and N-tier architectures.
51.   Define pooling.
52.   What is a transaction attribute?
53.   What is ejb context?
54.   What is JNDI?
55.   What are the steps involved in developing stateless and stateful session beans
56.   Types of containers.
57.   Explain about EJB client Jar files.
Unit V
58.   Define policy tool
59.   Define digital signatures
60.   Keystore-define
61.   Jarsigner
62.   Benefits of jar
63.   Manifest file-define
64.   Define security manager.


0 comments:

Post a Comment