The architecture for a typical Java web application

Presentation layer:

  • HTML files
  • JSP files

Business rules layer (Business logic):

  • Servlets
  • JavaBeans
  • Other Java classes

Data access layer:

  • Data access classes

Connections:

  • Database
  • Text files
  • Binary files
  • XML files

Description:

  • Java classes are also know as JavaBean.