mysql and java developers guide

433 1.9K 0
mysql and java developers guide

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... Matthews is the creator of Connector/J and its predecessor MM .MySQL, the Java JDBC driver for MySQL Last year, he joined MySQL AB to further develop Java support in MySQL Mark specializes in Java, MySQL, XML, and DHTML solutions and has architected major Web applications projects, including a GIS-based retail analytics package Mark has also taught classes in both Java and UML Jim Cole is a senior software... Installing MySQL, Java, and Connector/J MySQL and Java Developer’s Guide xix All of the coding examples in this book are built using MySQL as the primary database, Java as our coding language, and Connector/J, MySQL s JDBC driver Although the installation of these components isn’t overly difficult, this chapter provides comprehensive instructions for obtaining all of the necessary components and performing... General Interface for MySQL All of the chapters to this point have featured relatively simple examples using Java applications, applets, servlets, and JSP to illustrate the finer points of accessing a MySQL database using Java and Connector/J This chapter pulls it MySQL and Java Developer’s Guide xxi all together using a Certificate Authority application Using JSP, servlets, and EJB, the application... this point, you’ve learned the basics, and it’s time to expand into the more advanced topics This chapter is designed to expand your understanding of SQL, MySQL, and JDBC The topics include updatable ResultSets, PreparedStatements, date/time types, BLOBs and CLOBs, and joins Chapter 7: MySQL Type Mapping One of the fundamental issues associated with databases and programming language is determining... the use of MySQL from these languages and systems As you can see, MySQL is a flexible and capable RDBMS that has a rich feature set, performs well on the majority of queries, and has a large support base for access from many different languages This book focuses on using MySQL with JDBC, which is what we talk about next MySQL and JDBC Many developers choose to implement software using Sun’s Java technology... because of the support Java has for standard Internet concepts such as Web sites, e-mail, and networking This is the very reason I started to investigate using Java with MySQL in 1994 Sun created a standardized interface to databases from Java called Java Database Connectivity (JDBC) Early in 1994, I was interested in connecting a Java application I was about to develop with the then-new MySQL database system... depth the MySQL JDBC driver called Connector/J, and look at its history as the MM .MySQL JDBC driver as well as its future Chapter 3: Working with MySQL SQL Before we delve into the concepts surrounding the interface between Java and MySQL, this chapter provides a basic overview of databases and SQL Topics include basic concepts behind databases, simple database design, database normalization, and data... Mandrake, and Linux Slackware For the most part, we developed the examples using simple text editors and compiled them using the Java command-line compiler However, all the examples should work just fine in an IDE such as JBuilder xviii I NTRO D U CTI O N Two different versions of MySQL are used throughout this book: 4.0.4 and 3.23.52 JDBC connectivity is handled using MySQL s Connector/J driver, and we... 2.0.14 and development 3.0.1 Book Organization The first four chapters of this book provide an overview of databases, JDBC, and installation of the tools you will be using The remainder of the book is an in-depth guide to building database applications with MySQL, Connector/J, JDBC, and Java Chapter 1: An Overview of MySQL MySQL is one of the most popular open source database systems available today, and. .. bugs and interoperability issues with development tools and application servers, MM .MySQL was fixed and tuned and eventually stabilized to become a successful open source project with a life all of its own Downloaded by developers from around the world on average close to a thousand times a day, it is one of the most popular JDBC drivers, commercial or open source 8 An Overview of MySQL Monty and David . Connector/J and its predecessor MM .MySQL, the Java JDBC driver for MySQL. Last year, he joined MySQL AB to further develop Java support in MySQL. Mark specializes in Java, MySQL, XML, and DHTML. Book The primary goal of MySQL and Java Developer’s Guide is to provide a com- prehensive approach to writing code from a Java application to a MySQL data- base using the industry standard: JDBC. As. simple text editors and compiled them using the Java command-line compiler. However, all the examples should work just fine in an IDE such as JBuilder. MySQL and Java Developer’s Guide xvii Two different

Ngày đăng: 07/04/2014, 15:44

Mục lục

  • MySQL and Java Developer's Guide

    • Cover

    • Contents

    • Acknowledgments

    • About the Authors

    • Introduction

    • Chapter 1 An Overview of MySQL

      • Why Use an RDBMS?

        • Multiuser Access

        • Storage Transparency

        • Transactions

        • Searching, Modifying, and Analyzing Data

        • Ad Hoc Queries

        • Why Choose MySQL?

        • MySQL and JDBC

        • What's Next

        • Chapter 2 JDBC and Connector/J

          • What Is JDBC?

            • What about ODBC?

            • Modeling Database Applications with JDBC

            • JDBC Versions

            • JDBC Driver Types

            • SQL Standards

            • Examining the JDBC Interface

              • The java.sql Package

              • The javax.sql Package

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan