CS 412 Final Exam Study Guide

mobdescriptiveΛογισμικό & κατασκευή λογ/κού

28 Οκτ 2013 (πριν από 4 χρόνια και 15 μέρες)

80 εμφανίσεις

CS 412 Final Exam Study Guide


-

There will be

true/false and essay questions
.

-

You need to be familiar with the class assignments.




Remote Method Invocation



Major steps in creating a distributed system with RMI



Defining and implementing the remote interfac
e



Defining and implementing the client



Compile
, code placement

and execution



Problems that we may face while trying to compile and execute a RMI based
program. Including the problems we faced
(or I explained)
in the lab and how we
solve them.



You may be as
k to write
a small program to show how RMI works




Java Database Connectivity



SQL basic
syntax



Basics of Relational database model including operations such as join and
projection



Using SQL to merge data from multiple tables



How to connect to databases, qu
ery, and display results



What are the drivers used for Oracle and Access connection



Be able to write a simple program to connect to a Oracle or Access database and
do some queries




Servlets



What are the server side and the client side tools provided by Jav
a?



What protocol is used for servlets?



How does servlet work? Overall view o
f the mechanism



Servlet

Interface



What are the 2 major abstract classes that implement Servlet interface? What
are the major methods and what do
they do?



What is the main responsib
ility of

service


method
?



How do doGet and doPost methods are called? What are Get and Post
methods?



Know the main capabilities (methods) of HttpServletRequest and
HttpServletResponse



What are the main steps we take for the deployment of our servlets?



Wha
t are the available tools for session tracking?



How do Session and Cookies work?



What are the possible problems we may face in running servlets and cookies?



What are Multitier
applications? Describe a three ti
e
r

application that uses servlet
and JDBC techn
ologies? What are the possible problems that we may face
running such tree ti
er
application?




JSP

& Beans



Describe JSP architecture



What are the steps required for a JSP request?



Why use JSP? And compare JSP to S
ervlet



What are the main tags of JSP (five d
ifferent types of tags)? Describe each one



What are the main types of directive tags? You need to know

page


and

include
” directives



How do you set up an errorPage?



What are the action tags and how does Dynamic JSP Include work?



Write a

counter


JSP pro
gram similar to the example in the slides.



What are some of the
important
implicit

objects available for JSP?



What is the logic behind using JavaBeans? Know the basics of bean
implementation