书名：EJB 3.1 Cookbook
页数: 436 pages
出版社: Packt Publishing (June 2011)
文件大小: 18.5 MiB
Enterprise Java Beans enable rapid and simplified development of secure and portable applications based on Java
technology.Creating and using EJBs can be challenging and rewarding. Among the challenges are learning the EJB
technology itself, learning how to use the development environment you have chosen for EJB development, and the
testing of the EJBs.
This EJB 3.1 Cookbook addresses all these challenges and covers new 3.1 features, along with explanations of
useful retained features from earlier versions. It brings the reader quickly up to speed on how to use EJB 3.1
techniques through the use of step-by-step examples without the need to use multiple incompatible resources. The
coverage is concise and to the point, and is organized to allow you to quickly find and learn those features of
interest to you.
The book starts with coverage of EJB clients. The reader can choose the chapters and recipes which best address his or her specific needs. The newer EJB technologies presented include singleton beans which support application wide
needs and interceptors to permit processing before and after a target method is invoked. Asynchronous invocation of methods and enhancements to the timer service are also covered.The EJB 3.1 CookBook is a very straightforward and
rewarding source of techniques supporting Java EE applications.
Create and use the different types of EJBs along with the use of the optional session bean business interface Create
a singleton session bean for application-wide use
Use declarative and programmatic techniques for security, timer services, and transaction processing
Use asynchronous session beans to complement message driven beans
Support aspect oriented features such as logging and data validation using interceptors
Use EJBs in support of message based applications
Master the use of deployment descriptors and improved packaging options
Use EJBs outside of the Java EE environment using the embeddable container
Each recipe comprises step-by-step instructions followed by an analysis of what was done in each task and other
useful information. The book is designed so that you can read it chapter by chapter, or look at the list of recipes and refer to them in no particular order. It is packed with useful screenshots to make your learning even easier.
The book is aimed at Java EE and EJB developers and programmers. Readers should be familiar with the use of
servlets in the construction of a web application. A working knowledge of XML is also desirable.
[下载地址]标签：EJBs，Enterprise Java Beans