Servlets are used for server side config and it keeps on server. But, Applets are used for client side coding and it runs on client browsers.