1. What is deadlock? Give exapmle or scenario 2. What is the difference between SOAP and REST? 3. What is the defference between NoSql and relational DB? 4. What is Optional in Java 8? 5.What is the relation between hashCode() and equals()? 6.Something about mocks. 7.Something about Spring framework. 8.Write in JSON format some given class with fields. 9. Write REST API to add/update this class. 10. How do you evaluate perfomance of SQL query? How it can be improved? 11. What is important when implementing and using cache? 12. What does servlet API provide to store data between sessions? 13. What is dependency injection? 14. What is the difference between queue and topic regarding messaging systems?