Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Grant Young   on Sep 18 In Java Category.

  
Question Answered By: Tracy Myers   on Sep 18

The problem  is so simple, I told you in my first email, you have bound your
Ice faces UI components directly to your JPA entities, I guess you have used a stateless http servlets or ejb session  bean, that's the reason you loose and detach the entities from persistence layer (entity manager).

There are three popular solutions for that:
1. The most popular is using DTO pattern, so you get rid of everything related to the persistence layer, but you duplicate your value object classes.
2. Using Hibernate remote lazy loading
3. Using JBoss SEAM patterns for developing RAD web  applications

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Hibernate+icefaces Or get search suggestion and latest updates.