-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FISH-10286 Enhancement: Use <domain_dir>/lib/warlibs to enable fast devopment deployments #7097
base: main
Are you sure you want to change the base?
Conversation
@Pandrex247 This one should be ready to go as soon as it's dependent #7032 is merged |
229ffca
to
c9f272a
Compare
…I-enabled library JARs - correctly copy BDA sets for each war in EAR - Make WAR's CDI beans available in EAR-libs - read web-fragment.xml from EAR-libs - processing ear-lib manifest - de-duplicate BDAs in CDI processing by using LinkedHashSet intead of ArrayList - made some structures final (cleanup) - fixed ear and concurrent classloader leaks, including refactored reflection caching
…s=true is specified
@Pandrex247 this one is building a bit of a backlog now :) |
@lprimak We've recently been dealing with a number of high priority customer issues, internal targets, and attempting to catch up with and start contributing towards Jakarta EE 11 (particularly the Platform TCK and Jakarta Data). Your two PRs don't look quick to review (particularly the CDI in EARs one!), so have unfortunately kept not making the cut for inclusion in our sprints. I do keep mentioning them during backlog grooming though, particularly since they've been open for quite a while now. |
Thanks, the CDI-in-EAR one does the "heavy lift" to get things working for the other two performance PRs, unfortunately I couldn't make it any smaller :) |
Description
Developer can copy all their dependencies to
<domain_dir>/lib/warlibs/
and use no-dependency skinny-warfor developer deployments, significantly improving deployment times.
Able to deploy real applications in half a second on my machine that used to take 15+ seconds
Fixes #6405
Important info
This PR is based on #7032 until that gets merged.
Documentation updates
Applications need to be deployed with the following snippet to
asadmin
:--properties warlibs=true
to take advantage of shared WAR libraries. This is to prevent unnecessary loading of shared libraries with non-development applications, such as admin console or other applications that will fail if shared WAR libraries are loaded.Testing
Tested skinny WAR deployment