Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Ssh 1


Published on

SSH :: E-Business

Published in: Technology, Education
  • Be the first to comment

  • Be the first to like this

Ssh 1

  1. 1. The Construction of E-Business Portal Based on Struts, Spring and Hibernate
  2. 2. 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.
  3. 3. 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.
  4. 4. 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>
  5. 5. Modules <ul><li>Presentation Tier </li></ul><ul><li>Implementing DAO </li></ul><ul><li>Xml Mapping </li></ul>
  6. 6. 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 .
  7. 7. 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).
  8. 8. 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.
  9. 9. Architecture Administrator or User Presentation Tier Business Data Exchange Service (Controller) Business Logic Xml Mapping (ORM) Data Tier Database Server Middleware Tier DAO
  10. 10. 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>
  11. 11. 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>
  12. 12. Activity diagram Start User Request Business Data Controller DAO ORM User Response
  13. 13. Collaboration diagram Business Data Exchange Service Business Logic ORM DAO User Request Response
  14. 14. Sequence diagram Controller Business Logic ORM User Request DB Mapping Response
  15. 15. Use Case diagram Portal Advertisement Business Seller Buyer Business Data Controller DAO ORM User Request
  16. 16. Screen Shots
  17. 17. Advertisers Login Page
  18. 18. Advertisers Register Page
  19. 19. Advertisement Load Page
  20. 20. Advertiser Login Validation
  21. 21. Advertisement Load
  22. 22. Tables
  23. 23. Advertisement Table varchar mobile varchar Country varchar city varchar Address varchar password varchar username varchar email varchar name int Id Type Fields
  24. 24. Load Advertise Table varchar payment varchar data varchar Duration varchar Typename varchar productname varchar Companyname int Id Type Fields
  25. 25. 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.