When would I need to modularize my application?

If the application is a Type 2 or Type 3 application, you may need to split the application into smaller applications and deploy them separately depending on the actual migration requirements.