
Kotlin for Enterprise Applications using Java EE
Develop, test, and troubleshoot enterprise applications and microservices with Kotlin and Java EE
- 388 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Kotlin for Enterprise Applications using Java EE
Develop, test, and troubleshoot enterprise applications and microservices with Kotlin and Java EE
About this book
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.
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
Kotlin – A First look

- The features offered by Kotlin
- Installing and running Kotlin
- The various constructs of the language
Technical requirements
Introduction to Kotlin
The history of Kotlin
Features of Kotlin
- Interoperability with Java: The most important feature of Kotlin is its deep interoperability with Java. Kotlin compiles to JVM bytecode and runs on the JVM, using Java libraries and tools.
- Concise: Unlike Java, which is verbose, Kotlin reduces the amount of boilerplate code. This results in a leaner code syntax and improved readability.
- Safe: Kotlin improves code safety through the proper initialization of properties, null safety, and strong type inference.
- No runtime overhead: Kotlin imposes no runtime overhead. The standard Kotlin library is small. The Kotlin runtime exists only to support the language features. It has mostly focused on extensions to the Java standard library. Many of its internal functions are inline.
- Collections: In Kotlin, we have higher-order functions, lambda expressions, operator overloading, lazy evaluation, and lots of other useful functions for working with collections.
- Extension functions: Kotlin allows us to extend the functionality of existing classes without inheriting from them. Extensions do not modify classes; they extend them and are resolved statically.
- Open source: Kotlin is an open-source programming language. The Kotlin project is open-sourced under the Apache 2.0 licens...
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
- 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
- Other Books You May Enjoy
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app