This sample directory contains examples of integrating Beehive Controls with the Spring Framework. It uses the bean definition, instantiation, and configuration services of Spring to use JavaBeans that have been authored as Controls. DIRECTORIES: * external - contains the Spring jar file used by the sample. This is the full Spring jar from the 1.1.5 distribution. This sample has also been tested with the 1.2 Spring JAR. * integration - contains the implementation of the ControlFactory SPI interface for controls, that will use Spring to instantiate and configure Controls. * web - sample webapp that uses Spring and Controls together. The sample includes a basic Control type with properties modeling a Person that can nested children, two corresponding implementations (AdultImpl/MinorImpl), and provides a sample Spring bean definition (application.xml) and web application (web.xml) configuration files that show how configure Spring/Controls to be used together. A simple JSP page (familyTree.jsp) demonstrates how the defined beans can be instantiated and used. BUILDING: The Spring integration jar can be built using the following commands: cd integration ant build The sample webapp can be built and deployed to a running Tomcat instance using: cd web/WEB-INF/src ant build ant deploy Once deployed, the demo JSP page can be accessed at: /springControls/familyTree.jsp