Spring configuration I know

*, spring is a lightweight background framework, with the influx of more excellent IT talents, spring is getting stronger and stronger

     

*, the spring management object life cycle I know

Spring is responsible for the life cycle of objects in the system. The implementation method is to configure the alias and path of the object in the default applicationcontext.xml (this xml can import other xml files to achieve sub-module statistics). If No bean named '*' is reported is defined means that either the class is not configured in your xml file, or the configuration is wrong

 

*, I know spring management hibernate

The way spring integrates hibernate is to add or introduce the configuration file of hibernate.xml to applicationcontext.xml.
The main ones are the configuration in sessionFactory such as:
<property name="mappingLocations">  
            <value>classpath:*.hbm.xml</value>  
</property>
If the named query not known is encountered, the configuration is lost.

 

*, I know spring management jbpm

How spring integrates jbpm: jbpm.cfg.xml should add a reference to the spring configuration file. In addition, the spring configuration file
Also add the configuration properties of jbpm's hibernate. For details, see:
http://blog.csdn.net/liujiahan629629/article/details/23299791

 

 *, spring's applicationcontext and bean objects

first step:
Spring's applicationContext.xml is placed under web-inf by default
Step 2:
The file introduced by applicationContext.xml can be freely specified to pay attention to whether there is /
third step:
The assembly path of the bean (only Id, class can be)

 

*, the path file of the FileSystemXmlApplicationContext of the spring configuration manual operation

It is recommended to write the full path of the physical path

 

-------------------------------------------------- --------Resources---------------------------------------- ----------------------

 

*, spring integration jbpm

http://blog.csdn.net/liujiahan629629/article/details/23299791

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326502354&siteId=291194637