TCS Interview Question

1. where the embed server configuration done in spring boot 2. difference between rest controller and controller