The Construction of E-Business Portal Based on Struts, Spring and Hibernate
AIM The mainstay of this project is to integrate the three frameworks (Struts, spring and Hibernate) according to their strong points and apply this technology to an E-Business portal of company.
Synopsis E-Business portals can be used to deliver information and applications to internet users, it changes the way of businesses which are operated from traditional approaches to an advanced and more efficient operations. The major advantages of adapting E-Business portal to any industry are: removal of location and availability restrictions, reduction of time and money spent, heightening customer services, and the provision of competitive advantages. This paper adopts an integrated framework by Struts, Spring and Hibernate. In presentation tier Struts is used, in the business logic tier web have created business objects, business services and now we are going to integrate them using spring framework, and Hibernate is used as ORM.
Presentation tier Develop an E-Business portal based B2C. The Administrator can modify the property through the browser. The presentation tier collects these data, and connects with the middle tier by the controller, and then the middle tier will connect with the data tier. At last, the data returned from the middle tier will be displayed by the Presentation Tier .
Implementing Dao Data Access Object it encapsulates the functions of data modification, add and deletion. It handles the information exchange between Business Logic component and Object Relational Mapping (ORM).
Xml Mapping The relational database table which stores merchandise information is mapped to data objects by the object/relational mapping tool of the Hibernate, then the developer can operate the database table with object. Database Servers in information is stored and retrieved. This tier keeps data neutral and independent from application servers or business logic. Giving data its own tier also improves scalability and performance.
Architecture Administrator or User Presentation Tier Business Data Exchange Service (Controller) Business Logic Xml Mapping (ORM) Data Tier Database Server Middleware Tier DAO
Advertisement Table varchar mobile varchar Country varchar city varchar Address varchar password varchar username varchar email varchar name int Id Type Fields
Load Advertise Table varchar payment varchar data varchar Duration varchar Typename varchar productname varchar Companyname int Id Type Fields
Conclusion Develop an E-Business portal based B2C by using open source framework Spring, Hibernate and Struts. In the portal system, the presentation, the application processing and the data management are logically separate processes. Thus it satisfies the demands of the business and achieves the goal of expansibility and maintenance by designing the clear, structure of system architecture.