Simple Solution
  • Java
  • Spring
  • Spring Boot
  • Tutorials
  • Tags
Serializes Java object into JSON string using JSON.toJSONString() with Fastjson
Serializes Java object into JSON string using JSON.toJSONString() with Fastjson

Java Code Examples for com.alibaba.fastjson.JSON.toJSONString() This method to serializes the specified Java object into JSON string.

Serializes Java object into JSON string using ObjectMapper.writeValueAsString() with Jackson
Serializes Java object into JSON string using ObjectMapper.writeValueAsString() with Jackson

How to serializes an object into JSON String in Java using the ObjectMapper.writeValueAsString() method Jackson library

Java Generate SHA-1 using DigestUtils in Apache Commons Codec
Java Generate SHA-1 using DigestUtils in Apache Commons Codec

In below code example you will learn how to use org.apache.commons.codec.digest.DigestUtils class in Apache Commons Codec to generate SHA-1 string in Java.

Java Base64 Encoding and Decoding with Apache Commons Codec
Java Base64 Encoding and Decoding with Apache Commons Codec

In this tutorial you will learn how to encoding and decoding a String in Java using Apache Commons Codec library. The library provide org.apache.commons.codec.binary.Base64 class with different methods to encode and decode data.

Creating File Server with Embedded Jetty Server in Java
Creating File Server with Embedded Jetty Server in Java

In this tutorial you will learn simple step by step to write an Java application which using Embedding Jetty API to creating a static file server.

How to use Java ArrayList with Examples
How to use Java ArrayList with Examples

In this turial we will go through a list of example to show you how use java.util.ArrayList in Java program. You will learn how to adding, updating, getting, sorting and other operations on elements of an ArrayList.

How to use Java ArrayDeque with Examples
How to use Java ArrayDeque with Examples

In this tutorial we will learn how to use the java.util.ArrayDeque class, a member class of Java Collections Framework. We will go through different examples to see how this class suppport methods that allow you to insert and retrieves element in both front and end of the element list.

Gradle Configuration to generate Java classes from WSDL with JAXB
Gradle Configuration to generate Java classes from WSDL with JAXB

In this blog post we will learn the step by step guide to configure gradle build file in order to generate Java classes from a WSDL file. This configure will be useful when you are working on project that related to SOAP web service.

How to use BigDecimal in Java by Examples
How to use BigDecimal in Java by Examples

As a Java developer if you are working with financial systems or developing systems that need granularity in your calculation then you should thinking about BigDecimal. BigDecimal is an immutable class, provides in java.math package. It consists of operations for arithmetic, scale manipulation, rounding, comparison, hashing, and format conversion. In this blog post we will learn how to use BigDecimal through a list of examples.

Top 5 Libraries for Serialization and Deserialization JSON in Java
Top 5 Libraries for Serialization and Deserialization JSON in Java

In this blog post we will go through 5 useful open source libraries to serialization and deserialize JSON data in Java application. For each library we will write a simple code sample to show you how to use the library to convert Java object to a JSON string and vice-versa.

  • 1
  • 2
  • 3
  • …
  • 101
  • 102
  • 103

Copyright © 2019 SimpleSolution.dev. All Rights Reserved.