I am creating an activation, triggered after clicking an URL in an e-mail from registration. I would like to execute my bean Activate.java immediately, instead of creating an xhtml page with something like #{validate}.
I do not need any xhtml file because the user will be redirected to login. What is the best way of achieving this?
Note, I am using JSF 2.0.