All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xmlactions.web.package-info-spring-config Maven / Gradle / Ivy

package org.xmlactions.web;

/**
 
 \page org_xmlactons_web_server_spring_configuration Web Server Spring Configuration
 
 \tableofcontents
 
 \section axel_web_server_spring_configuration AXEL Web Server Spring Configuration
 
 See \ref org_xmlactons_web_xml_configuration to configure spring in web.xml. 

 The spring configuration is loaded from an xml file.  In this documentation the file has been set to 
 classpath:/config/spring/axel-spring-pager-web-startup.xml but it can be anywhere or any name that suits your project.
 The file name is set in the web.xml see \ref org_xmlactons_web_xml_configuration for instructions on setting the spring configuration file.
 
  The following is an example of a Spring configuration used by AXEL.  While the example is focused specifically on AXEL related items, anything
  that you can configure in Spring is available in AXEL. 
  
  \code{.xml}
 
	
	        
	      
	   
			
			
			
			
				
					
				
			
	      
			
				
					
            		
				
			
	
			
				
					
					
				
			
		
	   
		
			
		

	   
		
			
				
			
		
	
		
			
				
			
		
	
		
			
		
		
		
			
			
			
			
		
	
	

 \endcode



	Explanation of Spring configuration used by AXEL:
 	
bean-id description

pager.execContext This is the primary bean that contains the static data for the application. This bean MUST be configured for AXEL, if it is not configured AXEL will not start.
constructor-arg 1 This is a list of one or more actions maps that are used by the project
constructor-arg 2 This is a list of one or more local maps that are used by the project
constructor-arg 3 This is a list of one or more themes that are used by the project
application.xml This is a list of properties loaded from an xml file. They get set in the pager.execContext described above.
constructor-arg The location and name of the xml configuration file
blackTheme
iceTheme
These are themes setup from a properties file. They get set in the pager.execContext described above.
constructor-arg The location and name of the theme properties file
resourceDS This is a JNDI connection to a database that has been configured on the Web Server.
property name="dataSourceReferenceName" A reference to the jndi resource named jdbc/DatabaseDS
resourceLocalDS Sets up a DataSource passing the connection parameters.
property name="driver" A reference to the database driver to use for the connection oracle.jdbc.driver.OracleDriver
property name="url" The database connection jdbc:mysql://localhost:3306/mydb
property name="username" The connection username
property name="password" The connection password
*/




© 2015 - 2025 Weber Informatics LLC | Privacy Policy