<!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;">
    Re: Alternatives to the jBPM web console
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/melc">Chris Melas</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/640598#640598">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,</p><p>We have created an alternative to gwt-console and are using only the server part gwt-console-server at the moment via its REST API, exactly as the existing gwt-console client communicates. That is a quick solution, alternatively you can also write your own gwt-console-server or as you already mentioned embed everything in one web application.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>1. I think the console that comes shipped in the installation is mostly great for testing purposes . For a real application you will probably need to modify layout/style and captions, display extra information (i.e. from your business domain) or remove some, maybe i18n etc. The communication with the process engine is done either by using the existing gwt-console-server or writing your own module using the jbpm5 engine.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>2. Yes you can certainly have everything in one web app, however by having the logic on a server component you can actually retrieve information and interact with your process engine from other systems&#160; as well. For example you may want another app's screen to show the tasks that are pending for a specific user, nothing else....Of course you could publish web services from your web app but that is less loose coupled and not modular. A good example is gwt-console/gwt-console-sever.... we are able to create a different console client by reusing the server component. Also the console client is being used by other jboss modules of other frameworks (server components) i.e. Riftsaw, DroolsFlow</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>3. I would advice to simply write your own integration layer that basicly handles the communication with the REST API of the gwt-console-server</p><p>you can find info regarding the available methods from your jbpm5 installation&#160;&#160; <a class="jive-link-external-small" href="http://10.1.3.26:8082/gwt-console-server/rs/server/resources">http://yourJBPMServer/gwt-console-server/rs/server/resources</a>&#160;&#160; </p><p>It gives you flexibility on the way you delegate control to the server and how you retrieve data. However the code of the console is here, <a class="jive-link-external-small" href="https://github.com/heiko-braun/bpm-console">https://github.com/heiko-braun/bpm-console</a> as well as docs.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>4. As bpmn2user mentioned there many design options so It really depends on the imlementation you choose... .whether you use directly the process core engine that you keep in your application or with a server component that handles a process engine i.e. the existing gwt-console-server</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/640598#640598">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>