文档介绍:1
The author has made every effort in the preparation of this book to ensure the accuracy of the information.
However, information in this book is sold without warranty either expressed or implied. The author will not be
held liable for any damages caused or alleged to be caused either directly or indirectly by this book.
Java, Eclipse, Maven & JSF tutorial
Maven 2 is a powerful tool that promotes convention over configuration and you need to
integrate it into one of the popular integrated development environments (IDEs) called
eclipse to make your work easier, thus increasing your productivity and project quality. This
tutorial provides an example of how to make Maven and Eclipse collaborate. Also covers the
popular JSF Web framework.
by
K. Arulkumaran
& A. Sivayini
Website: a-ess
Feedback email: java-interview@
2
Table Of Contents
Notations.....................................................................................................................3
Tutorial 1 – Java, Maven and Eclipse ..................................................................4
Tutorial 2 – Java Web, Maven and Eclipse.......................................................16
Tutorial 3 – JSF, Maven and Eclipse..................................................................28
Appendix ...................................................................................................................58
3
Notations
Command prompt:
Eclipse:
File Explorer or Windows Explorer:
Explorer:
4
Tutorial 1 – Java, Maven and Eclipse
This tutorial will guide you through building a simple Java application from
scratch using popular tools like eclipse and maven. This tutorial will be handy
for those who are new to maven/eclipse/Java.
Install the following programs. In this tutorial I have installed them under c:/java.