Basically idea was to deploy the war that does UI for human tasks as a
webapp and link to it rather than running it within carbon and dealing
with class loaders.
Problem is when we going to the UI that runs as a war, we need users
to automatically login and access the page if user has already logged
in to the carbon account.
--Srinath
On Tue, Jan 24, 2012 at 6:10 PM, Sanjaya Vithanagama sanja...@wso2.com wrote:
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
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
--
Srinath Perera, Ph.D.
Senior Software Architect, WSO2 Inc.
Visiting Faculty, University of Moratuwa
Member, Apache Software Foundation
Research Scientist, Lanka Software Foundation
Blog: http://srinathsview.blogspot.com/
Photos: http://www.flickr.com/photos/hemapani/
Phone: 0772360902
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev