Rectangle 27 1

Which Spring MVC XML or Java based configuration is recommended?

In case of error in XML you will get exception with stacktrace. In most of cases it is enough.

Is doable completely by Java config or I have to mix up both Java and XML?

Startup time is not important for performance. Runtime performance is same.

What is is never / latest XML or Java config ?

You can avoid using XML in latest versions of spring (i.e. 4 and later)