I don't like Java a lot, but everybody's talking about it regarding XPages development - obviously clear, as it's based on it.
Just google for "xpages afraid java" - and you are toasted!
Some guys really encourage you to learn and DO it - so they did it to me. So heads up & happy coding!
p.s.: a reason for looking closer to java can be watched here: http://notesin9.com/index.php/2013/04/08/notesin9-106-intro-to-java-controller-classes/