[
https://issues.jboss.org/browse/WFLY-1081?page=com.atlassian.jira.plugin....
]
Eduardo Martins updated WFLY-1081:
----------------------------------
Attachment: resource-injection-tests.zip
The Servlet + EJBs app used to trial performance.
Upon receiving a get, the servlet does a jndi lookup for ejb1, which is then injected with
ten ejb2s, each is injected with ten ejb3s, and so on. The strong number of resource
injections should minimize the overhead of the first and raw jndi lookup.
My results, when using or not the changes in the PR, started around the 100k nanos and
then went down till around 10k nanos.
LinkRef Injection Failure
-------------------------
Key: WFLY-1081
URL:
https://issues.jboss.org/browse/WFLY-1081
Project: WildFly
Issue Type: Feature Request
Components: Naming
Reporter: Eduardo Martins
Assignee: Eduardo Martins
Attachments: resource-injection-tests.zip
Since there is no jndi lookup involved in @Resource injection, an exception is thrown due
to wrong injection target type (expects LinkRef).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira