Jul 31, 2017

The @Model annotation

The @Model annotation does 2 things:


  • it makes the object @RequestScoped, instead of @Dependent

  • it gives the object an EL name
So it's not intended to be used for entities, rather for things that contain application/business logic.