Book Image

WildFly: New Features

By : Filippe C Spolti
Book Image

WildFly: New Features

By: Filippe C Spolti

Overview of this book

Table of Contents (13 chapters)
WildFly: New Features
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Class loading precedence


Even for those WildFly modules that are isolated by default as part of the deployment process, some dependencies of modules are defined by the application server transparently to the end user. In this way, it becomes transparent, which helps us to make a deployment without errors. Assuming that you are performing a Java EE application deployment, the dependencies of Java API's will be added to your application automatically. Automatic dependencies can be excluded through the use of jboss-deployment-structure.xml.

A very common problem of class loading in Java applications is applications that include libraries that are also provided by the container. This can result in the creation of multiple versions of the same classes in the environment and can cause problems during deployment. To prevent this type of problem, the dependencies are included in a specific order that prevents this type of error. The following is a list of dependencies arranged in the order of the...