Book description
Build Java Enterprise Applications and learn how Kotlin makes it easier to code them using components like JSF 2.3, Enterprise JavaBeans (EJB) 3.2, Contexts and Dependency Injection (CDI) 2.0, the Java API for WebSockets, JAX-RS 2.1, Servlet 4.0.
Key Features
- An in-depth guide updated with all the latest features of Kotlin 1.2 and Java EE 8
- Build microservices in Java EE with the help of Kotlin use cases
- Explore coroutines, garbage collection, multithreading, memory management and more
Book Description
Kotlin was developed with a view to solving programmers' difficulties and operational challenges. This book guides you in making Kotlin and Java EE work in unison to build enterprise-grade applications. Together, they can be used to create services of any size with just a few lines of code and let you focus on the business logic.
Kotlin for Enterprise Applications using Java EE begins with a brief tour of Kotlin and helps you understand what makes it a popular and reasonable choice of programming language for application development, followed by its incorporation in the Java EE platform. We will then learn how to build applications using the Java Persistence API (JPA) and Enterprise JavaBeans (EJB), as well as develop RESTful web services and MicroServices. As we work our way through the chapters, we'll use various performance improvement and monitoring tools for your application and see how they optimize real-world applications. At each step along the way, we will see how easy it is to develop enterprise applications in Kotlin. By the end of this book, we will have learned design patterns and how to implement them using Kotlin.
What you will learn
- Understand Kotlin syntax and appreciate why it's gaining in popularity
- Explore the Java EE ecosystem and the APIs in Java EE
- Implement applications using Kotlin
- Overcome the challenges of developing the Java EE system using Kotlin
- Gain insights into Java Message Services (JMS)
- Build RESTful MicroServices and secure applications
- Optimize applications with performance and monitoring tools
- Understand design patterns and implement them
Who this book is for
Kotlin for Enterprise Applications using Java EE is for Java EE developers who want to build their enterprise project or application with Kotlin or migrate from Java to Kotlin. Basic knowledge of programming is necessary to understand the key concepts covered in this book.
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- Foreword
- Contributors
- Acknowledgements
- About Packt
- Preface
- Kotlin – A First look
- Kotlin – The Game Changer
-
An Overview of Java EE and Kotlin
- Technical requirements
- Overview of Java EE
- Summary
- Kotlin with JSF and CDI
- Kotlin with JPA and EJB
- Enterprise Messaging with Kotlin
- Developing RESTful Services with JAX-RS
- Securing JAVA EE Applications with Kotlin
- Implementing Microservices with Kotlin
- Performance Monitoring and Logging
-
Design Patterns with Kotlin
- Technical requirements
- Design patterns
- Categorizing design patterns
- Implementing the singleton pattern
- Implementing the factory pattern
- Implementing the builder pattern
- Implementing the decorator pattern
- Implementing the observer pattern
- Implementing the chain of responsibility pattern
- Selecting design patterns
- Summary
- Other Books You May Enjoy
Product information
- Title: Kotlin for Enterprise Applications using Java EE
- Author(s):
- Release date: November 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788997270
You might also like
book
Java: Data Science Made Easy
Data collection, processing, analysis, and more About This Book Your entry ticket to the world of …
article
Splitting Strings on Any of Multiple Delimiters
Build your knowledge of Python with this Shortcuts collection. Focusing on common problems involving text manipulation, …
book
Spring Boot 2 Recipes: A Problem-Solution Approach
Solve all your Spring Boot 2 problems using complete and real-world code examples. When you start …
article
Use Github Copilot for Prompt Engineering
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …