Part V. Examples

This section is dedicated to the examples of concepts covered in the explanatory chapters of this edition. While EJB Specification addresses concerns in a vendor-independent way, to get code running in a real EJB container requires the use of some vendor-specific hooks for operations like startup and deployment. From this point forward, code may be geared to a particular implementation.

The online companion to this text lives at:

http://community.jboss.org/groups/oreillyejb6th

From this site hosted by the JBoss Community, readers are encouraged to participate in forum discussion, the issue tracker, and article comments in order to further understand EJB concepts in practice.

All examples in this book are LGPL Open-Source software, and these examples serve as a guide to users looking to run the code on their own. The examples will have a lifecycle extending beyond the book’s publishing date to account for explanations requested by users, new features, documentation updates and bug fixes.

Building from Source

Prerequisites

Product

Version

Required

JDK (Java Development Kit)

1.6.0+ (but less than 1.7.0)

Yes

Apache Maven

>= 2.0.9

Yes

Git Client

 

Eclipse IDE

  

m2eclipse

0.10.0

Recommended if using Eclipse

IntelliJ IDEA

  

Obtain the Source Using Subversion SCM

Anonymous access

$> git clone
git://github.com/jbossejb3/oreilly-ejb-6thedition-book-examples.git

Committers

$> git clone
git@github.com:jbossejb3/oreilly-ejb-6thedition-book-examples.git

Switch into the checked-out location

$> cd oreilly-ejb-6thedition-book-examples ...

Get Enterprise JavaBeans 3.1, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.