Expert Oracle JDBC Programming and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Expert Oracle JDBC Programming
 
 
Start reading Expert Oracle JDBC Programming on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Expert Oracle JDBC Programming [Paperback]

R.M. Menon (Author)
5.0 out of 5 stars  See all reviews (5 customer reviews)

List Price: $59.99
Price: $36.18 & this item ships for FREE with Super Saver Shipping. Details
You Save: $23.81 (40%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition $32.56  
Paperback $36.18  

Book Description

Oaktable Press June 2, 2005

With Oracle in the process of de-supporting SQLJ, JDBC is now really the only recommended means of interfacing between Java and Oracle. Consequently, this book is a must have for any developer building an Oracle Java application.

Many Java developers tend to treat Oracle as a "black box"; as a consequence, developers tend to write incorrect, non-scalable code. If you don't intimately know how Oracle works and expects you to program, you might avoid Oracle extensions to the standard for fear of your code becoming database-dependent. If you give in to that fear, you'll miss out on the extensive out-of-the-box functionality that Oracle offers. This book teaches you how to build efficient, high-performance, and robust Oracle-based JDBC applications. You'll discover the full details of Oracle's implementation of the JDBC 3.0 standard (what it supports, what it doesn't and what extensions Oracle provides), and more.

This book tackles issues head-on, detailing concisely and clearly the vital details of Oracle's architecture and mode of operation that directly impact the manner in which JDBC applications should be written. Only when armed with this knowledge, a willingness to exploit the database to its full potential in your JDBC code, and the ability to use Oracle's SQL and PL/SQL features when appropriate, is it possible to write truly efficient, robust, scalable and high performance applications.


Frequently Bought Together

Customers buy this book with Java Programming with Oracle JDBC $46.54

Expert Oracle JDBC Programming + Java Programming with Oracle JDBC
  • This item: Expert Oracle JDBC Programming

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Java Programming with Oracle JDBC

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

About the Author

R.M. Menon has worked with Oracle database for over nine years—six of which have been at Oracle Corp. Menon works in the core technology division of Oracle, and his numerous contacts there have helped shaped this book. He maintains his own, internal website at Oracle, and posts an article each week about a performance-related topic. For the past five years, Menon has also worked in Java/J2EE. He has used JDBC in his career as well, and his current work involves great usage of JDBC with Oracle. Menon is now working towards J2EE-related certifications.


Product Details

  • Paperback: 708 pages
  • Publisher: Apress; 1 edition (June 2, 2005)
  • Language: English
  • ISBN-10: 159059407X
  • ISBN-13: 978-1590594070
  • Product Dimensions: 9.1 x 6.9 x 1.6 inches
  • Shipping Weight: 2.7 pounds (View shipping rates and policies)
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (5 customer reviews)
  • Amazon Best Sellers Rank: #407,645 in Books (See Top 100 in Books)

More About the Author

I am an Indian settled in USA and the author of "Expert Oracle JDBC Programming" book.

 

Customer Reviews

5 Reviews
5 star:
 (5)
4 star:    (0)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
5.0 out of 5 stars (5 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

10 of 10 people found the following review helpful:
5.0 out of 5 stars For Oracle specific high performance JDBC this is THE book, August 30, 2005
This review is from: Expert Oracle JDBC Programming (Paperback)
This book is about Oracle JDBC programming, not generic database neutral JDBC programming but Oracle specific. There are many JDBC books available and many Oracle and Oracle programming books but this concentrates narrowly on JDBC for Oracle, and how to get the best performance out of that combination. It is aimed at an audience that already knows Java and probably already knows a little JDBC. It is written in a dry but very readable style and plenty of code examples. At just over 700 pages it is a fairly fat book, but I felt everything was justified and there was nothing that felt like "padding". The code examples are fairly short and tend to be complete programs with a main method rather than snippets that need to be incorporated into a runnable program. Each code example includes a comment about which version of Oracle it will run with, and mostly this covers at least 10.1 and 9.2.

The main emphasis is on compatibility with Oracle 10.g. There is an emphasis on performance which is clear from the title of Chapter 1 "Performance Toolkit" and graphs are used to illustrate the influence of various parameters on performance. The book makes use of UML style class charts, tables and plenty of performance/time line graphs. I particularly liked the use of a flow chart to illustrate the statement processing algorithm. Flow charts seem to be old fashioned, but they are almost perfect for illustrating this type of information. If you were being overly critical of the diagrams, you might describe them as unsophisticated. Thus in Chapter 15 the "Our example application" illustration looks like it was taken from the clip art of a DOS program from around 1987. But if you want pretty pictures you can buy any glossy "Illustrated Walking and Chewing Gum" book that takes your fancy. This book by contrast, concentrates on explaining essential technical and performance information, in the simplest clearest way possible, and they achieve it.

The coverage tends to keep to how Oracle is used in most common "real world" situations, thus the index does not even contain a reference to Grid computing and there is no coverage of distributed transactions, which are described in the introduction as a "less commonly used JDBC feature".

Although chapter 3 is entitled "Introduction to JDBC" it is a lightening tour with code examples that assume they are accessing an Oracle database. There is an emphasis on performance with chapters on statement caching and connection pooling. It not only covers the Oracle specific classes, but also covers where they do not work exactly as per the specification. For example
in chapter 4 "Transactions" there is a note

"In 10g Release 1 and 9i Release 2, the method setReadOnly() of the Connection interface internally does a set transaction read only. This is a bug, as it isn't the intended behavior of the method setReadOnly().."

There are many examples of notes such as this which could be vital when you are struggling with some unexpected quirk of behavior.

With this book you are not getting a re-writing of the documentation, but a description from someone who has actually used the classes. Although the heart of the book is JDBC it does have some excellent coverage of general Java/Oracle programming and configuration issues.

I was particularly interested in the sections on Connection Pooling/Caching and security related issues. These chapters would be of value for anyone writing JDBC for any target database, as it explains some of the implication of connection pooling in terms of authentication. Chapter 15, "Security-related issues" covers the issue of Mapping an end user to a database user. This covers the performance issues of a one to one mapping and the benefit of proxy authentication to get around this.

Performance Performance

Chapter 2 is called "Oracle Fundamentals", thought it might have been called "Oracle performance fundamentals". It covers issues such as the impact of Oracle record locking and the value of using bind variables for inserting records. This includes a performance graph typical of the book. Without bind variables, the graph curve is like an ascent of Mount Everest. By contrast where bind variables are used the increase in time taken represents a very gentle slope. This is the type of advice that could make the difference between your code being optimal or being unusable. In chapter 2 the author gives his mantra for the book as

"we should not just produce code that works; we should produce code that works well".
I interpret that as code that "runs fast" and code you can prove runs fast.

One of the few parts of the book that is probably not essential is chapter 8 which covers Oracle Objects. This can be summed up unfairly as "Oracle supports objects but you probably don't want to use them". However as most Java programmers tend to have an interest in Object Oriented concepts they will probably get some value out of it, even if they decide not to use JDBC to access Oracle Objects.

What about PL/SQL?

The author is not a Java Zelot and puts convincing arguments for when PL/SQL may be a better choice than Java/JDBC. He makes the expected performance argument, but more interesting is the argument that sometimes using PL/SQL may be more portable, in that you should use the procedural language of your target database, e.g. TSQL in SQL server, PLSQL etc. I think this is stretching the argument, and database portability can be more important for some categories of application.

Summary

This is not a book for students who want to learn JDBC from scratch. It is for people who want to write high performance JDBC for accessing Oracle. It takes the view that to build the best application you need to understand the underlying database as well as JDBC. If you are writing Oracle JDBC you need this book. If you are writing platform neutral JDBC you could still benefit from this book as it would allow you to avoid performance bottlenecks specific to Oracle.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


6 of 6 people found the following review helpful:
5.0 out of 5 stars how to use oracle & java effectively and fast!, February 5, 2006
By 
This review is from: Expert Oracle JDBC Programming (Paperback)
"Expert Oracle JDBC Programming" is part of a new series called OakTable Press. This series is written by Oracle experts, making the quality very high. In fact, one of the technical reviewers of this book is "Ask Tom."

This strong relationship with Oracle results in trying to convince the reader to use stored procs/Oracle specific code. This isn't a good or a bad thing - just something to know up front. The author clearly shows what is Oracle specific and describes the tradeoffs.

The book has three sections, starting with an introduction to JDBC. While JDBC knowledge is not required, it is helpful to get full benefit from the book as advanced concepts are introduced very quickly. The book relies heavily on code with all examples clearly explained. The second section goes into Oracle specific concepts. The last section explains best practices, issues and specific performance related concepts.

This book is distinguished from others by the emphasis on good quality, high performing code. Benchmarks are provided from the beginning. Chapter 1 even covers how to time your code.

As you can tell from the title, the book is Oracle specific. So you can copy/paste the code and run it on Oracle. All code examples specifically state whether they work on 9i, 10g or both. The focus of Oracle also allows the author to demonstrate exactly what needs to be done to run/test the examples on Oracle. I recommend this book for Java developers on Oracle.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


4 of 5 people found the following review helpful:
5.0 out of 5 stars Great book for combination of JDBC and Oracle, February 8, 2006
This review is from: Expert Oracle JDBC Programming (Paperback)
The previous reviewers are absolutely right about this book. This book is definitely the best book if you are looking to exploit JDBC in combination with Oracle. Note that it covers JDBC on its own right but then suppliments it with info on Oracle. It is way better than any other JDBC book in the market (I have read through most others.) What I liked about this book is:
1. The author gives complete examples for you to work with. He also explains these examples step by step.
2. The author always provides proof for any statement of performance claims he makes in terms of code that anyone can run. This is a refreshingly different approach than some authors who simply state the claims (that are more often than not incorrect)
3. Author's approach is practical and can be used in real life projects.
4. The author goes in-depth into all topics he covers and is not afraid to delve into the details of Oracle architecture when required.
5. There is no "fluff" or "padding". There are no reams of pages just giving API information that is readily available on the web. Instead the author suppliments the JDBC API info and the Oracle documentation on JDBC freely available on the web.

In short, this book bridges the gap between J2EE developers and database developers (focusing on Oracle, of course.)

The only thing to note is that as a reader, you could get bogged down by the first two chapters since they give overview of Oracle architecture and performance tools the author uses. But as you would read the remaining chapters, you would appreciate the contents of these first two chapters.

If you are using JDBC on Oracle, then buy this book! You won't regret it!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews



Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
implicit caching, update batching, object type address, statement caching, explicit caching, implicit connection cache, nested table type, using bulk collect, clob table, fetch size, clob col, custom class objects, printing query results, job from emp, downgrade rules, session cursor cache, varray type, benchmark connecting, connection pool data source, using bfile, pooling framework, runstats utility, using bind variables, address object type, varray column
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Tom Kyte, Diff Pct, Expert One-on-One Oracle, User's Guide, Effective Oracle, Instant Client, Object Relational Features, Mastering Oracle, Wed Dec, Boost Performance, Cary Millsap, Runtime Execution Time Differences, Method Fetch Number, Name Runi, Note There, Overview of How Oracle Processes, Total Records Fetched So Far, Enterprise Edition Release, Name Runt Runt Diff, Sizing Your Transaction Resources According, Statements Reside, Thin Client, Using Internal
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
The code base for this book 0 Apr 8, 2006
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
   



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject