Brushing Up Some Basics Flashcards

1
Q

___________ handles lifecycle of the servlets

A

CATALINA (In specific to Servlet and JASPER as JSP Engine)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

We use ________ to store JSON object in our browser

A

localStorage( Use setItem() and getItem() to store and retrieve data)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The request URL is also called as __________

A

End Point URL (in context of Rest API)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Track your request’s hops via servers using _______

A

Tracert (tracert domain_name)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Package responsible for HTTP handling and implementation

A

javax.servlet.http

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

HttpServlet ____________ GenricServlet

A

Extends (GenericServlet implements Servlet)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A one stop storage for saving data in the server that can be shared across application ,for a single user

A

HttpSession (getAttribute() and setAttribute() to store and retrieve; and invalidate() to destruct the session)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Hibernate State at which object is still associated with session

A

REMOVED

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

While working with Input and OutputStreams, use __________ to prevent memory leakage

A

try(with resources)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Trying some new code snippets? Always use _______

A

try-catch block to save your application from crashing due to unhandled exception

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

It isn’t a maven project, if it doesn’t have_____

A

pom.xml (Project Object Model)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Heart of our project when it comes to resources________

A

BuildPath where all our source files, external resources and libraries

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Assigning strings in JS? Use ____ to make it easier

A

BackTick ( ` ) Supports single and double quotes as a part of string without escape sequence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly