0% found this document useful (0 votes)
32 views

The Construction of E-Business Portal Based On Struts, Spring and Hibernate

The document discusses developing an e-business portal using Struts, Spring, and Hibernate frameworks. The portal aims to integrate the frameworks according to their strengths and apply the technology to a company's B2C e-business portal. The presentation tier collects data from the administrator and connects to the middle tier via a controller. The middle tier then connects to the data tier. Data returned is displayed by the presentation tier. Data access objects handle information exchange between the business logic and ORM components. The relational database is mapped to data objects using Hibernate's ORM tool.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

The Construction of E-Business Portal Based On Struts, Spring and Hibernate

The document discusses developing an e-business portal using Struts, Spring, and Hibernate frameworks. The portal aims to integrate the frameworks according to their strengths and apply the technology to a company's B2C e-business portal. The presentation tier collects data from the administrator and connects to the middle tier via a controller. The middle tier then connects to the data tier. Data returned is displayed by the presentation tier. Data access objects handle information exchange between the business logic and ORM components. The relational database is mapped to data objects using Hibernate's ORM tool.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPS, PDF, TXT or read online on Scribd
You are on page 1/ 23

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
The existing system design results in complexity, poor performance, testability and much more. Application are tightly tied with the under laying database. Hacker may attack the system using SQL Query Insertion.

Proposed System
The proposed system is to develop an E-Business portal based on B2C (Business to Customer) Architecture by using SSH (Struts, Spring and Hibernate). All Database Implementation are Based On Object Using Hibernate Technology

Modules
Presentation Tier

Implementing DAO
Xml Mapping

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

Business Data

Exchange Service (Controller) Business Logic

Presentation Tier DAO Database Server Data Tier Xml Mapping (ORM) Middleware Tier

Software Requirements
Operating System (Windows / Linux) JDK 1.6 Struts, Spring Hibernate Apache Tomcat 6.0 Server My SQL

Hardware Requirements
Hard Disk RAM Processor : 40 GB And Above : 512 MB And Above : Pentium IV

Activity diagram
Start

User Request Business Data Controller DAO ORM

User Response

Collaboration diagram
User
Response Request

Business Data

Exchange Service

DAO

Business Logic

ORM

Screen Shots

Advertisers Login Page

Advertisers Register Page

Advertisement Load Page

Advertiser Login Validation

Advertisement Load

Tables

Advertisement Table
Fields Id name email username password Address Type int varchar varchar varchar varchar varchar

city
Country mobile

varchar
varchar varchar

Load Advertise Table


Fields Id Companyname productname Typename Duration Type int varchar varchar varchar varchar

data
payment

varchar
varchar

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.

You might also like