O'Reilly logo

Seam Framework: Experience the Evolution of Java™ EE, Second Edition by Thomas Heute, Jacob Orshalick, Michael Juntao Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix C Using Maven

Most example applications in this book use Ant as the build system. Ant is simple and straightforward. However, since the first edition of this book, we have seen an increasing adaption of Maven to manage builds. Maven provides declarative dependency management, which fits well with Seam applications since Seam integrates many third-party libraries and frameworks. In this appendix, we “mavenize” the Integration example application to show you how to use Maven to build Seam applications. The result application is in the maven-ear example.

First, let’s look at the structure of the source code. In order to build an EAR application in Maven, you need to put each component of the EAR in a separate Maven module. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required