Reviewing It |
1: | Explain the purpose of a JAR file. |
A1: | To put all associated pieces of code together in a single downloadable file |
2: | Why does the JDeveloper software create a HTML file when saving the Java program? |
A2: | The HTML file will be accessed by the Web browser. This file contains the necessary HTML code to access the java program |
3: | Why does the JDBC thin client software prompt for userid and password? |
A3: | Because the thin drivers maintain connectivity between the client and the database where the thick drivers maintain connectivity between the servlet and the database |
4: | What is a DAD and why is it important? |
A4: | This database descriptor is used by servlets to make automatic connections to the database when the DAD name is referenced in the URL |
5: | What does the java function out.println() do. |
A5: | Creates output in the HTML file. |
Checking It |
1: | What does JAR stand for?
|
A1: | b |
2: | The DB Servlet runs on
|
A2: | c |
3: | You have to FTP the servlet code created to its intended target. True/False |
A3: | False, the JDeveloper software can do the deployment. |
Applying It |
Independent Exercise 1:
Independent Exercise 2:
Independent Exercise 3:
3.145.202.27