Java Mailing List Archive

http://www.junlu.com/

Home » users.myfaces »

MyFaces CODI JPA - un-scoped usage :)

Manuel Hartl

2012-02-10

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
manually)
or
- 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?

Regards,
  Manuel.

--
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)
Internet: www.flexsecure.de

Geschäftsführer:
Erwin Stallenberger, Markus Ruppert

Amtsgericht Darmstadt HRB 8036
Umsatzsteuernummer: DE 214745269

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