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.

Post a Comment

Featured Post

Modern tar recognizes the file format

One command works with any supported compression method. tar xf archive.tar.xz tar xf archive.tar.gz tar xf archive.tar etc. ...