Java Servlets   «Prev  Next»

Lesson 4Servlet Training Expectations
ObjectiveExplore key course features.

Servlet Training Expectations

Quizzes and Exercises

Throughout the course, you will find multiple-choice quizzes and hands-on exercises.
These learning checks will give you feedback with respect to what you have learned.
Quizzes and exercises are a common type of assessment used in education to help students practice and improve their knowledge and skills. For this course, they are used to test your understanding of a subject and help you learn new material, or to reinforce concepts that have already been taught. Quizzes and exercises are used in this course and website to assess your progress and to provide feedback on your understanding. They can be administered in a variety of formats, including online quizzes, or hands-on activities, and can cover a wide range of subjects, from Java Applets, networking as well as server-side programming. The purpose of quizzes and exercises is to help students learn and improve their skills, and to provide a way for teachers and instructors to gauge a students' understanding of the material being taught.


Module Number, Lesson Number

The module number and lesson number will help you determine where you are in the course.

Throughout this course, you will have the opportunity to use several Java applets:
  1. the diagram and
  2. Slide Show or Carousel.

Applets communicate with Servlets

There are several techniques by which applets can communicate with servlets. We are going to come at the topic from a slightly different angle than you might expect. Instead of assuming you have an applet and a servlet that need to communicate, we are going to assume you have an applet that needs to talk to some entity on the server and explore why sometimes that entity should be a servlet. To get things started, let us think about applets that need to communicate with the server. There are a number of good examples. Take a look at the administration applet that manages the Java Web Server. Think about how it works and executes on the client, but it configures the server. To do this, the applet and the server need to be in near constant communication. As another example, take a look at one of the popular chat applets. One client says something, and all the rest see it. How does that work? They certainly do not communicate applet to applet. Instead, each applet posts its messages to a central server, and the server takes care of updating the other clients. Finally, imagine an applet that tracks the price of a set of stocks and offers continuous updates. How does the applet know the current stock prices, and, more importantly, how does it know when they change? The answer is that it talks with the corresponding server.

Glossary

Throughout this course, you will find key terms that appear on the page.The Java Servlets Glossary can be reached by clicking on the following link.
Java Servlets Glossary
Key terms introduced in the module appear at the end of each module on the conclusion page. In the next lesson, the course project will be discussed.