61. More exciting is the automatic proxy way to the overall configuration of the various decentralized classes in the method of things properties, combined with the use of Defaultadvisorautoproxycreator, Transactionattributesourceadvisor and Transactioninterceptor (I need to make it clear) (P181)
62. When using an automatic proxy, Methodmaptransationattributesource can be used a lot of, its Methodmap attribute can specify which class of which method, you can use the wildcard character (P182)
Seventh chapter. Access to Enterprise Services
63. For Jndiobjectfactorybean Lookup Jndi resource not mentioned, how to set the Jndienvironment property, if it is run in the Java EE container, there is nothing wrong, but not in the case of a separate application run, the following operation needs to be added outside the container Jndienvironment configuration, specifying implementation class, URL, etc. (P217)
<property name= "Jndienvironment" >
<props>
<prop
key= "Java.naming.factory.initial" >
Org.apache.naming.java.javaURLContextFactory
</prop>
<prop
key= "java.naming.factory.url.pkgs" >
Org.apache.naming
</prop>
</props>
</property>
<property
name= "Jndienvironment" >
<props>
<prop
key= "Java.naming.factory.initial" >
Org.apache.naming.java.javaURLContextFactory
</prop>
<prop
key= "java.naming.factory.url.pkgs" >
Org.apache.naming
</prop>
</props>
</property>