[jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft

2009-10-29 Thread jbarrez
Since jBPM is a plain jar, you an do whatever you want... Also see my post 
http://www.jorambarrez.be/blog/2009/09/13/jbpm_architectural/

The easiest for Flex development, is wrapping jBPM into a service which 
translates input/output to xml... at least that was 2 years ago when I ded some 
Flexing ;-)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262928#4262928

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262928
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft

2009-10-23 Thread noicangi
hi everyone, finally i decided myself to use jbpm3.2.6SP1 with mysql 5 and 
eclipse galileo + JBoss tools 3.1 m3.

My question is i don't know how to integrate jbpm to a flex aplication, i 
understand i need to "send" a signal from a task or state node to flex...and 
then "receive" the complete signal to continue though my process diagram 
definition. 

how can i do that? i think i need to modify the simple process.java filei'm 
correct? or i'm doing all wrong.

Thanks...

n.Oicangi

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261860#4261860

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261860
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft

2009-10-09 Thread kukeltje
use code tags (see preview button)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259700#4259700

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259700
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft

2009-10-08 Thread mesa
jbpm cfg is not correctly show in previous post:


service name="jcr"
factory
bean  class="org.jbpm.jcr.jackrabbit.JackrabbitJcrServiceFactory"
field name="configuration" classpath:repository.xml
field name="directory" /home/mayank/jackrabbit
bean
factory
service 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259525#4259525

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259525
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft

2009-10-08 Thread mesa
i have done few things till now and will need bit help from kukeltje :)

i have integrated jcrTemplate using spring  and  now i am able to play with 
repository,able to add node and all.
 according to jbpm document i can add jcrnode as process variable.
now issue will come up once i try to retrieve store jcrNode from process 
variable ---

getObject() method is jcrNodeInstance.class says that jbpm will try to get 
configured services in its context and will try to find a jcrService and once 
service instance is found then few matching things will be performed and object 
can be retrieved.

Main problem left down is configuring a JCR Service is JBPMContext :

1) i tried extending jbpmContext and tried to add my service (Extending 
JcrService)

 @Override
protected JbpmContext getContext() {
JbpmContext context = super.getContext();
context.getServices().getPersistenceService();

context.getServices().setAuthenticationService(authenticationService);
return context;
}
here i do not see anyway to attach a jcrService instance.

2) i then went to figure out a way in jbpm.cfg.xml . i checked that 
JackRabbitServiceFactory requires a configuration i think it is 
repository.xml and directory---may be home dir to create a service.

i am unable to configure service in jbpm.cfg.xml.
i added the service like this :::

 




   

  classpath:repository.xml
  /home/mayank/jackrabbit

   
   
  

i get :: unable to Parse jbpm.cfg.xml


Code of service factory says ::
protected synchronized Repository getRepository() {
if (repository==null) {
  try {
InputStream stream = ClassLoaderUtil.getStream(configuration);
RepositoryConfig config = RepositoryConfig.create(stream, directory);
repository = RepositoryImpl.create(config);
  } catch (Exception e) {
// NOTE that Error's are not caught because that might halt the JVM and 
mask the original Error.
throw new JbpmException("couldn't create new jackrabbit repository with 
configResource '"+configuration+"' and directory '"+directory+"'", e);
  }
}
return repository;
  }




can someone help on this .

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259522#4259522

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259522
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft

2009-10-08 Thread kukeltje
I'm well aware that Document workflow is a specific case of workflow, but 
Alfresco has some nice api's and other functionality on top of jcr that could 
be called from jBPM. 

Mappings like you describe will most likely always be needed unless you want 
jcr to be tightly integrated which I would not do. Most is not different then 
from having a normal external (to jBPM) datamodel

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259467#4259467

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259467
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft

2009-10-08 Thread mesa
@kukeltje i am not using alfresco because in view of my problem--- business 
process if completely different from Document workflow. in my case documents 
can or can not be part of workflow , i think alfresco supports documents 
workflow , process flow sits on top of jcr.
@noicangi , i think we both are working on the same problem set. i am using 
struts2,spring,mysql and jbpm3.3GA and tryint to integrate Jackrabbit with it.

my motivation comes down from the fact that document management solution is 
tested wih jackrabbit.
@noicangi i am planning to configure service within jbpm context , for example 
jcr service
and if i am able to get an handle and do all this then perform repository 
operation then there could be a way forward.
Other option is to use spring module , that is what i have done , but in this 
case keping a link between process flow and jcr node will come down to a manual 
db table mapping.

if anyone can suggest something else ..please do the needful

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259287#4259287

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259287
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft

2009-10-07 Thread Bouiaw
Even if the project is currently changing (no more Flex for Front layer), we 
could find some related topics on Igenko http://code.google.com/p/igenko/.

I think a nice way to integrate JCR and JBPM is to use ORM framwork like JCROM 
for JCR side. I don't know deeply JBPM4 so it may bring new solutions that were 
not available last year with JBPM3 ...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259275#4259275

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259275
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft

2009-10-07 Thread noicangi
i'm investigating something like this, my idea is to integrate my jpdl model 
(jbpm4, jb5, mysql, eclipse galileo) with some flex web pages.

If Anyone is trying this or has ideas it would be helpfull.

thanks in advance,

n.Oicangi

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259255#4259255

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259255
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft

2009-10-07 Thread kukeltje
Why not look at something like Alfresco? It uses jBPM, JCR, Spring  etc...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259219#4259219

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259219
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft

2009-10-07 Thread mesa
i too want to do the same thing. my requirement is that 
1) a user logs in and uploads few documents , i create a process instance and 
saves the documents in jcr repository.
2) over the lifecycle of process old documents will be refered and new will be 
added with different set of properties.
3) Main concern is able to track all documents associated with a 
process,throughout the life cycle of process

my design philosphy is :

1) i can have a jackrabbit remote or local repository , for each customer i 
will create a folder(jcr node) ,unique to his name or having a unique key.
2) over the lifecycle of process all docs will be added beneath this unique key 
folder,for a process.
3) i can store this node as process variable within jbpm so that if any 
document is required for a process, i have a direct reference to it in jbpm.

Please suggest if any there is scope for improvement or suggestions...

Technical challenge is ::

1) what is good way to integrate JCR into jbpm

a) i though of writing my own service interface that will interact with JCR 
remote repository and inject them into application through spring and perform 
document
management completely outside JBPM scope.
b) OR i should use JBPM Context service support to integrate Jackrabbit 
repository.
problem is that i have not seen any example over the net , on how it can be 
done.
 no information is available on integrating  remoteJCR repository into jbpm

my question is that can i write my own service classes , offering a way into 
JCR repositoryand can inject them into jbpm context as JCR service.

Can someone please suggest me how this can be done ?




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259127#4259127

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259127
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user