Web Applications

To create a Web-based user interface, you need to apply Web-centric components. J2EE provides three types of Web-centric components:

  • JavaServer Pages (JSP)

  • Servlets

  • Web Services

The first two of these components (JSPs and servlets) provide services to clients that use HTTP as a means of communication. For example, JSPs and servlets can interact with the following clients:

  • Standard HTML browsers, such as Microsoft Internet Explorer and Netscape Navigator

  • Java 2 Micro Edition (J2ME) enabled devices, connecting across a wireless network

  • Any Java application using java.net.URL objects

  • Wireless Markup Language (WML) browsers, such as those found on WAP-enabled mobile phones

Web Services expose application or business logic to a client ...

Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition 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.