Breaking News
Home / Java / Java Tutorials (page 5)

Java Tutorials

What is JSON?

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition – December 1999. JSON is a text format …

Read More »

XML Parsing failing due Encoding not being UTF-8

Anyone who has works with XML a lot possibly would have encountered this XML parser error message such as “Invalid byte 2 of 2-byte UTF-8 sequence”. The main reason for this error is that, the XML Parser cannot parse the XML since it contains non UTF-8 encoded characters. The exception …

Read More »

What is Database Connection Pool Leak?

Connection Pool help to increase the performance by keep active connections to the database in the pool. The pool is normally managed by the Pool Manager. The Client (API) is supposed to borrow a connection from the pool, execute the sql query or updates and finally return back the connection …

Read More »

Dummy SSL

Introduction JDK 1.4.2 and above JSSE allows to plugin the implementation of the ssl security provider. Sometimes its difficult to get the ssl/jsse working correctly due to a number of reasons. Specially in testing applications, where the url’s are accessible via ssl , parts or all of the the ssl …

Read More »