Author: dhinojosa
Date: 2012-09-16 00:08:17 -0400 (Sun, 16 Sep 2012)
New Revision: 15145
Modified:
branches/community/Seam_2_3/seam-migration-guide/seam_migration_guide.asc
Log:
added more dependency information
Modified: branches/community/Seam_2_3/seam-migration-guide/seam_migration_guide.asc
===================================================================
--- branches/community/Seam_2_3/seam-migration-guide/seam_migration_guide.asc 2012-09-16
03:53:38 UTC (rev 15144)
+++ branches/community/Seam_2_3/seam-migration-guide/seam_migration_guide.asc 2012-09-16
04:08:17 UTC (rev 15145)
@@ -180,10 +180,52 @@
----
=== EJB Module Dependencies
-EJB Module Dependencies here
+What gets placed into the ejb module will of course be entirely up to you. Will you be
using hibernate? Will you be using JPA on top of that? Will you be using drools?
<<listing17, Listing 17>> shows a simple dependency stack for a simple Seam
based application. It contains hibernate, hibernate validator, jpa, servlet, jsf, and ejb
specifications that are needed for the basic Seam application. It includes
"jboss-el" which will include that JBoss expression language library into the
application. For the basic app, this is what is "required", although that term
is used loosely, you and your team will be in command of your application's
dependencies. The following next sections are possible combinations of dependencies for
technologies that you will need for drools, jbpm, remoting, etc.
+.Listing 17: Sample dependency list in an ear module
+[[listing17]]
+----
+<dependencies>
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam</artifactId>
+ <type>ejb</type>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.el</groupId>
+ <artifactId>jboss-el</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-validator</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.servlet</groupId>
+ <artifactId>jboss-servlet-api_3.0_spec</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.ejb</groupId>
+ <artifactId>jboss-ejb-api_3.1_spec</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.faces</groupId>
+ <artifactId>jboss-jsf-api_2.1_spec</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate.javax.persistence</groupId>
+ <artifactId>hibernate-jpa-2.0-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+</dependencies>
+----
+
== Using Ant
Using Ant
Show replies by date