Design and Integration of Inventory Management
System in E-Commerce Website for B2C Shopping Mall
Based on Framework Technology
WANG Anbao
1*
, XUJie
2
School of Computer and Information, Shanghai Second Polytechnic University, Shanghai 201209, China
1
wabhappy@163.com;
2
xujiesspu@sina.com
Abstract: With the rapid development of network technology, the Web applications are used more widely,
and the higher requirements on the Web system has been pursued by many people. The web applications
should become more simple and convenient; also it requires some new internal adjustments in the Enterprise.
The techniques of struts2, spring and the Hibernate are used in this paper, and these three kinds of lightweight
frames are very popular at present, also the Ajax technology is introduced in our work to implement the de-
velopment. According to the practical demands of the Back-state management of the B2C Shopping Mall and
Inventory management system, this two systems are integrated, and these three framework technologies and
Ajax technique are integrated which can in accordance with J2EE three-tier structure as well, finally the
framework for Ajax+SSH (Struts+Spring+Hibernate) is realized.
Keywords: Struts2; Spring; Hibernate; Ajax; Back-state management; Inventory management system
1 Introduction
With the impulse of advancement for network tech-
nique and the rapid development of electronic commerce,
online shopping has become the latest consumptive mode
for consumers, particular for our younger generations
who are more accept new concept and tend to pay more
attention to it.
In consequence, more and more businessmen establish
online malls and make this novel shopping concept ac-
cepted by consumers.
However, as for these online malls evolved from tradi-
tional malls, there are some redundant, even conflict is-
sues existed in online and offline data management and its
process. Especially, it is quite important for the adjust-
ments between the former purchase-sell-stock manage-
ment system and the latter Back-state management of the
online shops, which has higher requirements for the out-
put of the enterprise workload, the integrity and timeli-
ness of the data.
In the past, the client/server architectures are adopted
by the purchase-sell-stock management information sys-
tem, which divides application into two parts. One is the
server which is responsible for data management, and the
other one is the Client which engages in the interaction
with manager. A
1
s we known, the client/server architec-
ture is has reflected the superiority, the Inventory man-
agement system's upgrade also has been put on the agenda.
The improved model and the Back-state management of
1
* corresponding author
online mall are very similar, and this will give us oppor-
tunities on the integration or mutual expansion between
them. The purpose of this paper is to design an online
store Back-state management system with the Inventory
management system in order to reduce unnecessary data's
duplication for input and output and ensure time-
consistency between the two systems described above.
2 Related techniques
The purpose of this paper is to construct online mall in-
ventory management integrated system using the concept
of purchase-sell-stock management system.
The current three open-source frameworks and Ajax
technique are used in our research. Struts serves as a
MVC pattern of framework, which separates business
logic and data performance effectively, optimizes the sys-
tem structure, and improves the system extensibility as
well. Spring is a lightweight J2EE application framework,
and it reduces coupling degree between systems effective-
ly through the reverse control characteristic. Hibernate is
an open-source persistence layer framework, and it reduc-
es the complexity of database development and improve
the portability of the system with the use of JDBC pack-
age. Finally, Ajax combines several technologies, it pro-
motes the user experience through asynchronous refresh
and optimizes data transfer between the browser and the
web server, more importantly, and it also efficiently re-
duces the unnecessary data round trip and bandwidth con-
sumption.
These three frameworks and Ajax technology are inte-
grated in accordance with J2EE three-tier structure, it
forms the framework of Ajax + SSH (Struts + Spring +