Memorynotfound Java Programming Tutorials
Servlet Basic Authentication Annotation Configuration
This tutorial explains how to configure Servlet Basic Authentication annotation configuration. If you are planning on using basic authentication you must be aware that if you use plain HTTP requests your username and password...
Servlet Basic Authentication XML Configuration
This tutorial explains how to configure Servlet Basic Authentication XML configuration. If you are planning on using basic authentication you must be aware that if you use plain HTTP requests your username and password...
How to Write CSV File with Super CSV and CsvBeanWriter
Writing Java Objects to a CSV File using Super CSV Library is straightforward. It has a Clear and flexible API to read and write every type of object you want to and from a...
How to read CSV File using Super Csv with CsvBeanReader
A CSV (Comma Sepearted Value) file is a text file that has a header with matching values. CSV Files can have different delimiters. With SuperCsv Reading CSV files is straightforward. This open source library...
How to properly declare a field as deprecated in Java
Deprecated? Deprecated means that a class or method is no longer important, and will be suspended from the API. A class or method can evolve during its lifetime, methods signature change, new ones are...
Generic Object toString method using reflections in Java
Here is an example of a generic object toString method using reflections in java. I recently was working on a project where we had to log every transaction to act as an audit. We...
How to Calculate File Checksum MD5, SHA in Java
A checksum is used to ensure the integrity of a file after it has been transmitted from one storage device to another. It is a way to ensure that the transmitted file is exactly...
How to Censor/Pixelate in Photoshop
Sometimes you need to pixelate a face (or other parts of the human body) and objects, mostly for ethical and privacy reasons. Whether the censoring technique is used to blur out the features (facial...
JSF Validate Length Input Field Example
This tutorial shows how to use f:validateLenght JSF Validate Length Input Field validate. This validator validates if an input field has the specified length. This element takes two attributes minimum and maximum to configure...