Citi interview question

Java springs and web logic