Book description
Develop high-performing server applications using the widely successful WildFly platform
In Detail
The hugely successful JBoss Application Server has been updated and is now called WildFly. This cutting edge technology provides a free JEE-certified platform for the software of today and tomorrow. Learning to tune such a platform for optimal performance is vital for a healthy business organization, efficient development, and the smooth running of operations.
This practical book explores how to tune one of the leading open source application servers in its latest reincarnation. In this book, you will learn what performance tuning is and how it can be performed on WildFly and the JVM using solely free and open source tools and utilities.
Learn about various free tools for performance monitoring and tuning, all focused on making them work with WildFly. The tuning journey ventures through the landscape of the major JEE technologies, EJB, Servlets, JPA, JSF, and JMS. Discover best practices for the internal high-performing web container Undertow, WebServices, and REST services so that you end your journey feeling confident in tuning WildFly for optimal performance.
What You Will Learn
- Tune and monitor an OS, a JVM, and WildFly with components and applications
- Make various tuning tools work with WildFly
- Configure and tune the JVM by analyzing its behavior
- Understand numerous best practices and how-tos
- Monitor and tune various JEE technologies within WildFly, such as EJBs, WebServices, and JSF-based applications
- Know the ins-and-outs for getting the most out of the platform, its components, and surrounding infrastructure
- Discover how to tune a clustered WildFly environment
Table of contents
-
WildFly Performance Tuning
- Table of Contents
- WildFly Performance Tuning
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. The Science of Performance Tuning
- 2. Tools of the Tuning Trade
-
3. Tuning the Java Virtual Machine
- JVM
- JVM memory areas
- GC
- JVM memory management with the GC
- Configuring the JVM
- Large objects
- Large memory pages
- The java.lang.OutOfMemoryError error
- Memory leaks
- Types of GC strategies
- Which collector to use
- Setting VM parameters in WildFly
- Having the relevant information available
- VM parameters in production
- Using tools
- VM and GC stability
- Summary
- 4. Tuning WildFly
-
5. EJB Tuning in WildFly
- The history of EJBs
- The different types of EJBs
- Performance tuning EJBs in WildFly
- Summary
-
6. Tuning the Persistence Layer
- Designing a good database
- Tuning the Java Database Connectivity API
-
Tuning JPA and Hibernate
- Optimizing object retrieval
- Transactional integrity and performance
- Limiting retrieved data by pagination
- Fetching parent and child objects
- Combining pagination and JOIN fetches
- Improving the speed of collection queries using batches
- Minimizing query compilation with JPA-named queries
- Improving the performance of bulk SQL statements
- Entity caching
- Summary
- 7. Tuning the Web Container in WildFly
-
8. Tuning Web Applications and Services
-
Web applications
- Choosing a web framework
- The evolution of web frameworks
- Tuning a web component – the data table
- Tuning servlet/JSP applications
- Undertow's proprietary solutions
- Tuning JSF-based applications
- WebSockets
- Services
- Summary
-
Web applications
- 9. JMS and HornetQ
- 10. WildFly Clustering
- Index
Product information
- Title: WildFly Performance Tuning
- Author(s):
- Release date: June 2014
- Publisher(s): Packt Publishing
- ISBN: 9781783980567
You might also like
book
JBoss in Action
JBoss in Action teaches readers how to use the JBoss application server, digging into the things …
book
Hands-On Cloud Development with WildFly
Create microservices using Java EE technologies with WildFly Swarm,deploy them in the OpenShift cloud, make them …
video
Advanced Java Performance: Hotspot GC Tuning LiveLessons
2+ Hours of Video Instruction Overview Advanced Java Performance: HotSpot GC Tuning LiveLessons covers the common …
book
Mastering Java EE Development with WildFly
Your one stop solution to create highly scalable enterprise grade Java applications with WildFly. About This …