title: How to write this method which allows to update the article with the Java Server Faces JSF 2.2 Framework based on the MVC pattern?
body: <p>*Hi all!</p>
  <p>I am on a JSF project for stock and sales management based on the MVC pattern.</p>
  <p>I wanted to update the article ie the quantity in stock decreases by the quantity sold.</p>
  <p>To do this, I have the classes Article (idArt, designation, qte_stock), Sale (idVte, date), ArticleVente (idArtVte, unitprice, quantity, # idArt, # idVte) and in particular their controller and service (here it is acts of facade for example the case of the class Article, the service is ArticleFacade etc.)</p>
  <p>I need your help to do this!</p>
  <p>Thank you in advance!*</p>