From Alfresco's perspective the JBPM engine is a black box.
However If you look into the JBPM tables within the alfresco database you will be able to see that each process definition is put into the database and versioned. Tasks refer to the process and version.