Атрибуты тега beans, используемые в моей программе:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd">
Почему и что определяет каждый из атрибутов?
Это объявления пространств имен. Каждый элемент в xml идеально связан с конкретной схемой. Эти атрибуты необходимы, если вы хотите использовать несколько функций Spring, таких как AOP, транзакции и т.д.
Пожалуйста, прочитайте здесь для XML-схемы и пространств имен