I hava a question about Spring 4.0 (namely 4.0.6 or 4.1.0). I was reading documentation for spring, but it seems that is not updated to version 4 of spring. I was wondering if configuration using annotation only is possible? I read in docs that some features are not possible, and the best solution is to keep xml based configuration and if needed, add to the container xml config file.
I don't see any profit in having configuration in xml and in java files. If I would have to choose mixed configuration and XML only configuration, I would choose XML only configuration, but if I will have to choose Java based config and XML based config, I would choose java based config. But the question is, are they the same? Do JavaConfig and XML Config have the same possibilities?
No comments:
Post a Comment