Font Size: a A A

The Design And Implementation Of Some Modules Of Information Machine System Based On Hibernate3.0

Posted on:2008-12-27Degree:MasterType:Thesis
Country:ChinaCandidate:F LiFull Text:PDF
GTID:2178360212996795Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In recent years, mobile communication in China has been universal .The number of mobile phone users in China has ranked first in the world. The number of sending SMS is even more surprising. Application for getting information by mobile is more and more accepted and desired, which is a convenient, fast way. All of this declared that Mobile Information Age is coming. SMS, MMS, WAP and other ways are becoming the primary means of communicating information.Nowadays, the mobile application for industry is accelerating the pace. From the case that the operators expand market for the industry application, we can find that they usually choose the enterprise / industry to make experiments, which is able to pay and desired to use. Then they do more work for promotion in a wider scope. For different enterprises / industries, management,organizational structure,business processes are different. So the needs for information communication are different. Therefore, the application for industry must roundly understand what the real needs of each business / industry are, then provide pertinent solutions. Now, most of developed products are the integrations between messaging system and IT systems of users. But each SMS application for industry requires operators to find the SP or system integrators to develop. It not only leads to the cycle of the SMS application development to be longer and inefficient, but also makes software could not be used for others. In order to solve this problem, we need to find common characteristics from different SMS business of industries to build a platform, which is easy to access enterprise IT systems. This led to the creation of business / industry information machine. And it will be used more widely in the future, become a very popular demand. Information machine system is a application for industry product based on the SMS,MMS,WAP,and other ways to achieve the industry / enterprise office,external marketing and services. It builds a speedy and relatively secure communication channel between industry / enterprise database system and the network of mobile operators.Information machine system is simple and easy for promotion. Therefore it can solve the timely issues of communication, and change functions for adjusting to demand. It generally is applied to the government,banking,taxation,school,business administration,insurance,police,water conservancy,electricity,the media,culture and entertainment,health care,cabaret,emporium,manufacturing and other kinds of industries. For different industries, information machine system could quickly establish business logic to meet the needs, build messages application for industry in a short time.In this paper, information machine system uses a popular model---Struts Structures, which is based on the MVC Web application software development framework, to separate the expression layer from business logic. Struts is used to build a Java Web application framework. Its aim is to separate the Web express layer, control layer and the background function layer, and to realize famous MVC model. Then programmers can pay more attention to the design of the background business logic. In struts framework, according to the Action class, it dynamically build website, then call background logic.Hibernate 3.0, what is used in this paper, is a Java environment for the object / relational database mapping tool. This technology is used to express the object model mapped to the data structure of SQL-based relational model. Hibernate 3.0 technology provides the methods for querying data and accessing data. The time of development using SQL and JDBC to process data obviously is reduced. It provides HQL for the development process, has important significance. The platform establishes DAO (Data Access Object) pattern by Hibernate3.0, which separates the data access logic and high-level business logic. So it has a good encapsulation to access database. The details: establish a value object; make the mapping between it and the table of database by XML, then package the data operations in a DAO class. This method could achieve Persistent Data. In this mode, the business logic layer does not contain the accessing database statements. It's easy to revise the procedures and upgrade the systems.We partition the system based on the function; each module can be divided into three parts: expression layer, business logic, accessing database layer. This paper introduces the address list module design and implementation and focus on how to achieve the accessing database layer of the data resources module. From the address list module, we can find the three-tier structure and means of communication clearly. Value classes of the module are: AddressGroup,AddressUser. They are communication carriers between accessing database layer and business logic.
Keywords/Search Tags:Information Machine System, MVC Mode, Struts Framework, Hibernate3.0
PDF Full Text Request
Related items