Practical Applications for Java Servlets

Servlets can be used for any number of "Web-related" applications. When you start using servlets, you will find more practical applications for them. The following list contains three examples that I believe are some of the most important applications:

  • Developing e-commerce "storefronts" will become one of the most common uses for Java servlets. A servlet can build an online catalog based on the contents of a database. It can then present this catalog to the customer using dynamic HTML. The customer will choose the items to be ordered, enter the shipping and billing information, and then submit the data to a servlet. When the servlet receives the posted data, it will process the orders and place them ...

Get Pure Java Server Pages™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.