Tag: Java
-
A glance at the Java performance toolbox
Posted on July 1, 2023, Level intermediate Resource Length medium
Performance tuning starts with analysis, and JDK tools can help you gain insights on classes and threads and can perform live GC analysis or heap dump postprocessing: jcmd, jconsole, jstat, jmap and jfr. By Ana-Maria Mihalceanu.
Tags frameworks performance app-development jvm java
-
(Spring) Booting Java to accept digital payments with USDC
Posted on June 16, 2023, Level intermediate Resource Length medium
It's funny how a seemingly meaningless event in one's life can lead to an unexpected change. For me, one of those events happened in July 2021 when my flight home was delayed by so much that I paid for my very first Uber. For this article, I wanted to see how easy it is for a web2 developer to use Java in order to perform some Fintech transactions using web3 and USDC over the Ethereum blockchain. My plan is to use the Circle Java SDK, Java 17, and a Spring Boot 3 RESTful API. By John Vester.
Tags blockchain app-development java programming apis
-
Encapsulation in Java (with example)
Posted on May 22, 2023, Level beginner Resource Length medium
Encapsulation is a fundamental concept in object-oriented programming (OOP) that allows developers to achieve data abstraction, improve code maintainability, and create more robust software. In this article, we will dive deep into the principles of encapsulation in Java, understand its benefits, and explore the best practices to implement it effectively. By Rahul.
Tags java oop programming learning
-
How to use Azure functions with MongoDB Atlas in Java
Posted on May 15, 2023, Level beginner Resource Length medium
In this article, we are going write the function as a service (FaaS) — i.e., a serverless function that will interact with data via a database, to produce meaningful results. FaaS can also be very useful in A/B testing when you want to quickly release an independent function without going into actual implementation or release. By Mohit Sharma.
Tags nosql java azure serverless
-
Using Vulcan codecs with Kafka Java APIs
Posted on April 17, 2023, Level intermediate Resource Length medium
For those that aren't familiar, Vulcan is a functional Avro encoding library that uses the official Apache Avro library under the hood. The difference between this and the official Avro build plugins approach is that the types are defined in plain Scala. Then the Avro schema is generated from those instead of defining the Avro schema and getting code generated at compile time that adheres to that schema. By César Enrique.
Tags apache java messaging app-development streaming scala
-
Underrated Scala features and hidden gems in the standard library
Posted on April 16, 2023, Level intermediate Resource Length medium
A data structure which manages resources automatically. It lets us focus on the task at hand by giving us a handle on the acquired resource which is then automatically released in the end so that we avoid resource leaks. By Anzori (Nika) Ghurtchumelia.
Tags akka java kotlin app-development scala
-
Kotlin or Java for Android app development which one should you choose?
Posted on April 15, 2023, Level beginner Resource Length medium
Android app development is a big and ever-growing industry. Kotlin or Java for Android App Development lets understand more about these technologies. By cumulations.com.
Tags android java kotlin app-development web-development
-
Best practices for Java apps on Kubernetes
Posted on February 22, 2023, Level beginner Resource Length long
In today's fast-paced digital world, the speed of your website can make or break the user experience. With abundant information at our fingertips, users expect websites to load quickly and efficiently. As frontend developers, it's our responsibility to deliver a seamless experience for our users. By Gaurav Sharma.
Tags java programming app-development devops kubernetes
-
Introduction to class delegation in Kotlin
Posted on February 17, 2023, Level intermediate Resource Length medium
Technically, what you're going to see in this chapter is more precisely known in the broader programming community as "forwarding" rather than "delegation". However, in the Kotlin world, it's always referred to as delegation, so we'll continue to use that term here. By typealias.com.
Tags java programming app-development kotlin
-
Micro frontends for Java microservices
Posted on January 31, 2023, Level intermediate Resource Length medium
Microservices have been quite popular in the Java ecosystem ever since Spring Boot and Spring Cloud made them easy to build and deploy. Things have gotten even easier in recent years with the proliferation of new Java frameworks built specifically for microservices: MicroProfile, Micronaut, Quarkus, and Helidon. By Matt Raible.
Tags java programming microservices cloud serverless
-
Kotlin coroutines - A comprehensive introduction
Posted on January 18, 2023, Level intermediate Resource Length long
This article introduces Kotlin coroutines, a powerful tool for asynchronous programming. Kotlin's coroutines fall under the umbrella of structured concurrency. They implement a model of concurrency which you can consider similar to Java virtual threads, Cats Effect and ZIO fibers. By Daniel Ciocîrlan.
Tags kotlin java app-development programming jvm distributed
-
Data structures 101: How to use stacks and queues in Java
Posted on January 17, 2023, Level intermediate Resource Length long
Mastering data structures is a non-negotiable skill for success as a developer. Efficient data structures help execute effective programs. Today, many programming roles require great knowledge of data structures. They are also a fundamental part of coding interviews. By The Educative Team.
Tags java app-development programming queues data-science