0 Replies Latest reply on May 10, 2011 4:36 AM by whizkid.samrat

    Jpdl deployment internals in jbpm4.4

    whizkid.samrat

      Hi All,

       

      I have a question regarding how the jpdls are deployed using repository service. I know the api methods; what I am trying to ask are the internals.

       

      1. when I say .. repositoryService.createDeployment().addResourceFromClasspath(jpdl).addResourceFromClasspath(pngPath).deploy();

         how does the api go about deploying it ? are the jpdl / jpdl locations kept in the memory , or are they uploaded to the attached database ? if they are uploaded to a database , I ask the table name and the column name of the table.

       

      2. I ask this because I have noticed deploying a jpdl resource takes quite a bit of time , so idealy ,  I would like to deploy the jpdls only if the resource has changed , but if the jpdls are kept in the memory somewhere in a hashmap or so..  , this would mean I will have to deploy them after every server re-start.

       

       

      I did check the java file written by tom bayens.. org.jbpm.pvm.internal.repository.RepositoryCacheImpl this suggests that the jpdls are kept in the memory ..

       

       

      I need an insight .. please help..