Synopses & Reviews
This book is a comprehensive and easy-to-understand guide for using the Oracle Data Provider (ODP) version 11g on the .NET Framework. It also outlines the core GoF (Gang of Four) design patterns and coding techniques employed to build and deploy high-impact mission-critical applications using advanced Oracle database features through the ODP.NET provider.
The book details the features of the ODP.NET provider in two main sections: ?Basic, ? covering the basics and mechanisms for data access via ODP.NET; and ?Advanced, ? covering advanced Oracle features such as globalization, savepoints, distributed transactions and how to call them via ODP.NET, advanced queueing (AQ), and promotable transactions. It takes you from the ground up through different implementation scenarios via a rich collection of C# code samples.
It outlines database security and performance optimization tricks and techniques on ODP.NET that conform to best practices and adaptable design. Different GoF design patterns are highlighted for different types of ODP.NET usage scenarios with consideration of performance and security.
It provides a comprehensive guide to the synergistic integration of Oracle and Microsoft technologies such as the Oracle Developer Tools for Visual Studio (126.96.36.199.10). It also details how programmers can make use of ODT to streamline the creation of robust ODP.NET applications from within the Visual Studio environment. What you?ll learn How to use the full set of features available in ODP.NET 11g (with code samples and diagrams illustrating each feature/concept). New features such as using Oracle Streams AQ, promotable transactions, Oracle database event notifications, and Oracle database control are also covered. The core performance and feature differences between ODP.NET, Microsoft .NET Provider for Oracle, OLEDB.NET, and ODBC.NET, together with the strengths and weaknesses of each method. This section also provides comprehensive coverage on the differences between ODP.NET 9i, 10g, and 11g. How to take advantage of connection pooling, fetch size controls, ref cursors, bind variables, client result cache and statement caching via ODP.NET to squeeze every ounce of performance from your .NET application. How to secure your ODP.NET applications via authentication and ODP.NET 11g's new classes to enforce imperative and declarative Oracle security. The common programming pitfalls and design patterns to use/avoid in different ODP.NET usage scenarios How to use a significant set of features of Oracle Developer Tools for Visual Studio (188.8.131.52.10), including new features such as the AQ designers, user/role management, and performance-tuning tools. Who this book is for
This book is aimed at .NET developers looking for a comprehensive guide to ODP.NET and its latest features. The book will also appeal to those looking to optimize their ODP.NET applications by applying the best design patterns and other practices. Table of Contents Introduction to Oracle .NET Connectivity ODP.NET: A Functional Overview Connecting to Oracle with ODP.NET Retrieving and Manipulating Data with ODP.NET Using PL/SQL and NET CLR Stored Procedures with ODP.NET ODP.NET Globalization Transactions with ODP.NET Oracle Database Change Notifications with ODP.NET Using Oracle Database Streams Advanced Queuing with ODP.NET Oracle XML Support ODP.NET Security Features ODP.NET Performance Design Patterns and Considerations in Using ODP.NET ODP.NET Tool Basics Building Data-Driven Applications with ODP.NET
In this chapter, you ve taken a look at some of the various ways you can use to connect to an Oracle database via ODP.NET: TNS connections Connections without using TNSNames.ora Oracle s EZConnect You ve also seen how you can use various connection string parameters to implement connection pooling, integrated Windows authentication, and connections with special privileges. Last, we covered the basic groundwork on TAF and its limitations and how you can ultimately enable it in your application. In the next chapter, you will take a step further and write code to transact with the Oracle database. 67 C H A P T E R 4 Retrieving and Manipulating Data with ODP.NET I was once told during a technical workshop filled with geeky programmers that an enterprise application is only as strong as its data tier. The programmers loved catchy phrases like that. I m not sure how true that rings, but I can definitely agree with the most of them that if you don t know your database well enough, you re going to build underperforming routines that the remaining 70 percent of your application will unfortunately be based on."
Pro ODP.NET for Oracle Database 11g is the go to book for .NET programmers wanting to use the Oracle Database. The authors are well-known for their expertise in the Oracle Data Provider for .NET. A highlight of the book is the author's application of Gang of Four design patterns to ODP.NET programming.