users@glassfish.java.net

Re: _at_PostConstruct TransactionRequiredException

From: <glassfish_at_javadesktop.org>
Date: Wed, 03 Oct 2007 13:02:25 PDT

Thanks for your answer!

What does "lazy init" mean, is it a bean function called separately by the client after bean creation (public void init())? I' doing that now, but I thought it would be more "beautiful" doing initializer tasks in @PostContruct.

So a user transaction may work? Can I use it in @PostConstruct while I use container-managed transaction in other bean members? (is it possible to use both in an EJB?)

Thanx!
MB
[Message sent by forum member 'mbazs123' (mbazs123)]

http://forums.java.net/jive/thread.jspa?messageID=238354