Use the NetBeans IDE to execute a Web application that creates, retrieves, updates, and deletes database rows

Source: Internet
Author: User
Tags netbeans

This tutorial describes how to use the NetBeans IDE 6.5 and JSF 1.2 (Woodstock) components to build WEB applications that can create, retrieve, update, and delete database rows. The application provides a master data Drop-down list and a synchronized details table. Users of the application can add, update, and delete records in the details table from the associated database.

The concepts used in this tutorial are described in a more basic tutorial. If you don't have a basic understanding of the IDE and its design components, read some introductory tutorials, such as getting started with visual Web JSF application development, and accessing databases using data-binding components.

Estimated time: 45 minutes

Directory

Create a project

Design page

Setting up the database

Configure the Drop-down list

Configuration table

Change Column Components

Configure a virtual form for a table

Adding events and initializing code

Test application-Part 1th

Add Insert Function

Add more components to a table

Add Application-Part 2nd

Modify the page to save the rowset

Create Maxtriprowset

Saving user changes to the database

Test Application-Part 3rd

Add Delete feature

Add a Delete button to each line

Add event code

Test Application-Part 4th

Add Restore Functionality

Add Reverse Change button

Configuring virtual Forms

Test Application-Part 5th

Conclusion

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.