Java

An Overview of Resource-Oriented Architectures

Learn about Resource-Oriented Architecture (ROA), why it is useful, and the best practices for using it. Service-Oriented Architecture (SOA) and resource-oriented architecture (ROA) are architectural design patterns used to implement robust, scalable distributed application architectures. Distributed architectures are made up of components that are consumed across a network through well-defined interfaces. In ROA, these components are referred to as resources, while in SOA, they are...

Vercel Taps into Google Conformance Engine to Ensure App Performance

Vercel, during its online Next.js Conf event today, revealed it has updated its development environment based on Next.js and the React frameworks to include support for a conformance engine created by Google that automatically applies best practices for ensuring predictable performance. The company also previewed Next.js Live, a dev server engine for Next.js that will be added to the Vercel platform to enable development teams...

Versioning REST APIs

Developing APIs is no simple task. It gets even more complicated when you have to update or evolve them as technology and client needs change. Once you start the development of a new API, change is inevitable. Sometimes the needs of the API can change in so many ways that the original version will no longer be enough, and you find yourself needing to...

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...

The Best Programming Languages to Learn in 2021

Whether you are a new or seasoned developer with decades of experience under your belt, your career could benefit greatly by learning one - or more - of the programming languages we showcase in this article. In addition to being a great addition to your resume, learning to develop software in one of these languages can also help your career longevity. They may also...

Java: Using Minimax Algorithm to Create a Tic Tac Toe Game

This is the first part in a series where you will learn the core principles of Artificial Intelligence (AI) programming in Java. We will be using the minimax algorithm to create our very own web-based, online, Tic Toe Game. I have solid foundations in Computer Information Science & Engineering with about 6 Years of progressive CSE/ISE education. In my later life, I attended a specialized...

REST Web Services with JAX-RS, JSON, and JAXB: Part Two

This is the second article in my series on REST using Apache Wink. My previous article covered using JAX-RS (REST web services) using Apache Wink. This programming tutorial uses the same service that we built in part one to return complex types. These types include XML using JAXB and JSON using Jackson as the stream reader or stream writer. Before we begin, consider refreshing your...

New Survey Reveals Developers Anxious to Return to the Office

A new survey from continuous code improvement platform make Rollbar shows that developers are eager to return to the office. Find out why. Some thought the work-from-home trend would last forever. But as we’ve pushed past the one-year mark in the coronavirus pandemic, Big Tech is looking to revert to a more traditional office setting. And while you may think that developers are not looking...

Starting JAX-RS and REST Web Services Using Apache Wink: Part One

This article explains the basic concepts of Jakarta RESTful web services (specifically, JAX-RS, formerly the Java API for RESTful web services). Inside, we detail the step-by-step implementation of web services using Apache Wink. Before we begin, let's revisit some of the essential terms you should know to better understand web services, REST, and related concepts. Extensible Markup Language (XML): XML is a A standard for document...

Java Developer Interview Questions

Java is one of the most used programming languages on the planet, rivaled only by big names such as Python and JavaScript. Java developers are highly sought-after and, as such, the job market can feel a bit competitive. To give yourself a leg-up on the competition, it is always wise to prepare prior to any job interview. To help you achieve that goal, we...

Latest Articles