Apache Geronimo 2.1: Quick Reference
A quick reference to the rich features of Geronimo 2.1 with easy-to-understand examples covering Java EE5 applications, server administration, and customization
Apache Geronimo is a robust, scalable, secure, and high-performing application server. But like all application servers, this power comes with a steep learning curve. This book can help you save your time and get working with Geronimo in matter of a few hours.
This book is a quick-reference guide to Apache Geronimo that mitigates the starting pains that most developers have when they migrate to a new Application Server. It will help you to extend and amplify your existing development skills, empowering you to build new types of applications regardless of the platform or browser.
The book will introduce you to the exciting features of Apache Geronimo Application Server. You will see how easily you can develop and deploy Java EE 5 applications on Geronimo. It covers everything from downloading the server to customizing it using custom GBeans. By following the practical examples in this book, you will be able to develop applications quickly using Geronimo Eclipse Plugin.
The book covers Geronimo internals in detail, which helps you write custom services on Geronimo. Also, it helps you to gain a deep understanding of Geronimo plugin architecture and teaches you to extend your server functionality via plugins. By the end of the book, you will develop proficiency in Geronimo and Java EE 5 application development.
What you will learn from this book
- Master the features of Apache Geronimo to develop your application
- Develop and deploy Java EE 5 applications on Geronimo
- Understand web application clustering using WADI
- Develop applications rapidly using the Geronimo Eclipse Plugin
- Secure the server environment and applications
- Configure remote EJB references to invoke remote EJBs via CORBA
- Bind custom resources to JNDI using GBeans and leverage the global JNDI environment for your applications
- Create custom server assemblies
- Extend the Admin Console using Admin Console Extensions
- Administer the Geronimo server
- Develop and deploy services on Geronimo using GBeans
- Troubleshoot server startup, application deployment, application startup, and runtime problems
Approach
This book is a comprehensive reference of the Apache Geronimo Application Server with easy-to-understand examples and sample applications. Different configuration items are available as self contained chapters that can be looked up independently of the other chapters so that readers can go straight to whatever part of Geronimo they want to configure. The book is packed with tips and tricks, based on the author's experience with Apache Geronimo in real-life projects.
Who this book is written for
This book is intended for Java EE developers and server administrators who would like to use Geronimo for developing and deploying fully fledged Java EE 5 applications and freely distribute Geronimo with their solutions. Readers should be familiar with Java EE 5 concepts.
| Download |
Pro JPA 2: Mastering the Java™ Persistence API
Pro JPA 2 introduces, explains, and demonstrates how to use the new Java Persistence API (JPA). JPA provides Java developers with both the knowledge and insight needed to write Java applications that access relational databases through JPA.
Authors Mike Keith and Merrick Schincariol take a hands–on approach to teaching by giving examples to illustrate each new concept of the API and showing how it is used in practice.
All of the examples use a common model from an overriding sample application, giving readers a context from which to start and helping them to understand the examples within an already familiar domain.
After completing the book, you will have a full understanding and be able to successfully code applications using JPA. The book also serves as a reference guide during initial and later JPA application experiences.
- Hands-on examples for all the aspects of the JPA specification, based on the reference implementation of this specification
- A special section on migration to JPA
- Expert insight about various aspects of the API and when they are useful
- Portability hints to provide increased awareness of the potential for non–portable JPA code
What you’ll learn
- Get started with enterprise applications using JPA 2.
- Get up to speed with Object–Relational Mapping and Entity Manager.
- Learn and use queries and the query language (JP QL).
- Employ advanced Object–Relational Mapping techniques.
- Use XML mapping files and learn other advanced techniques.
- Package and deploy your Java persistence applications.
- Test your Java persistence applications.
- Migrate your Java persistence applications.
Who is this book for?
The book generally targets enterprise and persistence developers who fall in one of three categories:
- Those who are new to persistence; we will present some background information and introduce these readers to the basic persistence concepts to bring them up to speed.
- Those who know and/or use existing ORM persistence products such as Hibernate or TopLink.
- Those who have already used JPA and want to learn about the new features that JPA 2 introduces, or have a good reference book to turn to when they develop JPA applications.
In general, we assume that the reader is knowledgeable with Java, SQL, and JDBC, and has a little knowledge of J2EE
About the Apress Pro Series
The Apress Pro series books are practical, professional tutorials to keep you on and moving up the professional ladder.
You have gotten the job, now you need to hone your skills in these tough competitive times. The Apress Pro series expands your skills and expertise in exactly the areas you need. Master the content of a Pro book, and you will always be able to get the job done in a professional development project. Written by experts in their field, Pro series books from Apress give you the hard–won solutions to problems you will face in your professional programming career.
| Download |
Spring Enterprise Recipes: A Problem-Solution Approach
The Spring Framework is a widely adopted enterprise and general Java framework. The release of Spring Framework 3.0 has added many improvements and new features for Spring development. Written by Gary Mak of the best-sellingSpring Recipes and Josh Long, an expert Spring user and developer, Spring Enterprise Recipes is one of the first books on the new Spring 3.
This key book focuses on Spring Framework 3.0, the latest version available, and a framework-related suite of tools, extensions, plug-ins, modules, and more—all of which you may want and need for building three-tier Java EE applications.
- Build Spring enterprise and Java EE applications from the ground up using Recipes from this book as templates to get you started, fast.
- Employ Spring Integration, Spring Batch and jBPM with Spring to bring your application’s architecture to the next level.
- Use Spring’s remoting, and messaging support to distribute your application, or bring your application to the cloud with GridGain and Terracotta.
What you’ll learn
- Integrate legacy systems with Spring, bridging the gaps with Spring’s JMS support and Spring Integration.
- Use Spring Batch to insulate yourself from the tedious, hard-to-test code required to efficiently handle offline or batch processing scenarios.
- Build highly concurrent, grid-ready applications using Gridgain and Terracotta
- Build modular services using OSGi with Spring DM and Spring Dynamic Modules and SpringSource dm Server. Take the lightweight philosophy of the Spring framework to its logical extension. The Spring framework brings you all of the power of JEE, à la carte!
- Integrate Spring with Java EE 5 and 6 APIs and services
- How to leverage job scheduling, and e-mail services using Spring's abstractions.
Who is this book for?
A new breed of applications are in demand today. These applications are either simply not supported by JEE, or the support is tedious, and not reflective of modern day architectures. This book is for those with a working knowledge of Java and Spring who would like to take their skills, and their applications, to the next level.
| Download |
Spring Persistence with Hibernate
Spring is the leading platform to build and run enterprise Java applications. Spring's Hibernate integration makes it easy to mix and match persistence methodologies simplifying your Hibernate applications. You can incorporate lots of Inversion of Control (IoC) convenience features to address many typical Hibernate integration issues, making this integration all the more favorable for your application.
This easy-to-use book will turn the complex-sounding integration into a straightforward walk-through. Persistence is important for creating a data access-based transactions tier, central to financial, insurance, and banking applications. You will be able to enhance your applications using the most common, advanced, and optional features of Hibernate.
This book starts with the philosophy and the brief history of persistence. It provides an introduction to how persistence frameworks and technologies came into the development scene and what problems they are aimed to solve.
The book continues with a discussion about Hibernate as the most popular persistence framework in Java. First, you will learn how to get Hibernate and add it to a project and how to configure it before it can be used. Next, you will get an in-depth knowledge about Hibernate and understand the essential concepts behind persistence with Hibernate and more. When Hibernate has been fully discussed, you will get to know Spring as another popular framework in Java, and have a look at essential features of Spring and its added value for Hibernate-based projects. Finally the book will provide a comprehensive discussion about using Hibernate with Spring and the problems that are solved with Spring.
What you will learn from this book?
- Learn the philosophy, the history, and the usage of Persistence
- Solve problems related to Persistence by gaining a complete understanding of Hibernate
- Know your competitors and gear yourself to knock down your competition using Hibernate exhaustively
- Get to know the role of Spring in Persistence and learn to configure Hibernate and Spring
- Use the essential, most commonly-used Hibernate features such as Transparent persistence, Object-Relational mappings, Object-oriented query language, and more
- Exploit the optional and advanced Hibernate features to enhance your applications
- Learn and integrate common Spring features that are a part and parcel of every Java project
- Make the most out of the Spring features that are related to persistence, particularly to Hibernate
- Develop sophisticated web applications using Spring Persistence with Hibernate and successfully test them
Approach
Spring Persistence with Hibernate is an easy-to-follow, step-by-step, and example-rich guide to using Spring and Hibernate to build robust and effective Java applications. Furthermore, the book can be used as reference in areas where developers need help. All the topics explained in the book are demonstrated with practical examples and uncomplicated figures.
Who this book is written for?
The book is primarily for Spring developers and users who want to persist using the popular Hibernate persistence framework. Java, Hibernate, JPA, Spring, and open source developers in general will also find the book useful.
| Download |
JSF 1.2 Components
This book is a practical, hands-on guide to learning JavaServer Faces components based on a fictitious computer hardware e-commerce application. It adopts an example-driven approach focused on solving common web application development tasks using a wide range of JSF components from today's most popular JSF component libraries. Each chapter covers a different JSF component library and includes dozens of examples complete with Java source code listings, JSF markup, screenshots, and developer tips. If you are a professional web application developer interested in learning JavaServer Faces having an intermediate to advanced level of Java programming experience and a good understanding of HTML, CSS, and JavaScript, this book is for you. A working knowledge of Java classes, interfaces, annotations, and generics, Java Collections Framework, JavaBeans API, Java Database Connectivity (JDBC), Java Servlets/JSP, Java Authentication and Authorization Service (JAAS), Java Persistence API (JPA), Enterprise JavaBeans (EJB), the Apache Tomcat web container, the JBoss AS 4.2 application server is assumed. Experienced JSF professionals will also find this book useful as a quick reference and "how to" guide.
| Download |
