20145311 Java programming Nineth Week of study summary

Source: Internet
Author: User

20145311 "Java program design" Nineth Week study summary textbook Study content summary 16th Chapter Integration Database 16.1JDBC16.1.1JDBC Introduction

JDBC (Java database Connectivity) is a solution for executing SQL, the developer uses the standard interface of JDBC, the database vendor operates on the interface, and the developer does not have to touch the differences of the underlying database driver. When the manufacturer operates the JDBC driver, the driver can be divided into 4 types by way:

· Type 1:JDBC-ODBC Bridge Driver
· Type 2:native API Driver
· Type 3:jdbc-net Driver
· Type 4:native Protocol Driver

The JDBC Standard is divided into two parts: the JDBC Application developer interface, the JDBC driver developer interface

16.1.2 Connection Database

The JDBC driver must have vendor operation to connect to the database

16.1.3Statement and ResultSet

Conection is the representative object of a database connection, the next step must be to get the parameters of the Java.sql.Statement Action object call clearstatement clear settings, and then use the PreparedStatement instance again.

16.1.4PreparedStatement, CallableStatement
16.2JDBC Advanced
16.2.1DateSource Online

Let Messagedao rely on the Javax.sql.DataSource interface, can get connnection by the head connection ()

16.2.2 scrolling, updating data with resultset

Update, update, and other methods can and do data modification

16.2.3 Batch Update

Batch update is possible with Addbatch collection of SQL

16.2.4Blob, Clob16.2.5 Trading

Atomicity Consistency Isolation behavior persistence

16.2.6metadata

Obtain the overall information of the database, obtain the Domain Name field type and other information

16.2.7RowSet

Adding additions and deletions to a collection of columns

The 17th chapter reflection and Class loader

Java actually requires a class to load the corresponding. class document, rather than loading all classes at program startup. An instance of Java.lang.Class represents a. class document that is loaded when the Java application runs. The class object corresponding to each object can be obtained through the GetClass () method of object, or by using the. class constant, or the corresponding package class, if it is a basic type. Type gets the class object. For example: Integer.type can get a class object representing int.

18th Chapter Window Programming

Create a window text editor with read and store functionality

Problems in teaching materials learning and the solving process

After-school choice questions
CH16:CD b C B AB
B C A AB C

Problems in code debugging and the resolution process

Other (sentiment, thinking, etc., optional)

This week is mainly to learn Java in the database this piece of content, a lot of content can not understand, the Lord is usually contact with the database is not much, so this time is very laborious.

Learning progress Bar

Lines of code (new/cumulative Blog volume (cumulative/target) Study time Estimating Learning Time Actual learning Time Important growth
Goal 5000 rows 30 Articles 400 hours
First week 150/150 2/2 15
Second week 500/650 3/4 15
Third week 500/1150 4/5 14

Week Four 600/1750 5/6 15
Week Five 500/2250 6/7 9 I didn't learn much this week.
Week Six 300/2350 7/8 10 Learning is still untrue, but better than last week
Seventh Week

300/2650

This week wrote about 300 lines of code (including experiments),

Some of the code is directly pasted run and look at the results

10/10

8h~9h

10h

8h~9h

This week's study content is mainly the time, the date correlation class application,

Compared to the previous chapters, it's a bit simpler,

The actual learning time is less than the estimated learning time,

The time spent reading is about the same as the estimate,

But write code, debug, do practical application,

Learning Java experiments related debugging skills, testing skills time or less, or a little lazy.

Eighth Week

400/3050

12/12

8h

9h

8h

Java is behind the use of classes, not the actual operation is certainly not allowed, hands or less,

On paper, you should take the initiative to knock more code.

Nineth Week

300/3350

14/14

11h

10h

11h

Database This piece is not how to understand, quite abstract

Resources
      • Java Learning Notes (8th Edition)
      • Java Learning Note (8th Edition) Learning Guide
      • ...

20145311 Java programming Nineth Week of study summary

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.