In java ee 7 it is recommended to use jsf as default presentation technology. JSP is deprecated as they say.
So to start with jsf i found that it uses managedbean which can handle events and provides data to views. It also manages pages flow.
So my questions are:
- is it is really recommended to use jsf model in java ee than what is the use of servlet?
As per my understanding managedbean extends servlet capability at some extent.
- If i wanted to use servlet in jsf based app how can i?
Can i use request and response objects in JSF managed bean? I would like to manually send response based on request and response cycle as Servlet does.