Java Mailing List Archive

Home » users.myfaces »

MyFaces CODI JPA - un-scoped usage :)

Manuel Hartl


Replies: Find Java Web Hosting

Author LoginPost Reply
Hi MyFaces CODI (JPA) Team,

currently you can only use Transaction when the RequestScope is active
(-> TransactionBeanStorage is a RequestScoped-Bean).

it would be nice, if i could use the EntityManager/@(protected)
threads, where no RequestScope is active, f.e. during
- ServletContextlistener (beans can be used my getting a bean reference
- when i use an ServletResponse-Object from a Thread that is not
associated to a Request (like using AsyncContext in some different
Thread, then the original one)

Are there any plans to support that?


Dipl. Inform. Manuel Hartl
Software Architect

FlexSecure-Logo   KobilGroup-Logo

FlexSecure GmbH
Industriestr. 12
D - 64297 Darmstadt
Tel: +49 (0) 6151 501 23-18
Fax: +49 (0) 6151 501 23-19

E-Mail: hartl@(protected)

Erwin Stallenberger, Markus Ruppert

Amtsgericht Darmstadt HRB 8036
Umsatzsteuernummer: DE 214745269

©2008 - Jax Systems, LLC, U.S.A.