Two rounds and they expected everything from me....Java, JSP, Servlets, Struts, Hibernate, XML, Ant, Validation Framework, JDBC, SQL and what else you can think of....Spring unhe nahin aati thi nahin to wo bhi hota discussion mein...
Questions
First Round-
1. In SQL, order by, joins, self join.
2. In Struts, life cycle, actionform, validate(), action mapping, validator framework, dyna form.
3. In JSP & Servlets, request processing, tlds, error page, implicit objects, pageContext, web folder structure,
4. In Java, io package classes, why to use bufferedreader and writer instead of streamreader writer, threads & synchronization, exception handling, collection, abstract classes and interfaces.
5. In Hibernate, which all file needs to be there, what are benefits of using it.
Second Round -
Scheduler, windows task scheduler, log4j (debugEnabled() method), custom exception (used to wrap exceptions), interfaces(DB 2 webservice), discussion on Americhoice application and its framework and some more.
for making a dictionary with word-meaning, how you will maintaing the data. (ANS - Map)
If I have to store two meaning for the same word, how I will do that. (ANS - for every key store arraylist of meanings).
Why not array. (ANS - array is of fixed lenght, restriction. ArrayList have in build method to operate on data, flexible.)
Use of properties file in servlets. We need to pass full path to load() method. getContextPath("\") - will give path of working dir and getContextPath("/WEB-INF") will give path upto webinf of application - use these.