Cracking the Java Coding Interview pdfdrive com


Question How many types of JDBC Drivers are present and what are they?


Download 1.48 Mb.
Pdf ko'rish
bet16/182
Sana02.05.2023
Hajmi1.48 Mb.
#1423275
1   ...   12   13   14   15   16   17   18   19   ...   182
Bog'liq
Cracking the Java Coding Interview ( PDFDrive )

Question How many types of JDBC Drivers are present and what are they?
(JDBC)
Answer There are 4 types of JDBC Drivers Type 1: JDBC-ODBC
Bridge Driver Type 2: Native API Partly Java Driver Type 3: Network protocol
Driver Type 4: JDBC Net pure Java Driver
Question Can we implement an interface in a JSP? (JSP)
AnswerNo
Question What is the difference between ServletContext and PageContext?
(JSP)
Answer ServletContext: Gives the information about the container
PageContext: Gives the information about the Request
Question What is the difference in using request.getRequestDispatcher()
and context.getRequestDispatcher()? (JSP)
Answer request.getRequestDispatcher(path): In order to create it we need to give
the relative path of the resource context.getRequestDispatcher(path): In order to
create it we need to give the absolute path of the resource.
Question How to pass information from JSP to included JSP? (JSP)
Answer
Using <%jsp:param> tag.
Question What is the difference between directive include and jsp include?
(JSP)
Answer <%@ include> : Used to include static resources during translation time.
: Used to include dynamic content or static content during
What are Predefined variables or implicit objects?
To simplify code in JSP expressions and scriptlets, we can use eight
automatically defined variables, sometimes called implicit objects. They are
request, response, out, session, application, config, pageContext, and page.
What is BDK?
BDK, Bean Development Kit is a tool that enables to create, configure and
connect a set of set of Beans and it can be used to test Beans without writing
a code.
What is a Jar file?
Jar file allows to efficiently deploying a set of classes and their associated

Download 1.48 Mb.

Do'stlaringiz bilan baham:
1   ...   12   13   14   15   16   17   18   19   ...   182




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling