O'Reilly logo

Activiti 5.x Business Process Management Beginner's Guide by Irshad Mansuri, Dr. Zakir Laliwala

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – configuring a database

In the previous chapter, we saw how to set up a production database using the db.properties file. Here, we will see how to set up a database using Spring.

To configure a database, we have to define the following properties in the datasource bean:

  • jdbcDriver: This property defines a driver name for a particular database
  • jdbcURL: This property mentions the JDBC URL of the database
  • username: This property defines the username to connect to the database
  • password: This property defines the password to connect to the database

Perform the following steps to configure a database:

  1. Create a database named activiti in MySql.
  2. Open the activiti-standalone-context.xml file from apache-tomcat-7.0.34\webapps\activiti-explorer\WEB-INF ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required