Beginning Kotlin
Build Applications with Better Code, Productivity, and Performance
Chapter
Haksun Li, PhDa*
Chapter
In the last chapter, you were introduced to MicroProfile's architecture. That chapter also covered a few essential standards in-depth, like configuration, health checking, and fault tolerance.
Chapter
Kotlin is a class-based, object-oriented language. It uses interfaces and classes to define custom types. If you’re coming from Java (or any other similar language), you’ll be at home with how Kotlin deals wit...
Chapter
MVC is an important module of the Spring Framework. It builds on the powerful Spring IoC container and makes extensive use of the container features to simplify its configuration.
Chapter
Testing is one of the topics you never stop learning about because new techniques and tools are always emerging, whether to write tests or simplify the way to perform tasks like creating mocks to check if a pa...
Chapter
Testing is an essential part of software development. It helps developers verify the correctness of the functionality. JUnit and TestNG are two of the most popular testing libraries used in Java projects.
Chapter
In an enterprise application, the presentation layer critically affects the users’ level of acceptance of the application. The presentation layer is the front door into your application. It lets users perform ...
Chapter
Sometimes, you need to persist complex objects in a database and/or for a long period of time. Under these circumstances, the key/value store acts more or less as the Map<K,V> class, wherein you need a key to ...
Chapter
The most difficult part when starting a new project is setting up a development process that involves selecting and optimizing the tooling, so that you can focus on writing the code. Fortunately, this book int...
Chapter
This chapter explains how to containerize your microservices using Docker and Kubernetes. You start by learning about containers and why you should use them. You then learn how to install Docker and Kubernetes...
Chapter
Knowledge of collections will let you solve tricky data structure problems with ease. You don’t need to write your own algorithm to handle sets, maps, and lists. The collections API will do that for you; and t...
Chapter
When the Servlet API was initially released, the majority of the implementing containers used a thread per request, which meant a thread was blocked until the request processing had finished and the response w...
Chapter
Developers frequently implement a solution that accesses a database, but problems appear months later. These problems may or may not relate to the solution’s implementation because many factors can affect perf...
Book
Chapter
Spring Boot supports embedded servlet containers, which makes deploying applications much easier because you don’t need an external application server setup. You can simply package your Spring Boot application...
Chapter
As the name suggests, the Java Naming and Directory Interface (JNDI) provides a standardized programming interface for accessing naming and directory services. It is a generic API that can access various syste...
Chapter
JHipster is a Yeoman-based generator that creates Spring Boot-based web applications. JHipster configures a wide variety of tools and frameworks commonly used in Spring Boot applications, improving developer p...
Book
Java DevOps for Building and Deploying Microservices-based Applications
Chapter
In previous chapters, you saw how the Spring Framework can help Kotlin and Java developers create JEE applications. By using the Spring Framework’s dependency injection (DI) mechanism and its integration with ...
Chapter
The previous chapters demonstrated how to build and run typical Kotlin web applications on an instance of Apache Tomcat server that was either external, for Spring classic configuration, or embedded, for Sprin...