Question d’entretien chez Nordnet Bank

Technical: Explain your thought process when organizing your code into java packages? What should be in the controller/service/database layers?