Architecture & Design

Best Practices to Design RESTful APIs

Poorly designed APIs are difficult to maintain over time, and they can fail often. Such APIs are also vulnerable to security threats from hackers looking for sensitive data. This article talks about what REST is all about, showcases some REST resources, and outlines the best practices that should be followed to design RESTful APIs. What is REST? REST, an acronym for Representational State Transfer, is a...

Low-Code and No-Code: Is It Really That Easy, and How Will It Impact Devs?

If you’re embarking on a career in software development, or if you’re already an established developer, low-code and no-code development platforms are going to have a significant impact on  your life. The good news is that it likely won’t be a negative one. As the name suggests, low-code and no-code platforms allow people to develop software with little or no coding skills. The platforms provide...

Create Entity Manager in JPA Tutorial

The Entity Classes It is easy to transform a POJO into an entity class via annotation. In fact, a single annotation, @Entity, is enough to designate any POJO as an entity class. For example, examine a regular class such as follows: public class Book {   private int id;   private String title; private String publisher; public Book() {} public Book(int...

Understanding Java Support for Persistence with JPA

Enterprise applications often deal with operations such as the collecting, processing, transforming, and reporting of a large amount of data. These data are typically stored in a database server in a particular location and retrieved on demand. The application is responsible for processing the data from the database and finally present them for client consumption. But, the intricacies involved in mitigating the data exchange...

Introduction to the UNO Platform

Two new project templates have been installed: Cross-Platform Library (UNO Platform) Cross-Platform App (UNO Platform) They are shown in Figure 3. Figure 3: Project Templates Select the Cross-Platform App template. Give it a name and a Location. Click Create. There should be five projects in your Solution Explorer. They are: Projectname.Droid Projectname.iOS Projectname.Shared Projectname.UWP Projectname.Wasm If you encounter any errors while trying to create this project, it is due to the fact that some of your prerequisites...

R.I.P. Short-lived .NET Core 3.0

It seems just like the other day that .NET Core 3.0 was released. Oh, wait a minute! It was! Released September 2019, the short-lived .NET Core 3.0 has reached its end of life. It is not all bad news, because .NET Core 3.1 has succeeded it. Whereas .NET Core 3.0 was a Current release (include features that are new and may undergo future change...

An Introduction to JVM Threading Implementation

Green Thread Model The green thread is the simplest threading library of JVM scheduled threads. In this model, each thread is an abstraction within the VM. The JVM is completely responsible for its creation and manages the process of context switching within a single process of the operating system. In other words, green threads are the sole property of JVM and its implementation. The underlying...

Creating Amazon Skills with .NET, Part 4: Testing Tools

Introduction During this article series, I have shown you the tools needed to create and set up Alexa skills. I have also shown you how to create an Amazon skill in .NET. The next logical step is to talk about testing Alexa skills. Let's see what options are available. There are multiple options available for testing an Amazon skill: The Utterance profiler The simulator on the Test page in...

What are the Serializable and Externalizable Interfaces in Java?

Overview The process of serialization converts the state of an object into a stream of bytes. If we want to store an object in a file, it is necessary to convert it into bytes. These bytes then can be restored into an object, its original form, with the process called deserialization. This is how object persistence takes place. The process of serialization also needs to...

Nested Classes and Their Use in Java

Overview In Java, it is possible to declare a class within another class. This is called a nested class. The visibility and scope of the nested class is bounded by the class within which it is declared. Thus, if a class B is declared within class A, it means that the existence of the class B is dependent on the existence of class A. Also,...

Latest Articles