A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Session in JSF
Joined: Jun 07, 2011
Jun 17, 2011 01:17:26
how can i work with sessions in
... i use JSF, Session Facade, Entity bean.
Am i need use Transfer object tecnology?
Joined: Jun 25, 2001
Jun 17, 2011 06:33:11
I think there may be some confusion here about which type of "session" you're referring to.
JSF works with
HttpSessions seamlessly. It will create sessions as needed and store objects as session attributes using the Managed Bean capabilities of JSF.
However, it sounds like you are (also?) referring to
JSF has no built-in persistence support, so the persistence code in your JSF app is up to you and would be coded in the same way as non-JSF persistence code.
DTO's are pretty much obsolete in EJB3, since the actual entity objects can be used directly in non-persistence code, but that's EJB, not JSF.
An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Session in JSF
How to get session scope backbean
confirm of h:commandLink
difference between jsf beans and ejb
Can we Access FacesContext outside FacesServlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015