Week 1 Flashcards

1
Q

JSP Scriptlets start with what? Their use?

A

//

Used for java Code

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

JSP Declarations start with what? Their use?

A

//

Used for declaring Java methods

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

JSP Directives start with what? Their use?

A

//

Used for implementing tags
Importing packages
Defining page content

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

JSP expressions start with what? Their use?

A

//

Used for using any java expression that can be used in System.out.println();

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

Compare JSP comments to HTML?

A

JSP declaration

JSP comments dont get submitted to the browser
HTML comments do not hide JSP code from the compiler

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

A web application is a type of?

A

Client/server application

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

A servlet

A

Runs on a server

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

An http request

A

is sent from the web browser to a web server

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

The specification that describes how web servers can interact with all Java Web technologies is known as

A

The Java Enterprise Edition Java EE

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

To develop web applications you can use IDE such as?

A

Eclipse/Netbeans

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

A presentation layer for typical servlet/jsp web application consists of?

A

HTML, JSPs

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

For web applications data can be stored in?

A

text files
xml
databases

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

Two other approaches other than JSP/servlet?

A

Spring and JSF

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

An API for working with databases?

A

JPA

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

Multi-Tier Layer Components?

A

Presentation layer: html, jsps
Business Layer: Servlets, JavaBeans, JavaClasses
Data Access: Data Access Classes.

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

What is a servlet?

A

java code that does the server-side processing