Java 8 introduced functional programming support, this is a powerful feature which was missing from earlier versions. One of the benefits of functional programming is that it can be used to implement decorator pattern without the use of inheritance. One common requirement is to implement some kind of ...
You might be aware that there are different content encoding formats for
encoding the text. Generally, it is safe to use UTF encoding, but at
least you would expect that the websites would specify the encoding
format in the response. Alas, you might find certain sites , which just
send the ...
SSL handshake errors can occur due to various reasons such as Self
Signed certificate, unavailability of protocol or cipher suite requested
by client or server, etc. Recently I faced this issue where I was
connecting to third party server using HttpClient library. Here’s what
I did to identify the ...
To trace an existing J2EE application (or a legacy application,legacy
here means the ones still not using CDI) at database layer is not easy,
especially if that application does not have any reference to the user
whom you want to trace. A cumbersome way would be to pass the ...