Hibernate Made Easy


Book Description

McKenzie brings to light the idea that a technology that is fun and easy to use should also be fun and easy to learn. Building upon simple, straightforward examples, this book explores the key concepts needed to leverage the Hibernate framework. (Computer Books)




Java Persistence with Hibernate


Book Description

Summary Java Persistence with Hibernate, Second Edition explores Hibernate by developing an application that ties together hundreds of individual examples. In this revised edition, authors Christian Bauer, Gavin King, and Gary Gregory cover Hibernate 5 in detail with the Java Persistence 2.1 standard (JSR 338). All examples have been updated for the latest Hibernate and Java EE specification versions. About the Technology Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. Persistence—the ability of data to outlive an instance of a program—is central to modern applications. Hibernate, the most popular Java persistence tool, offers automatic and transparent object/relational mapping, making it a snap to work with SQL databases in Java applications. About the Book Java Persistence with Hibernate, Second Edition explores Hibernate by developing an application that ties together hundreds of individual examples. You'll immediately dig into the rich programming model of Hibernate, working through mappings, queries, fetching strategies, transactions, conversations, caching, and more. Along the way you'll find a well-illustrated discussion of best practices in database design and optimization techniques. In this revised edition, authors Christian Bauer, Gavin King, and Gary Gregory cover Hibernate 5 in detail with the Java Persistence 2.1 standard (JSR 338). All examples have been updated for the latest Hibernate and Java EE specification versions. What's Inside Object/relational mapping concepts Efficient database application design Comprehensive Hibernate and Java Persistence reference Integration of Java Persistence with EJB, CDI, JSF, and JAX-RS * Unmatched breadth and depth About the Reader The book assumes a working knowledge of Java. About the Authors Christian Bauer is a member of the Hibernate developer team and a trainer and consultant. Gavin King is the founder of the Hibernate project and a member of the Java Persistence expert group (JSR 220). Gary Gregory is a principal software engineer working on application servers and legacy integration. Table of Contents PART 1 GETTING STARTED WITH ORM Understanding object/relational persistence Starting a project Domain models and metadata PART 2 MAPPING STRATEGIES Mapping persistent classes Mapping value types Mapping inheritance Mapping collections and entity associations Advanced entity association mappings Complex and legacy schemas PART 3 TRANSACTIONAL DATA PROCESSING Managing data Transactions and concurrency Fetch plans, strategies, and profiles Filtering data PART 4 WRITING QUERIES Creating and executing queries The query languages Advanced query options Customizing SQL




Hibernate Quickly


Book Description

Hibernate Quickly is a companion volume to Manning's Hibernate in Action which is a focused and comprehensive book on the subject written by the project founders. The current book aims to give readers the 20% of information they need 80% of the time. It uses the pages saved to orient the reader within the Hibernate "ecosystem": the peripheral technologies and techniques typically used with Hibernate. This is the book readers are likely to turn to if they want to get up and running quickly. Examples are developed incrementally to demonstrate Hibernate concepts and to show how Hibernate works with the other common development tools and frameworks such as XDoclet, Struts, WebWork, Spring, and Tapestry. Covers the newest version, Hibernate 3. Purchase of the print book comes with an offer of a free PDF eBook from Manning. Also available is all code from the book.




Harnessing Hibernate


Book Description

"A step-by-step guide to Java persistence"--Cover.




Hibernate


Book Description

This guide walks the reader through the ins and outs of using Hibernate, from installation and configuration, to complex associations and composite types.




Web Development with Java


Book Description

This book jumps to the "good stuff" from the outset, allowing students to quickly start writing real applications. It introduces readers to a 3-tiered, Model-View-Controller architecture by using Hibernate, JSPs, and Java Servlets. This book uses existing powerful technologies such as JSP, JavaBeans, Annotations, JSTL, Java 1.5, Hibernate, Apache Velocity and Tomcat. It also presents Model 1 architectures using Servlets and JSP as alternatives to Perl and PHP. Written for novice developers, this book provides an introductory course in web development for undergraduates as well as web developers.




Hibernate Tips


Book Description

When you use Hibernate in your projects, you quickly recognize that you need to do more than just add @Entity annotations to your domain model classes. Real-world applications often require advanced mappings, complex queries, custom data types and caching. Hibernate can do all of that. You just have to know which annotations and APIs you need to use. Hibernate Tips - More than 70 solutions to common Hibernate problems shows you how to efficiently implement your persistence layer with Hibernate's basic and advanced features. Each Hibernate Tip consists of one or more code samples and an easy to follow step-by-step explanation. You can also download an example project with executable test cases for each Hibernate Tip. Throughout this book, you will get more than 70 ready-to-use solutions that show you how to: - Define standard mappings for basic attributes and entity associations. - Implement your own attribute mappings and support custom data types. - Use Hibernate's Java 8 support and other proprietary features. - Read data from the database with JPQL, Criteria API, and native SQL queries. - Call stored procedures and database functions. This book is for developers who are already working with Hibernate and who are looking for solutions for their current development tasks. It's not a book for beginners who are looking for extensive descriptions of Hibernate's general concepts. The tips are designed as self-contained recipes which provide a specific solution and can be accessed when needed. Most of them contain links to related tips which you can follow if you want to dive deeper into a topic or need a slightly different solution. There is no need to read the tips in a specific order. Feel free to read the book from cover to cover or to just pick the tips that help you in your current project.




Hibernate Recipes


Book Description

Hibernate continues to be the most popular out-of-the-box framework solution for Java Persistence and data/database accessibility techniques and patterns. It is used for e-commerce–based web applications as well as heavy-duty transactional systems for the enterprise. Gary Mak, the author of the best-selling Spring Recipes, now brings you Hibernate Recipes. This book contains a collection of code recipes and templates for learning and building Hibernate solutions for you and your clients. This book is your pragmatic day-to-day reference and guide for doing all things involving Hibernate. There are many books focused on learning Hibernate, but this book takes you further and shows how you can apply it practically in your daily work.




Modern Programming Made Easy


Book Description

Get up and running fast with the basics of programming using Java as an example language. This short book gets you thinking like a programmer in an easy and entertaining way. Modern Programming Made Easy teaches you basic coding principles, including working with lists, sets, arrays, and maps; coding in the object-oriented style; and writing a web application. This book is largely language agnostic, but mainly covers the latest appropriate and relevant release of Java, with some updated references to Groovy, Scala, and JavaScript to give you a broad range of examples to consider. You will get a taste of what modern programming has to offer and set yourself up for further study and growth in your chosen language. What You'll Learn Write code using the functional programming style Build your code using the latest releases of Java, Groovy, and more Test your code Read and write from files Design user interfaces Deploy your app in the cloud Who This Book Is For Anyone who wants to learn how to code. Whether you're a student, a teacher, looking for a career change, or just a hobbyist, this book is made for you.




Beginning Hibernate


Book Description

This book is written for users experienced in using Java with databases but inexperienced in the use of the open source, lightweight Hibernate, the most popular de-facto object-relational mapping and database-oriented application development framework. The book has plentiful examples and handy reference sections, including a comprehensive reference for Hibernate O/R mapping strategies. Beginning Hibernate 3 is packed with brand-new information on the latest release of the Hibernate persistence layer and provides a clear introduction to the de facto standard for object relational persistence in Java. Readers will get started right away with building transaction-based engines and applications.