- 
        1. Re: Normal-scoped beans and constructorswujek Jul 14, 2010 2:49 AM (in response to wujek)Does this mean nobody can answer this doubt? 
- 
        2. Re: Normal-scoped beans and constructorsandygibson.contact.andygibson.net Jul 16, 2010 12:43 PM (in response to wujek)It seems strange that the constructor would be called twice (in anything). Try printing out the toString() in the constructor to see if the two instances are the same. These aren't singletons, so it is possible that there could be multiple instances. The problem is that with a managed bean environment, bean construction is as much out of your hands as memory allocation is in a memory managed environment like java. Cheers, Andy Gibson 
- 
        3. Re: Normal-scoped beans and constructorsswd847 Jul 18, 2010 2:53 AM (in response to wujek)This is a JVM level restriction, however JVM's usually have a platform specific way of creating a bean without using the constructor. To enable this in weld put an empty file in META-INF/org.jboss.weld.enableUnsafeProxies and the constructor will not get called. You may need a more up to date version of weld though, as I am not sure when this was added. 
 
     
    