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

File upload

A more efficient and simple upload method has evolved in Java EE 7. Now, we can upload files through our web forms with little code. In this section, we will see a very practical sample. Now, let's start creating an upload form through a JSP page:

<form action="${pageContext.request.contextPath}/FileUploadServlet" method="post" enctype="multipart/form-data">
<input type="file" name="file" size="50" /> <br />
<input type="submit" value="Upload File" />
</form>

With this code, we can upload files on a chosen platform. The web form allows us to interact with a server. In this case, we can attach a file through the input file tag. To send the file to the server, we need to configure the form with a particular enc type, the multipart/form-data. It is the...

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