|
Two ways of Java EE development
A lightweight JavaEE enterprise development platform with Spring as the core, the SSH we learned belongs to this
feature : low development and deployment costs; use of a web server
Applicable scenarios: small and medium-sized enterprise applications Classic JavaEE development platform
with EJB3+JPA as the core
Features : It meets the requirements of high scalability and high stability, and the maintenance cost is high in the later period; using application server
Applicable scenarios: banking system, insurance system, etc.
What did you use before SSH?
It can be seen that the coupling is high. It is worth mentioning that both JSP and Servlet can act as presentation layer, but Servlet acting as presentation layer will make it difficult to maintain presentation layer pages, so JSP is now commonly used as presentation layer. However, the principle of using JSP is: the web server compiles it into a servlet, and then runs it on the web server.
|
SSH refers to three frameworks: Struts, Hibernate, Spring, an open source framework for web applications
effect
Struts: Handling request
information Alternative technologies that serve the same purpose: SpringMVC, JSF
Hibernate: Background JDBC database
connection Alternative technologies that work the same: MyBatis, TopLink, Apache
Spring: coordinating work between frameworks
mind Mapping
Tools needed for development
(1) Web server (after the website is built, deploy it to the server for users to access): Tomcat, Jetty, Resin
(2) Component tools (can realize automatic construction and deployment of projects, etc.): Ant, Maven, Gradle
(3) The rest include IDEs such as Eclipse, and SVN as a version control tool.