Java Web applications are generally defined as: a html/xml document, Java servlet,jsp (Java Server Pages), JSTL (Java Server Pages Standard Tag Library), classes, and any other kind of file, can be bundled together and run on multiple web containers from multiple vendors to form a collection of web resources.
One: Java Web application development is based on the Java EE Framework, and Java EE is a solution for enterprise-class applications built on the Web, and therefore requires EE containers and components.
1. Containers: Refers to the provision of specific program Component Services in a standardized operating environment, through which can get the desired service on the Java EE platform.
2. Component: Refers to the software unit in the application that can play a specific function, essentially several specific Java programs.
3 component-to-container relationship: components are assembled into a separate software functional unit in the Java platform, each Java EE component executes in a container, the container provides standard services and APIs for the component, and the container acts as an interface to the underlying Java EE platform
Second: Java Web application Development technology
1. Presentation layer: HTML and JSP page composition
2. Control layer: Servlet
3. Business Logic Layer: JavaBean or EJB
4. Persistence layer: Jdbc,hibernate
5. In addition, each component of a Java Web application needs to be declared in an XML-formatted configuration file and then packaged and deployed to a Java Web server to run.
Introduction to Java Web application development Technology