Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

WildFly: New Features
WildFly: New Features
WildFly: New Features
Ebook262 pages1 hour

WildFly: New Features

Rating: 0 out of 5 stars

()

Read preview

About this ebook

This book is an easytofollow guide full of handson examples of administration tasks and valuable information about security. Each topic is explained and placed in context, and for the more inquisitive readers, there are more indepth details of the concepts used. If you are an application server administrator or a Java developer with some experience with previous versions of JBoss AS and you want to familiarize yourself with WildFly, then this book is ideal for you.
LanguageEnglish
Release dateMay 23, 2014
ISBN9781783285907
WildFly: New Features

Related to WildFly

Related ebooks

Enterprise Applications For You

View More

Related articles

Reviews for WildFly

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    WildFly - Filippe Costa Spolti

    Table of Contents

    WildFly: New Features

    Credits

    About the Author

    About the Reviewers

    www.PacktPub.com

    Support files, eBooks, discount offers, and more

    Why subscribe?

    Free access for Packt account holders

    Preface

    What this book covers

    What you need for this book

    Who this book is for

    Conventions

    Reader feedback

    Customer support

    Downloading the example code

    Errata

    Piracy

    Questions

    1. Starting with WildFly

    What is WildFly?

    Downloading WildFly

    Installing Java

    The installation guide and basic configuration

    Content of WildFly standalone and domain modes

    Overview of the configuration files

    The standalone mode

    The domain mode

    Starting WildFly

    Starting the standalone mode

    Starting the domain mode

    Other basic configurations

    Summary

    2. Unified Configuration

    Running our first web application

    Changing the application context root

    Configuring a virtual host

    WildFly logging

    Installing MySQL modules

    Creating the directory to create the module

    Datasources

    Crypt datasource passwords

    Other configurations

    Accessing the management console for the first time

    Configuring e-mail

    Summary

    3. WildFly CLI and Management Console

    Connecting to the CLI

    Creating a datasource with the CLI and management console

    Creating a datasource using the CLI

    Creating a datasource using the management console

    Deployment with the CLI and management console

    Deployment with the CLI

    Deployment with the management console

    The domain mode deployment

    The domain mode deployment using the CLI

    The domain mode deployment using the management console

    Configuring e-mail via the CLI and management console

    E-mail setup via the CLI

    E-mail setup via the management console

    Summary

    4. Modular Services and Class Loading

    Class loading precedence

    WAR and EAR class loading

    WAR class loading

    EAR class loading

    Defining a dependency through WAR

    Global modules

    Summary

    5. Memory and Thread Pool Management

    Learning about the JVM memory – Oracle JDK

    Heap memory

    Nonheap memory

    Configuring WildFly

    Garbage Collector and tuning

    The undertow HTTP pool

    Summary

    A. What You Need to Know – Migrating from AS 7 to WildFly 8

    Updated components

    Major changes

    The modules directory structure

    The cargo container

    Code changes

    Singleton services

    Using Hibernate 3

    Configuring your application

    Configuring WildFly

    Dependencies

    Deploying the same application on two servers

    Index

    WildFly: New Features


    WildFly: New Features

    Copyright © 2014 Packt Publishing

    All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

    Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

    Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

    First published: May 2014

    Production Reference: 1190514

    Published by Packt Publishing Ltd.

    Livery Place

    35 Livery Street

    Birmingham B3 2PB, UK.

    ISBN 978-1-78328-589-1

    www.packtpub.com

    Cover Image by Michal Jasej (<milak6@wp.pl>)

    Credits

    Author

    Filippe Costa Spolti

    Reviewers

    Tomaž Cerar

    Markus Eisele

    Peter Johnson

    Antonio Gomes Rodrigues

    Commissioning Editor

    Usha Iyer

    Acquisition Editor

    Mohammad Rizvi

    Content Development Editor

    Neil Alexander

    Technical Editors

    Novina Kewalramani

    Pratish Soman

    Copy Editors

    Mradula Hegde

    Laxmi Subramanian

    Project Coordinator

    Melita Lobo

    Proofreaders

    Simran Bhogal

    Stephen Copestake

    Indexers

    Hemangini Bari

    Tejal Soni

    Production Coordinator

    Komal Ramchandani

    Cover Work

    Komal Ramchandani

    About the Author

    Filippe Costa Spolti was born in Sao Joaquim, southern Brazil, considered one of the coldest cities in the country, but now lives in Minas Gerais. He works in the field of information technology and is a follower of the open source community. He contributes to open source projects, such as WildFly and Muffin. He currently works with management infrastructure in which the front-end is a park of physical and virtual servers running diverse critical business applications, and where he works mainly on the application servers, such as JBoss, Tomcat, and Apache. He is a professional, very flexible, and open to learning new technologies. He is a creator and maintainer of the hrStatus project, which is a free software for the DST Brazil. He is also currently working as an administrator of IBM PureSystems, which, by the way, was first deployed in Brazil and gave his company an international use case of the product.

    I would like to dedicate this book to my father and thank everyone directly and indirectly involved throughout the production of the book, mainly the Packt Publishing team for giving me this opportunity.

    About the Reviewers

    Markus Eisele is a software architect, developer, and consultant. On a day-to-day basis, he works with customers as well as projects that deal with enterprise-level Java and infrastructures, including the Java platform and various web-related technologies, on a variety of platforms using products from different vendors. An expert in Java EE Servers, he is an Oracle ACE director, a Java champion, and a member of the Java EE 7 expert group, and is also a frequent speaker at industry conferences. You can follow him on Twitter (@myfear) or read his blog at http://blog.eisele.net.

    Sharing knowledge is rewarding. It also requires time, dedication, and motivation. I'm thankful that my parents taught me the foundations to be passionate and lasting; that my girls donate the time it takes and that I have a little power package to motivate me.

    Peter Johnson has over 34 years' Enterprise-computing experience. He has been working with Java for 17 years. For the last 12 years, he has been heavily involved in Java performance tuning. He is a frequent speaker on Java performance topics at various conferences, including the Computer Measurement Group annual conference, JBoss World, and Linux World. He is a moderator for the IDE and WildFly/JBoss forums at Java Ranch. He is also the co-author of JBoss in Action, Manning, and has been a reviewer on numerous books on topics ranging from Java to Windows PowerShell.

    Antonio Gomes Rodrigues earned his masters degree at the University of Paris VII in France. Since then he has worked with various companies having Java EE technologies in the roles of developer, technical leader, and technical manager of the offshore projects, and also as a performance expert.

    He currently works in the APM area and is a performance problem fixer for an editor.

    I would like to thank my wife, Aurélie, for her support, and my child, Timothée.

    www.PacktPub.com

    Support files, eBooks, discount offers, and more

    You might want to visit www.PacktPub.com for support files and downloads related to your book.

    Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at for more details.

    At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

    http://PacktLib.PacktPub.com

    Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.

    Why subscribe?

    Fully searchable across every book published by Packt

    Copy and paste, print and bookmark content

    On demand and accessible via web browser

    Free access for Packt account holders

    If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.

    Preface

    The new WildFly application server, previously known as JBoss, has recently come up with several innovations and improvements in all its aspects. It is very lightweight, fast, and easy to implement and configure. In this book, we will dive into this new version of an established technology in order to know a little more about WildFly and find out what we will be able to do with it.

    What this book covers

    Chapter 1, Starting with WildFly, introduces you to this new technology giving the user a better understanding of the features present in WildFly, and this chapter will also show the reader how to perform a complete installation and will supply a brief introduction on how to do the main tasks. In addition, it gives you a complete idea of what the function of each

    Enjoying the preview?
    Page 1 of 1