Citi interview question

How to work with an EJB (create OR find)