JavaWeb
is the sum of technologies that use Java technology to solve related web and Internet fields. The web consists of two parts: the web server, also called the back-end; and the web client, also called the web front-end. The front end is the part that users can see, such as Taobao, QQ space, everything you can see on the web page is done by the web front end. What the backend does is process the front-end display business logic function.
Java applications on the client side include java applets, but they are rarely used. Java applications on the server side are very rich, such as Servlet, JSP and third-party frameworks (Spring MVC, Stripes, Struts 2, Tapestry, Wicket), etc. Java technology has injected strong impetus into the development of the Web field.
Although Java's Web frameworks are different, they basically follow a specific approach: use Servlet or Filter to intercept requests, use MVC ideas to design the architecture, use conventions, XML or Annotation to implement configuration, Using the object-oriented characteristics of Java, the object-oriented implementation of the request and response process supports Jsp, Freemarker, Velocity and other views.
The above is the detailed content of What is javaWeb. For more information, please follow other related articles on the PHP Chinese website!