Mostly asked J2ee and Java questions
Hi Friend, If you are going to attend the java/j2ee interview this questions are the most repeated one.prepare this questions.I am sure u come up with offer letter.
1) oops – concepts
2) abstract class and interface difference
3) final keyword, final class, final method, final variable.
4) Marker interface, Tagged interface ex: serializable
5) Polymorphisum, types : static, dynamic defination.
6) Inheritance
7) String , String buffer difference
8) Exception hierarchy.
9) Checked , unchecked exceptions differences
10) How to create our own exception.
11) Collection package.
12) List, set Interface difference
13) Vector, arraylist difference
14) Hashmap , hash table difference
15) Collection.sort method.
16) Serializable concept
17) Types of jdbc drivers
18) Type 4 driver
19) Transaction isolation in JDBC
20) Addbatch(), executebatch() method in statement object.
21) Resultset cursor types.
22) Statement, prepared statement differences.
23) Callable statement concept
24) Servlet creations.
25) Service methods, doGet, doPost differences.
26) Servlet extends singlethread model concept
27) Request dispatcher concept
28) requestNamedDispatcher method in request object, and requestDispatcher method in request object differences.
29) Request dispatcher object forward method and response.sendRedirect method differences.
30) How to httpsession object.
31) request.getSession(true), request.getSession(false) method difference
32) How to create cookies.
33) How to set max life time to cookie.( ans: In cookie object setMaxAge method is there)
34) How to session time out in session object .( Ans: setMaxInActiveInterval method)
35) In web.xml servlet mappings
36) Session time out in web.xml, Here 30 is in minutes
37) in requestdispatcher forward, include methods differences.
38) Generic Servlet, HttpServlet differences.
39) How to create servlet using HttpServlet class, Servlet Interface.
40) ServletConfig, ServletContext differences.
41) Session management.
42) response.encodeURL() method use.
43) Jsp action pages.
44) Jsp directives
45) <%@taglib directive
46) <%@ page include=””/>, and < %@ include file=””/> differences
47)
48) In Jsp predefined objects.
49)
above scope attribute values=”request, response,session,page” differences,uses
50) how to make comments that can visible in jsp page at runtime. <%!-- --%>
51) How to make comments that can not be visible. <%-- … --%>
52) Struts tag liberearites
53) Struts-bean.tld, struts-logic.tld, inthat tag libraries and tags uses.
54) Tag library configuraing in web.xml
55) Actionform, dynaactionform, validatorform, dynavalidatorform uses.
56) Action, DispatchAction,forward action classes uses.
57) Strus-config,xml tages
58)
59)
60) validation.xml uses.
61) types of ejbs.
62) Descriptions about stateless session, stateful session beans.
63) Xml parsers DOM parser , SAX parser differences.
64) MVC architectchures.
65) Design patterns like front controller, session façade, service locator, singelton , DAO .
66) project version control- WinCVS 3.1.
67) Some of the UML concepts. Sequence diagrams, class diagrams.
68) When servlet object created.
0 Comments:
Post a Comment
<< Home