[
https://jira.jboss.org/browse/WELD-558?page=com.atlassian.jira.plugin.sys...
]
Martin Gencur commented on WELD-558:
------------------------------------
I can confirm that this problem exists on GlassFish 3.0.1 (WELD 1.0.1 SP3). I tested this
on ubuntu 10.04. I had to fix the application and will attach the one which works just
fine. I tested this also with JBossAS 6 CR1 (with WELD-000900 1.1.0 (2010-11-26 10:19))
and it's working fine and the duration between sending the request and receiving a
response remains the same and doesn't increase. I also tested this with older version
of GlassFish v3 and it worked fine as well. Furthemore, there is no RequestScoped bean in
the testing application. There are only beans with pseudo-scope @Dependent. I also tried
to test this with GlassFish 3.1 build b31, however I got an exception which I will try to
overcome on monday. Then we will know more. I wasn't successfull with trying this on
JBossAS 6 updated with weld 1.0.1.sp3 since I got compilation error in the weld and
couldn't have updated my jbossAS.
Performance Problem while using ApplicationScoped and/or
SessionScoped Component in RequestScoped Bean
------------------------------------------------------------------------------------------------------
Key: WELD-558
URL:
https://jira.jboss.org/browse/WELD-558
Project: Weld
Issue Type: Bug
Components: Scopes & Contexts
Affects Versions: 1.0.1.Final
Environment: Windows XP 32bit / Ubuntu 10.04
GlassFish Server Open Source Edition 3.0.1 (build 22)
WELD-000900 1.0.1 (SP3)
Reporter: Markus Weiss
Labels: performance, weld
Fix For: 1.1.0.CR1
Attachments: cditestproject.zip
If I inject a SessionScoped or ApplicationScoped base class in a RequestScoped
ManagedBean and make heave use of the injected resources the page load time increases
every time I reload the page. I have provided an example project which reproduces this
performance problem. Just deploy the little webapp in GlassFish and reload the list page
for some times and you can see the load time increase in the log file.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira