But the framework calls our code. How? Because we write our code following some conventions dictated by the framework or we build our application components by extending or implementing the components already provided by the framework. e.g. Spring MVC, Laravel, Ruby on Rails. etc.