<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    jbpm5 integrtation through api
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/hmesha">Hany Mesha</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/575471#575471">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi all,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>I have an application that is used to interact with jBPM4.3 through the api similar to the following </span><a class="jive-link-external-small" href="http://code.google.com/p/wdeacn/source/browse/trunk/workflow/src/jbpm/Jbpm.java?r=5" target="_blank">http://code.google.com/p/wdeacn/source/browse/trunk/workflow/src/jbpm/Jbpm.java?r=5</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Now I'm moving to implement the same thing using jBPM5 but I'm not getting the hang of where the entry points to jBPM5 that can achieve the same level of control to do the following on demand. Preferable to connect to the jbpm5 service hosted on a remote jboss server :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>1. Instantiate the services instances through custom configuration</p><p>2. Deploy bpmn2 based process definitions to the service</p><p>3. Create Process Instances</p><p>4. Start and manage the execution of those instances</p><p>5. Manage tasks with actors exist in ldap based directory service like AD</p><p>6. Query the service for active instances,...</p><p>7. Get actions available on a particular instance at a particular state</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>I started to try implementing similar controller by extending jbpm5 console integration package </span><a class="jive-link-external-small" href="https://github.com/krisv/jbpm/tree/master/jbpm-gwt/jbpm-gwt-console/src/main/java/org/jbpm/integration/console" target="_blank">https://github.com/krisv/jbpm/tree/master/jbpm-gwt/jbpm-gwt-console/src/main/java/org/jbpm/integration/console</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>My questions are:</p><p>1. Am I going down the right track?</p><p>2. Is there a better way to integrate with jBPM5</p><p>3. Is there a tutorial that can point me in the right direction?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I understand that my questions might be too early as to where jBPM5 development is at however any pointer would be greatly appreicate it.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thanks in advance for all your help.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Hany Mesha</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/575471#575471">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>