Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Mastering Java EE Development with WildFly
  • Toc
  • feedback
Mastering Java EE Development with WildFly

Mastering Java EE Development with WildFly

By : Stancapiano
2.3 (3)
close
Mastering Java EE Development with WildFly

Mastering Java EE Development with WildFly

2.3 (3)
By: Stancapiano

Overview of this book

Packed with rich assets and APIs, Wildfly 10 allows you to create state-of-the-art Java applications. This book will help you take your understanding of Java EE to the next level by creating distributed Java applications using Wildfly. The book begins by showing how to get started with a native installation of WildFly and it ends with a cloud installation. After setting up the development environment, you will implement and work with different WildFly features, such as implementing JavaServer Pages. You will also learn how you can use clustering so that your apps can handle a high volume of data traffic. You will also work with enterprise JavaBeans, solve issues related to failover, and implement Java Message Service integration. Moving ahead, you will be working with Java Naming and Directory Interface, Java Transaction API, and use ActiveMQ for message relay and message querying. This book will also show you how you can use your existing backend JavaScript code in your application. By the end of the book, you’ll have gained the knowledge to implement the latest Wildfly features in your Java applications.
Table of Contents (20 chapters)
close
5
Working with Distributed Transactions
16
WildFly in Cloud

REST application and components

In this paragraph, we will analyze the JAX-RS application interface.

This interface is mandatory when sharing the services. If you must only write simple services, and you don't want to write this class, there is a valid and nice alternative to it. Simply add this piece to your web.xml:

<servlet-mapping>
<servlet-name>javax.ws.rs.core.Application</servlet-name>
<url-pattern>/myjaxrs/*</url-pattern>
</servlet-mapping>

Automatically, the next services you will write will be callable using the myjaxrs context together with the name of the service declared with the @Path annotation. The URL-pattern in this case is used instead of the @PathApplication annotation.

However, the application is not only used to host the services. Many other components are provided by JAX-RS. In this paragraph, we will see the main...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete