Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 10. Using Flex, Spring, and Hibe... > Configuring the Application

10.2. Configuring the Application

Before we start writing the business logic, we can start to get familiar with the project, configuring all XML and properties configuration files. First, we have to provide the application with a datasource that will be used by Hibernate to map the database tables with the Java persisted objects.

The datasource has been already set up by the archetype in the file called applicationContext-resources.xml located into /src/main/resources/. If you open this file, you'll notice a bean with id=dataSource as follows:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial