Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying WildFly Configuration, Deployment, and Administration - Second Edition
  • Table Of Contents Toc
WildFly Configuration, Deployment, and Administration - Second Edition

WildFly Configuration, Deployment, and Administration - Second Edition - Second Edition

4.4 (5)
close
close
WildFly Configuration, Deployment, and Administration - Second Edition

WildFly Configuration, Deployment, and Administration - Second Edition

4.4 (5)

Overview of this book

This book is aimed at Java developers, system administrators, application testers using WildFly, and anyone who performs a DevOps role. Whether you are completely new to WildFly or just require an understanding of WildFly's new features, this book is for you.
Table of Contents (14 chapters)
close
close
13
Index

Creating a new Maven web project

There are several ways in which you can create a web application project using Eclipse. Since Maven is the de facto build tool, it makes sense to use the Maven project structure in this example.

Let's start by creating the project file structure. Go to File | New | Maven Project, select skip archetype selection, create a simple project, and proceed to the next page. Then, complete the artifact details as shown in the following screenshot, ensuring that you select war as the packaging:

Creating a new Maven web project

After clicking on Finish, Eclipse will generate a default folder structure for your application:

Creating a new Maven web project

We are going to use JSF to create the view. Configuring the JSF 2.2 web application requires very little effort. You can achieve this with the following steps:

  1. Create a file called web.xml and place it in the WEB-INF folder of your application.
  2. Add the FacesServlet to your web.xml file and specify what kind of URL patterns will be directed to it.
  3. Create a faces-config.xml file and...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
WildFly Configuration, Deployment, and Administration - Second Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon