Normally, everything might be in one folder (fat jar):
Engine vs. Application
<aside> 💡
No need rewrite Windows every time you install a new app; just plug the app into the OS.
</aside>
Upgradability
Save Resource, Fast
Team Efficiency
[ code folder ]
↓ build
.jar modules
↓ deploy
[ engine folder ]
↓
runs your portal
Activate the engine (with cert)
Put the cert into /deploy:
activation-key-xxx.xml → liferay/deploy/
Engine:
reads → activates DXP features