Hibernate Search is a library providing full-text search capabilities to Hibernate. It
opens doors to more human friendly and efficient search engines while still following
the Hibernate and Java Persistence development paradigm. This library relieves you
of the burdens of keeping indexes up to date with the database, converts Lucene
results into managed objects of your domain model, and eases the transition from a
HQL-based query to a full-text query. Hibernate Search also helps you scale Lucene in
a clustered environment.
Hibernate Search in Action aims not only at providing practical knowledge of Hibernate
Search but also uncovering some of the background behind Hibernate Search’s
design.
We will start by describing full-text search technology and why this tool is invaluable
in your development toolbox. Then you will learn how to start with Hibernate
Search, how to prepare and index your domain model, how to query your data. We
will explore advanced concepts like typo recovery, phonetic approximation, and
search by synonym. You will also learn how to improve performance when using
Hibernate Search and use it in a clustered environment. The book will then guide you
to more advanced Lucene concepts and show you how to access Lucene natively in
case Hibernate Search does not cover some of your needs. We will also explore the
notion of document scoring and how Lucene orders documents by relevance as well
as a few useful tools like term highlighters.
Chapter 1: An Introduction to Hibernate 3.5 ■Chapter 2: Integrating and Configuring Hibernate
Chapter 3: Building a Simple Application
Chapter 4: The Persistence Life Cycle
Chapter 5: An Overview of Mapping
Chapter 6: Mapping with Annotations
Chapter 7: Creating Mappings with Hibernate XML Files Chapter 8: Using the Session
Chapter 9: Searches and Queries
Chapter 10: Advanced Queries Using Criteria
Chapter 11: Filtering the Results of Searches
Chapter 12: Case Study – Using Hibernate with an Existing Database
The difference between GWT and all of those other frameworks, is that with GWT you write your
browser-side code in Java instead of JavaScript. For those of us that rely on Java as a trusted tool this is really
a monumental difference over traditional JavaScript coding. It means that besides gaining all of the
advantages of Java as a programming language, you also get immediate access to a gazillion Java development
tools that are already available. Instead of trying to build a new tool to support the development of rich
Internet applications in JavaScript, Google has altered the language that we use to write these applications to
Java, allowing us to use the tools that already exist.
Chapter 1 gets you started right away.
Chapter 2 dives into the architecture of JUnit and shows how it’s organized.
Chapter 3 we start to build a sample real-life application.
Chapter 4 looks at several important aspects: the need for unit testing, the various
flavors of software tests that exist, and the difference between those kinds of tests.
...