Hi Lvcster,
just wrap it with a Stateful Session Bean and then store it. Please see:
http://www.adam-bien.com/roller/abien/entry/are_plain_old_webcontainers_still
and follow the links to Sun Blueprint from this post as well,
regards,
adam
lvcster schrieb:
> Hi guys,
> Could anyone help me. I am trying to create an EntityManager and Store it in
> the session so that every request will have it own EntityManager session id.
> I know how to create the 'EM', but have no clue how to store it in the
> session.
>
> Your help wil highly be appreciated.
>
> lvcster.
>
--
Consultant, Author, Java Champion
Homepage: www.adam-bien.com
Weblog: blog.adam-bien.com
eMail: abien_at_adam-bien.com
Mobile: 0049(0)170 280 3144
Books: Enterprise Architekturen (ISBN: 393504299X),
Java EE 5 Architekturen (ISBN: 3939084247),
J2EE Patterns, J2EE Hotspots, Enterprise Frameworks and Struts