[jboss-user] [jBPM] - Jpdl deployment internals in jbpm4.4

Samrat Roy do-not-reply at jboss.com
Tue May 10 04:36:40 EDT 2011


Samrat Roy [http://community.jboss.org/people/whizkid.samrat] created the discussion

"Jpdl deployment internals in jbpm4.4"

To view the discussion, visit: http://community.jboss.org/message/604385#604385

--------------------------------------------------------------
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..
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/604385#604385]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110510/6d18c06f/attachment.html 


More information about the jboss-user mailing list