]
David Lloyd reassigned WFLY-4257:
---------------------------------
Assignee: Flavia Rainone
EJB: Modify service granularity
-------------------------------
Key: WFLY-4257
URL:
https://issues.jboss.org/browse/WFLY-4257
Project: WildFly
Issue Type: Task
Components: EE, EJB
Reporter: David Lloyd
Assignee: Flavia Rainone
This actually applies to components in general.
The granularity of EJB services is more fine-grained than is necessary. There is
essentially a lock-step startup requirement within an application module no matter what,
so it doesn't make sense to have services for every EJB; instead there could be one
all-EJBs service chain, with aliases to satisfy external dependencies if needed, and that
one service chain could internally perform all startup tasks concurrently. This should be
much more scalable since the dependency graph of many-EJB deployments currently has a
substantial overhead. It may also facilitate simpler embeddability.