Packed with practical examples, this book looks at a different aspect of performance tuning in each chapter and shows you how to apply them to their existing Java applications. Anyone with an interest in learning more and improving the performance of Java-based technology in general, all the way to WildFly in particular, will find this book useful.
JBoss Application server is the most popular open-source Java application server, renamed as WildFly. This book has been updated (May 2021) to guide you in improving the performance of modern applications running on the top of it, covering details such as: - Get the most from the environment where WildFly is running - Monitor and optimize the JVM by analyzing its behavior - Learn various tools to monitor WildFly - Monitor and tune various subsystems included within WildFly - Know the pros and cons of application server settings - Discover low level details to tune a clustered WildFly environment …and much more!
WildFly is the most popular open-source Java application server. This book is the an in-depth guide, (updated December 2022) to the administration and management of the of the application server. Covers all the latest architectural and management changes such as: - Jakarta EE 10 updates to the server configuration - How to achieve High Availability of your Domain Configuration - Best tips to supercharge the Command Line Interface - Using the Undertow Web server as front-end for mod_cluster and as Reverse Proxy Server - Provision standard and custom server distributions using the Galleon tool - Configuring the Apache Artemis MQ Messaging system - Advanced security configuration using Elytron - How to manage the Secure Socket Layer - Running WildFly on the cloud on the top of Openshift - Learn how to leverage the Eclipse MicroProfiles configurations ...and much more! Who this book is for: This book is especially suited for Java system administrators that are going to manage the new release of the application server. Developers and application testers will be as well more productive after learning this book. Prior knowledge of the earlier version of the application server is not required, although that could make easier to understand some core concepts contained in this book.
With the increasing demand for distributed systems for Java applications, WildFly offers a robust platform on which to deploy and manage your services. As a matter of fact, WildFly 9 is a fully certified Java EE 7 platform and provides remote management tools, such as the redesigned Admin Console and the new and powerful Command Line Interface (CLI). With practical and accessible material, you will begin by learning to set up your WildFly runtime environment, and progress to selecting appropriate operational models, managing subsystems, and conquering the CLI. You will then walk through the different balancing and clustering techniques, simultaneously learning about role-based access control and then developing applications targeting WildFly and Docker.
JBoss Application server is the most popular open source Java application server, renamed from this release and on as WildFly. This book covers all details on administration and management aspect of this new version of the application server. Focusing exclusively on the management instruments of the application server, the book takes you through all of the latest architectural and performance changes. You'll progress from basic server configuration to more advanced techniques for clustering, JDBC connectivity, logging, and much more. What you will learn from this book: - How to install the application server on Windows and Unix/Linux systems including details for installing it as a service - Steps for packaging and deploying web applications - Configuring the services stack, including the new Undertow Web subsystem - Deploying Wildfly 8 with the Apache Web server and mod_cluster - Monitoring Wildfly 8 servers in realtime - Secure applications and encrypt their communication
This book is aimed at Java developers, system administrators, application testers using WildFly, and anyone who performs a DevOps role. Whether you are completely new to WildFly or just require an understanding of WildFly's new features, this book is for you.
If you are a Java developer who wants to learn about Java EE, this is the book for you. It's also ideal for developers who already have experience with the Java EE platform but would like to learn more about the new Java EE 7 features by analyzing fully functional sample applications using the new application server WildFly.
This book is an easy-to-follow guide full of hands-on 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 in-depth 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.
Jakarta EE 10 is the latest version of the Java Enterprise Edition (EE) platform, which is designed to help developers build modern, scalable, and secure enterprise applications. This book provides a comprehensive guide to using Jakarta EE 10, covering everything from its architecture and key technologies, to best practices and advanced topics. With this book, you will learn how to set up your development environment, create and deploy Jakarta EE applications, and use the latest features in the platform and improved cloud-native capabilities. Whether you are new to Jakarta EE or an experienced Java EE developer, this book will provide you with the knowledge and skills you need to build robust and efficient enterprise applications with Jakarta EE 10. The first part of the book covers everything from the foundation components (EJB, Servlets, CDI, JPA) to the new technology stack defined in Jakarta EE 10, including Batch API, JSON-P API, the Concurrency API,Web Sockets, the JMS API, the core Web services stack (Jakarta REST Services, Jakarta SOAP Services). The testing area with Arquillian framework and the Security API is also fully covered in this part. At the end of this part, you will be able to create and deploy Enterprise applications on the top of Jakarta EE 10 runtimes (WildFly 27 or newer) and migrate your existing Java EE applications. The second part of the book discusses how to integrate the Jakarta Enterprise API with the Microprofile specification, to provide essential services to develop robust microservices such as the Configuration API, the Health API, the Fault tolerance API, the OpenAPI and Tracing API, the Metrics API, JWT Authentication API and REST Client API. Finally, the third part of the book covers how to build Microservices using WildFly Bootable jar technology and how to deploy them on the cloud with Red Hat OpenShift. What you will learn from this book: - Everything you need to know about Java EE, Jakarta EE 10 and MicroProfile API - How to set up your development environment to build Enterprise applications and Microservices on the top of WildFly. - Learn the best Maven plugins that you can use to simplify your project scaffolding - Learning the foundation components that constitute the backbone of your applications: EJB, CDI, JPA, JAX-RS, JAX-WS - How to build loosely coupled applications using the straightforward JMS API - How to test your applications with Arquillian in a managed environment, remote environment and even on the cloud! - Discover how to develop Concurrent and Compliant Enterprise applications using the Concurrency API and how to define Batch Jobs using WildFly's batch subsystem. - Secure all kinds of applications (Web/EJB) with standard and custom login modules. How to encrypt the communication of EJB applications and Web applications. - How to enhance your Jakarta EE stack with Microprofile API to build robust Microservices - How to turn your Jakarta EE applications in Microservices using WildFly Bootable jar technology
When you use Hibernate in your projects, you quickly recognize that you need to do more than just add @Entity annotations to your domain model classes. Real-world applications often require advanced mappings, complex queries, custom data types and caching. Hibernate can do all of that. You just have to know which annotations and APIs you need to use. Hibernate Tips - More than 70 solutions to common Hibernate problems shows you how to efficiently implement your persistence layer with Hibernate's basic and advanced features. Each Hibernate Tip consists of one or more code samples and an easy to follow step-by-step explanation. You can also download an example project with executable test cases for each Hibernate Tip. Throughout this book, you will get more than 70 ready-to-use solutions that show you how to: - Define standard mappings for basic attributes and entity associations. - Implement your own attribute mappings and support custom data types. - Use Hibernate's Java 8 support and other proprietary features. - Read data from the database with JPQL, Criteria API, and native SQL queries. - Call stored procedures and database functions. This book is for developers who are already working with Hibernate and who are looking for solutions for their current development tasks. It's not a book for beginners who are looking for extensive descriptions of Hibernate's general concepts. The tips are designed as self-contained recipes which provide a specific solution and can be accessed when needed. Most of them contain links to related tips which you can follow if you want to dive deeper into a topic or need a slightly different solution. There is no need to read the tips in a specific order. Feel free to read the book from cover to cover or to just pick the tips that help you in your current project.