They seen really a lot alike.
I know one is a View and one is a EJB but the behavior is almost identical as far as I can see.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think you are confused somewhere. There isn’t any annotation called
@SessionBeanin either JSF 2.1 or EJB 3.1.There is an interface by that name, but it’s old, deprecated and you should forget it ever existed.
If you meant a
@SessionScoped@ManagedBeanvs a@Statefulbean, then the link CoolBeans posted should provide some context.