Announcement Announcement Module
No announcement yet.
Model + WebFlow Integration Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Model + WebFlow Integration

    Hi all,

    i think its a simple problem, but i don't know to solve it proper.

    I am searching for a solution to integrate two projects. The first one is a simple model where i have all my enities accessed with hibernate. Therefore i use the spring dao with the HibernateDaoSupport.

    The second project is a spring webflow jsf project. I used the hotel booking example as a template. My problem is that the project uses an entitymanager to acces the data in the same project.

    My aim is to uses my service classes of the model in the webflow project. Did i have to use the context directly in the webflow project? Or did i have use a factory to access the data?

    My fear is that the transaction management inside the flow did not work properly if i don't use the entitymanager.

    Ok to make it simple: Which is the best way to integrate a model inside a webflow project.

    Sorry for bad englisch and this stupid question