When to Use Servlets

Servlets play an important role in providing the necessary infrastructure for integrating Web applications with enterprise components built using J2EE components such as EJBs, JMS, and so on. Servlets can be used on their own to implement small- to medium-scale applications.

HTTP servlets, the most popular implementation of servlets, provide the abstraction necessary for HTTP requests to access the underlying business components in an enterprise scenario. The HTTP servlets provide the framework for creating interactive applications for client presentation (usually in a Web browser), while other WebLogic Server components handle the necessary business logic. WebLogic Server HTTP servlets have access to the other components, ...

Get BEA WebLogic Server™ 8.1 Unleashed 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.