Practical JBoss Seam® Web 2.0 Projects, written by renowned author and enterprise Java practitioner Jim Farley, is a practical, projects-based book on this groundbreaking open source lightweight JSF-EJB3 framework. It uses practical application scenarios to demonstrate the nature of the JBoss Seam framework, its efficacy, and its limitations. A series of scenarios and real-world case studies offer valuable insight into the new practices of JBoss Seam Web 2.0 development. Each demonstrates a specific element of the framework, from a PayPal-like web application project to designing rich web user interfaces using Seam and Ajax.
JBoss Seam represents the primary counter to the hot and successful Spring Framework and perhaps even Ruby on Rails framework. The open source lightweight Java EE 5 standards based JBoss Seam framework is a part of this second wave of open source lightweight Java that’s taking place. This book aims to take advantage of this hot area. It gives an overview of Seam related JSF and EJB 3 as found in Java EE 5. It provides information on the tools to make development with Seam easier as well as a functioning in depth demo to truly learn how to use Seam. Tips and tricks to using Seam are also included.
A new edition of this title is available, ISBN-10: 0137129394 ISBN-13: 9780137129393 Discover JBoss Seam: the Unified Framework for Simpler, More Powerful Web Development JBoss 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 includes How 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
JBoss Seam is an exciting new application framework based on the Java EE platform that is used to build rich, web-based business applications. Seam is rapidly capturing the interest of Java enterprise developers because of its focus on simplicity, ease of use, transparent integration, and scalability. Seam in Action offers a practical and in-depth look at JBoss Seam. The book puts Seam head-to-head with the complexities in the Java EE architecture. The author presents an unbiased view of Seam from outside the walls of RedHat/JBoss, focusing on such topics as Spring integration and deployment to alternative application servers to steer clear of vendor lock-in. By the end of the book, you should expect to not only gain a deep understanding of Seam, but also come away with the confidence to teach the material to others. To start off, you will see a working Java EE-compliant application come together by the end of the second chapter. As you progress through the book, you will discover how Seam eliminates unnecessary layers and configurations, solves the most common JSF pain points, and establishes the missing link between JSF, EJB 3 and JavaBean components. The author also shows you how Seam opens doors for you to incorporate technologies you previously have not had time to learn, such as business processes and stateful page flows (jBPM), Ajax remoting, PDF generation, asynchronous tasks, and more. All too often, developers spend a majority of their time integrating disparate technologies, manually tracking state, struggling to understand JSF, wrestling with Hibernate exceptions, and constantly redeploying applications, rather than on the logic pertaining to the business at hand. Seam in Action dives deep into thorough explanations of how Seam eliminates these non-core tasks by leveraging configuration by exception, Java 5 annotations, and aspect-oriented programming. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.
Fully Updated to Cover Major Enhancements to Seam 2.x In Seam Framework, Second Edition, the authors of the leading guide to Seam programming have systematically updated their text to reflect the major improvements introduced with Seam 2.x. This author team–all key Seam project contributors–teach Seam 2.x through detailed example applications that reveal how Seam simplifies many tasks that were previously difficult or impractical. Their robust descriptions are complemented by in-depth feature discussions that demonstrate how to use Seam’s power to the fullest. Whether you’re new to Seam programming or a seasoned Seam developer who wants to achieve deeper mastery of Seam 2.x, this book will be an indispensable resource. Coverage includes Using improvements to Seam’s conversation model, transaction management, and other features Enhancing security, performing end-to-end validation, and providing custom exception pages Using Quartz to execute timer jobs in your application Generating bookmarkable RESTful Web pages the easy way Developing highly scalable applications with Seam 2.x’s new multilayer caching Simplifying development with Groovy, the scripting language that runs directly on the JVM Using jBPM business processes to improve page flow Previewing Web Beans (JSR-299), the future core of Seam that will transform Java EE Web development *Download source code for this book’s case study application at solutionsfit.com/seam.
The Enterprise JavaTM platform, Java EE 6, has gotten a facelift ... JavaServerTM Faces (JSFTM) 2, is a big part of what's new in Java EE 6! JSF 2, a significant upgrade from JSF 1.2, includes Facelets and integration/use options with a variety of web frameworks, including the popular JBoss® Seam and even the Spring Framework. Beginning JSFTM 2 APIs and JBoss® Seam gets you up to speed with the JSF 2.x API features and how they're implemented using the latest Seam web framework. This quick–start tutorial is the fastest way to get started on JSF 2, Facelets, and Seam, and with it you'll take the most useful features in the frameworks and apply them using best practices. You'll learn to create and enhance an eShop using practical methods, and can re-purpose the template for your own personal and professional projects.
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
Many bookstores offer numerous choices of books on Java Server Programming; however, most of these books are intricate and complex to grasp. So, what are your chances of picking up the right one? If this question has been troubling you, be rest assured now! This book, Java Server Programming: Java EE 5 (J2EE 1.5) Black Book, Platinum Edition, is a one-time reference book that covers all aspects of Java EE in an easy-to-understand approach for example, how an application server runs; how GlassFish Application server deploys a Java application; a complete know-how of design patterns, best practices, and design strategies; working with Java related technologies such as NetBeans IDE 6.0, Hibernate, Spring, and Seam frameworks; and proven solutions using the key Java EE technologies, such as JDBC, Servlets, JSP, JSTL, RMI, JNDI, JavaMail, Web services, JCA, Struts, JSF, UML, and much more& All this, as the book explores these concepts with appropriate examples and executable applications no doubt, every aspect of the book is worth its price.