Eclipse+struts+hibernate's Internet Store

Source: Internet
Author: User

This article describes the development tools and architectures needed for the development of a network store.

Basic Configuration

Develop the development tools needed for this example.

• Development platform: Eclipse 3.1.

· Web server: Tomcat 5.

• Development technology: Jsp,struts Framework, Hibernate technology, JSTL.

• Database server: MySQL5.0.

System Requirements

Most readers have had the experience of online shopping, in the shopping site can be very convenient registration, browsing merchandise, inquiry products, purchase only a few clicks of the mouse. The network store in this chapter implements the basic functions described above, where users can register, browse merchandise, and search for a shopping cart in a Web store. Here's how each system function is explained.

1. Login and Registration

User Login and registration is the realization of a new user registration and the login of the old user, these two features are basically available on each ecommerce website. User registration is a new user can be in the network store information registration, this is the premise of shopping. Users must register before they can go shopping. Registration information is validated by the system to ensure the correctness of the registration information. User login is the user can landing on the landing page, in the shopping checkout, the user needs to login information, of course, when entering the system began, users can login. When landing, if the username password is incorrect, the system prompts for an error.

2. Product Browsing

The product browsing is realizes the user may browse the merchandise in the network shop, the commodity is according to the commodity category to carry on the classification, the user may click each category link to enter each classification, the view detailed information. After entering each commodity category, the goods are sorted according to the type of each product.

For example, to enter the large category of books, there can be many kinds of books, such as computer-related books, management related books. Users enter each product line according to each product link. For example, click on a computer-related book, and after entering, list every item. Click on each item to see the specific information of each item, such as clicking on the art of computer programming, you can see the publication date of the book, the Price, the book's approximate content. If you think this book is suitable, you can put it in the shopping cart.

3. Checkout

At checkout, the system will display the goods that are already in the user's shopping cart, including the product name, product quantity, unit price, total prices and whether there is any stock. When the order is finalized, the user can modify the quantity of each item. For example, computer programming and art want to buy 2, then the user can modify its purchase quantity, update the cart can be. If the user does not want to buy this book, it can be removed from the shopping cart. But once you click the settlement to generate an order, the cart cannot be changed.

Based on the above general requirements, draw a use case diagram for the network store, as shown in Figure 1.

Figure 1 Use case diagram

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.