Showing posts with label ejb3. Show all posts
Showing posts with label ejb3. Show all posts

Java Persistence with Hibernate Review

Java Persistence with Hibernate
Average Reviews:

(More customer reviews)
Are you looking to buy Java Persistence with Hibernate? Here is the right place to find the great deals. we can offer discounts of up to 90% on Java Persistence with Hibernate. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Java Persistence with Hibernate ReviewI feel a little odd rating this thing as low as two stars. After all, it does pack a lot of information into its 800+ pages. And that does make it a single point of reference ... sort of.
It's when I actually tried to use this fat tome to learn how to work with Hibernate that I encountered the first problem. I can't recommend that approach. This book is a terrible way to learn how to use Hibernate. It talks endlessly about all kinds of detail about everything you might want to do, and even provides many incomplete code snippets. But surprisingly it doesn't sit you down and walk you through a simple application actually using Hibernate. The authors do provide a full-blown application you can download and work through - but that won't be easy, dear reader, and it will take you a while to distill the basics from the advanced usage.
This seems to be a problem with most Hibernate books, for some reason - they all think they need to explain ORM to the world rather than simply show how to create an application. Explaining ORM AND showing how to build an application might be better.
So, OK, perhaps, I thought, this will become my master reference. Then I encountered the second problem. There's no good way to drill quickly to a nugget of information you need, which, after all, is the essence of a reference. Instead you will have to read through the theoretical explanations and design discussions to figure out if the trail leads you to the specific nugget you need to get your software working.
In the end I realized that the book is not good as a tutorial and not good as a reference and I was left to wonder what it might be good for. This surprised me, to be honest.
As far as I am aware, no practical Hibernate book has been written, so it would be unfair to single out this one. (The Manning book, Hibernate Quickly, is simply incorrect at too many points - you have to figure out the coding and config errors.) So I'm not singling out this one. However, in my view the praise for this book is directed at the terrific work done by the authors in creating and maintaining Hibernate rather than their work on this book. Their work in this book is unfocused and, while comprehensive and correct, ultimately difficult to use for any practical purpose.
If you want to learn how to use Hibernate, the best way I know is to work with some of the tutorials available on the Web or to download an app server and follow their documentation. You might not learn about "theta-style joins", but you will certainly learn to use Hibernate to create software much more quickly that way than by using this book.Java Persistence with Hibernate Overview
Persistence-the ability of data to outlive an instance of a program-is central to modern applications.Hibernate, the most popular Java persistence tool, provides automatic and transparent object/relational mapping making it a snap to work with SQL databases in Java applications. Hibernate applications are cheaper, more portable, and more resilient to change. Because it conforms to the new EJB 3.0 and Java Persistence 1.0 standard, Hibernate allows the developer to seamlessly create efficient, scalable Java EE applications.

Java Persistence with Hibernate explores Hibernate by developing an application that ties together hundreds of individual examples. You'll immediately dig into the rich programming model of Hibernate 3.2 and Java Persistence, working through queries, fetching strategies, caching, transactions, conversations, and more. You'll also appreciate the well-illustrated discussion of best practices in database design, object/relational mapping, and optimization techniques.

In this revised edition of the bestselling Hibernate in Action, authors Christian Bauer and Gavin King-the founder of the Hibernate project-cover Hibernate 3.2 in detail along with the EJB 3.0 and Java Persistence standard.


Want to learn more information about Java Persistence with Hibernate?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...

JBoss® Seam: Simplicity and Power Beyond Java™ EE Review

JBossandreg; Seam: Simplicity and Power Beyond Java™ EE
Average Reviews:

(More customer reviews)
Are you looking to buy JBoss® Seam: Simplicity and Power Beyond Java™ EE? Here is the right place to find the great deals. we can offer discounts of up to 90% on JBoss® Seam: Simplicity and Power Beyond Java™ EE. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

JBoss® Seam: Simplicity and Power Beyond Java™ EE ReviewYuan and Heute offer the Java programmer a very tempting route away from using the standard Java Enterprise Edition. As they point out, EE version 5 is an uncomfortable mixture of EJBs and JSF. The EJBs exist on the server side and encapsulate business logic. While the JSF is used, also on the server side, as a model-view-controller framework for Web work. In general, separating the MVC from the business logic is correct. But if you have to code EJBs and JSF together, then things get awkward. Code gets verbose and hard to structure.
The book's alternative is Seam, which is meant to be a filler between EJBs and JSF. One nice aspect is that Seam is inherently stateful. For a Web user session, this is vital, and it's nice from the text to see state built into Seam, without you having to shoehorn it in.
Perhaps the most persuasive parts of the book are the code examples. Granted, the authors wrote these to be as concise and elegant as possible. But if you accept that most authors of computer books do this, then you can quickly appreciate the contrast between the code here and comparable code in texts on EJBs and JSF. The latter code examples are much longer and more intricate. The brevity of code writing that Seam affords you can greatly help in two ways. Quicker to write. And quicker to debug.
Having said this, I am undecided about one aspect of the text. Involving what is called "dependency bijection". It is meant as a lightweight way for POJOs to interact with each other. As opposed to using framework interfaces or abstract classes. But the extensive use of interfaces (and abstract classes) has led to the successful development of extensible packages like Eclipse. (And I'm sure readers can cite other examples.) Is it the case that interface implementations do have limitations, perhaps in the context of Web servers and business logic?JBoss® Seam: Simplicity and Power Beyond Java™ EE OverviewA new edition of this title is available, ISBN-10: 0137129394 ISBN-13: 9780137129393Discover JBoss Seam: the Unified Framework for Simpler, More Powerful Web DevelopmentJBoss Seam integrates EJB 3.0 and JSF components under a unified framework that simplifies and accelerates Java EE web development. Now, JBoss Seam's project leader and technology evangelist take you inside this powerful new technology, showing exactly how to put it to work. Michael Yuan and Thomas Heute show how JBoss Seam enables you to create web applications that would have been difficult or impossible with previous Java frameworks. Through hands-on examples and a complete case study application, you'll learn how to leverage JBoss Seam's breakthrough state management capabilities; integrate business processes and rules; use AJAX with Seam; and deploy your application into production, one step at a time. Coverage includesHow JBoss Seam builds on—and goes beyond—the Java EE platform• Using the "Stateful Framework": conversations, workspaces, concurrent conversations, and transactions• Integrating the web and data components: validation, clickable data tables, and bookmarkable web pages• Creating AJAX and custom UI components, enabling AJAX for existing JSF components, and JavaScript integration via Seam Remoting • Managing business processes, defining stateful pageflows, and implementing rule-based security• Testing and optimizing JBoss Seam applications • Deploying in diverse environments: with Tomcat, with production databases, in clusters, without EJB 3, and more* Download source code for this book's case study application at http://michaelyuan.com/seam/.www.prenhallprofessional.comwww.jboss.comAbout This Book About the Authors AcknowledgmentsPart I: Getting Started Chapter 1: What Is Seam? Chapter 2: Seam Hello World Chapter 3: Recommended JSF Enhancements Chapter 4: Rapid Application Development Tools Part II: Stateful Applications Made Easy Chapter 5: An Introduction to Stateful Framework Chapter 6: A Simple Stateful Application Chapter 7: Conversations Chapter 8: Workspaces and Concurrent Conversations Chapter 9: Transactions Part III: Integrating Web and Data Components Chapter 10: Validate Input Data Chapter 11: Clickable Data Tables Chapter 12: Bookmarkable Web Pages Chapter 13: The Seam CRUD Application Framework Chapter 14: Failing Gracefully Part IV: AJAX Support Chapter 15: Custom and AJAX UI Components Chapter 16: Enabling AJAX for Existing Components Chapter 17: Direct JavaScript Integration Part V: Business Processes and Rules Chapter 18: Managing Business Processes Chapter 19: Stateful Pageflows Chapter 20: Rule-Based Security Framework Part VI: Testing Seam Applications Chapter 21: Unit Testing Chapter 22: Integration Testing Part VII: Production Deployment Chapter 23: Java EE 5.0 Deployment Chapter 24: Seam Without EJB3 Chapter 25: Tomcat Deployment Chapter 26: Using a Production Database Chapter 27: Performance Tuning and Clustering Appendix A: Installing and Deploying JBoss AS Appendix B: Using Example Applications as Templates Index

Want to learn more information about JBoss® Seam: Simplicity and Power Beyond Java™ EE?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...