Hi All, In HumanTask implementation, we need to display the task's input message and construct the task's output based on data captured from the user who completes the task. For this purpose we thought of using JSP files to display the task input message and constructing the task output (both are XML messages). JSP files should be implemented by the user who implements the task. The resulting human task package structure would be like in [1]
As of now we have the Carbon support of including external JSPs. But the problem arises when there are JAR files in the lib folder. (This is required as we need to enable the users to construct the task output message by using generated code rather than creating the output element manually.) Currently there's no mechanism to load these jar files from the lib folder. Sameera is looking into a way of supporting this in Carbon. At the Human Task architecture review, Srinath gave an alternative to this approach. That is to create a separate WAR file out of the JSP files and the lib folder and deploy it as a war . In this approach we include 2 links(for input and output) to the JSPs in the web app, at the task display page. But with this approach we need to do the task completion at the deployed web app. As the operations happen at 2 different places we do not have a way of managing authentication. Your input about these two approaches as well as any other ideas are appreciated. [1] https://docs.google.com/a/wso2.com/drawings/d/1ieqf9sBHVH1gPHX5B_ZlUTCRvVNT8Tw20L42M1Kqnzc/edit?hl=en_US Regards, SanjayaV -- Sanjaya Vithanagama Senior Software Engineer WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 71 342 2881
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
