Java Data Access—JDBC, JNDI, and JAXP phần 2 ppsx

Java Data Access—JDBC, JNDI, and JAXP phần 2 ppsx

Java Data Access—JDBC, JNDI, and JAXP phần 2 ppsx

... the methods and properties that enable you to send commands and receive data from your database. They also define methods that help bridge data type differences between Java and SQL data types ... “Understanding JDBC Data Types,” covers SQL and Java data type issues and their compatibility. The ResultSet object uses a cursor to point to rows in the result set. To acces...

Ngày tải lên: 14/08/2014, 06:21

38 237 0
Java Data Access—JDBC, JNDI, and JAXP phần 1 pptx

Java Data Access—JDBC, JNDI, and JAXP phần 1 pptx

... Objects 22 4 Using DataSource objects 22 5 Looking at DataSource implementations 22 6 A DataSource example 22 7 Using DataSource objects with JNDI 22 8 Implementing Connection Pooling 23 1 Understanding ... 20 8 JNDI architecture 20 9 JNDI programming 21 1 Working with the JNDI LDAP SPI 21 4 Summary 22 3 Chapter 14: Using Data Sources and Connection Pooling 22 4 In This Chapte...

Ngày tải lên: 14/08/2014, 06:21

39 395 0
Java Data Access—JDBC, JNDI, and JAXP phần 3 ppt

Java Data Access—JDBC, JNDI, and JAXP phần 3 ppt

... 100 987654 321 John 4351.00 1996− 12 31 500 868653391 Greg 4351.00 1996− 12 31 500 123 456789 Jimmy 3080.00 1997−09−07 400 3 126 54987 Lori 20 00.95 1999−01−11 300 419876541 Larry 1500.00 20 01−03−05 20 0 Goodbye! JDBC ... around and viewing data in a result set• Updating data in a result set• Retrieving data from a result set• Handling data type issues• In Chapter 4, “Connec...

Ngày tải lên: 14/08/2014, 06:21

38 281 0
Java Data Access—JDBC, JNDI, and JAXP phần 4 docx

Java Data Access—JDBC, JNDI, and JAXP phần 4 docx

... 1500.75 20 01−03−05 20 0 3 126 54987 Lori 20 00.95 1999−01−11 300 123 456789 Jimmy 3080.05 1997−09−07 400 987654 321 John 4351 .27 1996− 12 31 500 5376 422 56 Andy 1400.51 20 01−04 23 400 Metadata for ... VALUES" + " (2, Emp _Data( 22 222 222 2,’Steve’,’Yesbert’,15000.75))"); stmt.executeUpdate("INSERT INTO Emp_Records VALUES" + "(3,Emp _Data( 33333...

Ngày tải lên: 14/08/2014, 06:21

38 192 0
Java Data Access—JDBC, JNDI, and JAXP phần 5 ppt

Java Data Access—JDBC, JNDI, and JAXP phần 5 ppt

... JDBC Type: 12 Database Type Name: DATE JDBC Type: 93 Database Type Name: STRUCT JDBC Type: 20 02 Database Type Name: ARRAY JDBC Type: 20 03 Database Type Name: BLOB JDBC Type: 20 04 Database Type ... list of the database keywords and helper functions. Listing 8 2: DBMetaData .java package Chapter8; //Specific imports import java. sql.Connection; import java. sql.ResultSet; import j...

Ngày tải lên: 14/08/2014, 06:21

38 273 0
Java Data Access—JDBC, JNDI, and JAXP phần 6 doc

Java Data Access—JDBC, JNDI, and JAXP phần 6 doc

... with JAXP Chapter 19: Accessing Data with Enterprise JavaBeans 20 3 Chapter 13: Accessing Enterprise Data with JNDI In This Chapter Introducing naming and directory services• Understanding the Java ... "ldap://localhost:389/o=MyLdapData"; env.put(Context.PROVIDER_URL,jndiUrl); Chapter 13: Accessing Enterprise Data with JNDI 21 2 Simply put, naming and directory serv...

Ngày tải lên: 14/08/2014, 06:21

38 305 0
Java Data Access—JDBC, JNDI, and JAXP phần 7 ppt

Java Data Access—JDBC, JNDI, and JAXP phần 7 ppt

... InitialContext(env); //Bind the DataSource object bindDataSource(ctx, dataSourceName); //Retrieve the DataSource object DataSource ds = null; ds = (DataSource) ctx.lookup(dataSourceName); //Open ... View and update data in disconnected environments• Take advantage of JavaBean technology, for example by using standard setter and getter methods for configuring and retrieving pro...

Ngày tải lên: 14/08/2014, 06:21

38 332 0
Java Data Access—JDBC, JNDI, and JAXP phần 8 pdf

Java Data Access—JDBC, JNDI, and JAXP phần 8 pdf

... architectures, two−tier, three−tier and n−tier. I briefly discuss each. I also discuss servlets and JavaServer Pages and their roles in the enterprise Web application and J2EE, and how to use JDBC with ... position crs.moveToInsertRow(); //Add the data for the new row crs.updateInt(1,997 120 987); crs.updateString (2, "Nathan Dunn"); crs.updateDouble(3 ,22 25.77); crs.up...

Ngày tải lên: 14/08/2014, 06:21

38 315 0
Java Data Access—JDBC, JNDI, and JAXP phần 9 pptx

Java Data Access—JDBC, JNDI, and JAXP phần 9 pptx

... to establish a database connection. Listing 17−3: DatabaseBean .java // Java Data Access: JDBC, JNDI, and JAXP // Chapter 17 − Web Applications and Data Access // DatabaseBean .java package Chapter18; import ... the JAXP 1.1 as an optional package. The JAXP 1.1 will be included in the Java 2 Platform Standard Edition (J2SE) 1.4 and in the Java 2 Platform Enterpri...

Ngày tải lên: 14/08/2014, 06:21

38 329 0
Java Data Access—JDBC, JNDI, and JAXP phần 10 pdf

Java Data Access—JDBC, JNDI, and JAXP phần 10 pdf

... CustomerBean .java import java. io.Serializable; import java. util.Enumeration; import java. util.Vector; import javax.ejb.*; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.sql.DataSource; import ... Linux JDK Vendor Version Information and Download Java 2 SDK, Standard Edition Sun Microsystems 1.3.1 http:/ /java. sun.com/linux IBM Developer Ki...

Ngày tải lên: 14/08/2014, 06:21

46 333 0
w