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.
Existing System <ul><li>The existing system design results in complexity, poor performance, testability and much more. </li></ul><ul><li>Application are tightly tied with the under laying database. </li></ul><ul><li>Hacker may attack the system using SQL Query Insertion. </li></ul>Proposed System <ul><li>The proposed system is to develop an E-Business portal based on B2C (Business to Customer) Architecture by using SSH (Struts, Spring and Hibernate). </li></ul><ul><li>All Database Implementation are Based On Object Using Hibernate Technology </li></ul>
Modules <ul><li>Presentation Tier </li></ul><ul><li>Implementing DAO </li></ul><ul><li>Xml Mapping </li></ul>
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
Software Requirements <ul><li>Operating System (Windows / Linux) </li></ul><ul><li>JDK 1.6 </li></ul><ul><li>Struts, Spring </li></ul><ul><li>Hibernate </li></ul><ul><li>Apache Tomcat 6.0 Server </li></ul><ul><li>My SQL </li></ul>
Hardware Requirements <ul><li>Hard Disk : 40 GB And Above </li></ul><ul><li>RAM : 512 MB And Above </li></ul><ul><li>Processor : Pentium IV </li></ul>
Activity diagram Start User Request Business Data Controller DAO ORM User Response
Collaboration diagram Business Data Exchange Service Business Logic ORM DAO User Request Response
Sequence diagram Controller Business Logic ORM User Request DB Mapping Response
Use Case diagram Portal Advertisement Business Seller Buyer Business Data Controller DAO ORM User Request
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.