• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Session in JSF

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how can i work with sessions in JSF... i use JSF, Session Facade, Entity bean.
Am i need use Transfer object tecnology?
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think there may be some confusion here about which type of "session" you're referring to.

JSF works with J2EE 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 EJB Session Beans.

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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic