Rich Faces consists of some really useful components that can be used to make as they say  some very "rich web applications". In this tutorial i will be explaining about how to use richfaces file upload component to store a file into the database and then retrieve the file using a Jersey restful web service. The file upload component of rich faces supports two modes of uploading. To store the uploaded file in a temporary directory or To keep an in memory representation of it. I will be explaining about how to use the latter one the reason...