Web-based Java

Developing a Spring Boot Application Using STS

Spring Boot is a framework and tool suite for developing and deploying Spring-based applications quickly and with very little configuration. It even comes with an embedded Tomcat Web server for running your applications as a standalone app! Although Spring Boot is not associated with any particular IDE, being a Java tool set makes it a perfect candidate for development in Eclipse. As it happens, Spring...

What Is Non-blocking Socket Programming in Java?

Socket programs in Java can be made to work in both blocking and non-blocking mode. In blocking socket mode, a system call event halts the execution until an appropriate reply has been received. In non-blocking sockets, it continues to execute even if the system call has been invoked and deals with its reply appropriately later. This article elaborates on the concept of non-blocking socket...

Using Oracle JDeveloper with MySQL Database Service on Oracle Cloud Platform, Part 1

Oracle JDeveloper is a Java IDE with support for Java EE and Oracle Application Development Framework (ADF). In an earlier article, we discussed using Oracle JDeveloper with Oracle Database on Oracle Cloud Platform. JDeveloper provides support for the commonly used relational databases, including IBM DB2, Apache Derby, SQL Server, and MySQL. In the next three articles, we shall discuss using JDeveloper to access a...

Using Oracle JDeveloper 12c with Oracle Database 12c on Oracle Cloud Platform, Part 3

In the first of three articles, "Using Oracle JDeveloper 12c with Oracle Database 12c on Oracle Cloud Platform, Part 1," we discussed creating two Oracle Database 12c service instances on Oracle Cloud Platform—one using the Quick Start wizard and the other using the detailed wizard. In the second article, "Using Oracle JDeveloper 12c with Oracle Database 12c on Oracle Cloud Platform, Part 2," we...

Consuming Android APIs Easily with Retrofit

By Ashesh Shah Retrofit from Square is a type-safe REST client for Android. This is a library providing a powerful framework that interacts with, as well as authenticates, APIs, by making use of OkHttp to send network requests. The library makes use of a Web API for downloading XML or JSON data. After the data is downloaded, the parsing takes place into Plain Old Java Object,...

Explore the Java API for JSON Processing

JSON, which stands for JavaScript Object Notation, is a text-based, open standard, language independent data exchange format, primarily used to serialize/deserialize and transmit data over a network connection. JSON can have many other uses as well. But, in the arena of data exchange, it performs similar functions as XML. Java already has API support for XML, and JSON soon picked up interest. Java EE...

What is Maven? | An Important Tool for Java Developers

The goal of this article is to provide a good overview of Apache Maven. To answer to the question, "What is Maven?," we need to cover several topics, but for starters, let's say that Maven is a great tool that can sustain, support, and assist all stages involved in software development. Apache Maven is ready to serve you for creating a project from scratch,...

How To Get Started with Jenkins

If you never heard about Jenkins, or it is just something that you didn't understand exactly what is it useful for, this article is for you. In the next few minutes, we will have an overview of Jenkins meant to introduce you this comprehensive tool dedicated to automating any kind of project. Basically, Jenkins is an open source project written in Java and dedicated to...

Introduction to the New MVC 1.0 (Ozark RI)

MVC 1.0 is one of the new Java EE 8 specifications available under JSR 371. It is designed to be an action-oriented framework layered on top of JAX-RS API (until some point, Servlet API was also in discussion) that wishes to be an alternative, not a replacement, to the component-oriented JSF. In other words, MVC 1.0 is a different standardized Java EE approach for...

Latest Articles