This has happeened with me twice now. I was informed that the written test will be on basic Java only and it had more than 50% JSP, EJB and other stuff. Is it very common? When you say you know Java, do they assume that you know EJB and all that J2EE stuff? - Manish
Yes,Many companies hiring java programmers especially in India assume you know core java/EJB/JSP/Servlets/Swing/struts/xyz IDE/RDBMS in addition with Design patterns. .As java has become 'quite old' of 6/7 years,they may be finding people with required skills.
Basic Java without J2EE isn't worth much to most companies. Tests will generally have stuff beyond basic Java - that way the company knows more about the knowledge base of each candidate. Realize they will look into the highest grades, not just the ones that scored an A. If no one else knew the stuff, it doesn't hurt you any.
I am very much aware of the fact that J2EE is in great demand and core Java is almost out. What annoys though is the fact that when they explicitly say that test would be on basic Java, how and why would it include these things? Esp since I do not even put EJB on my resume! The HR should explicitly mention that test would be on Java, Servlets, JSP , EJB etc. So that you at least prepeare accordingly. - Manish