2 KEY TECHNOLOGIES
2.1 Java
The Java language is an object-oriented interpretive
programming language. Because of its powerful
functions, stable performance, cross-platform,
dynamic loading and high security, it has become
one of the most widely used languages. The biggest
function of Java is to make web pages lively. It is
simplified from C language, which not only inherits
many advantages of C language, but also
circumvents many complicated functions. And Java
has a wide range of APPlications, including Android
mobile app, large websites, PC software and so on.
In JAVA, JDK is the development kit of Java and
the core of the whole Java, including JRE, jar and so
on. (Ning, 2021)
2.2 J2ee
The J2EE is an enterprise application development
specification. In the client layer, the application
supports C/S or B/S architectures to meet the various
development needs of users. In the Web layer, the
components supported by J2EE are JSP pages or
Servlet programs. Both JSP and Servlet can get the
requests from users in time and forward the requests
to the Enterprise Bean on the business layer for
processing. In the business layer, Session Beans
realizes the temporary session between the business
layer and the customer layer. The data of Session
Beans will not be saved, but Entity Beans will save
the data. The Essage-Driven Beans combines the
characteristics of Session Beans and JMS message
listeners, and allows business layer components to
receive JMS messages asynchronously. (Lin, 2020)
2.3 SSH Framework
The SSH framework is an integrated framework
composed of Struts, Spring and Hibernate, and
finally realizes MVC layered architecture. The
relationship between SSH framework and MVC
architecture is shown in Figure 1. Among them,
Struts is responsible for the separation of MVC,
JavaServlet and JSP technology are used to control
the process of request processing, Hibernate is
responsible for the handover with the database, and
JDBC is encapsulated to access the database from
the perspective of objects. The core of managing
Spring Struts and Hibernate is Control Reversal
(IoC) and Aspect Oriented (AOP). The control
inversion of Spring can play the role of decoupling,
so that Struts and Hibernate can be better combined
and work harmoniously. (Fan, 2016)
Figure 1: The relationship between SSH framework and
MVC framework (Original)
2.4 Sql Server
The SQL Server is a kind of relational database
management system, which is widely used. Its
advantages mainly lie in its scalability (applicable to
various platforms, providing rich interfaces),
integration (providing the function of data
warehouse, and being closely related to many server
softwares), ease of use (graphical interface, more
intuitive and concise), and high efficiency (reducing
the time and cost for users to manage data). With
this database, users can easily publish the required
information and data on the Web, and users can
view the data stored in SQL Server through common
browsers.
2.5 Development Process
According to the system development requirements
and the use requirements of the above key
technologies, complete the configuration and
deployment of the development environment. The
overall development of the system is based on
Windows10.0 operating system, with Java as the
basic development language, JDK version 1.8.0_91
as the development kit, Tomcat 8.0 as the Web
server, Eclipse as the Java integrated development
tool and SQLserver as the database. Through
downloading, installing and configuring the above
software systems one by one, the development
environment of the system is built. In Eclipse
system, build a new Maven project. The overall
deployment of SSH framework needs Struts, Spring
and Hibernate to be completed respectively. Struts
framework construction: introduce Struts-2.3.30-
apps resource package, create an action class, and
correspondingly create dao class and service class in
the middle. Hibernate framework construction: you
need to install the Hibernate Tools plug-in, introduce