[Remoting] - How to make asynchronous calls using Transporter?
by vivash
There is an example on one-way invocation (section 10.3) and callbacks (section 10.5), but both use the InvocationHandler to get the request. I wanted to find out if there is a similar way to do asynchronous and callbacks using transporter when I am using simple POJOs.
Basically, I would like to make a method call on a POJO and then return immediately. The server should be able to callback the Client once the results are ready. We need this in case when large reports are run,
1) Client calls a method passing a set of parameters
2) Server receives the request and spawns a thread. It immediately returns back to the Client so the Client is free to do other stuff.
3) When the request has been completed (report generated), the server will callback Client with the response.
4) Client gets the response and renders the report.
Any examples would be great.
Thanks.
-vivek
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967104#3967104
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967104
19 years, 8 months
[JBoss jBPM] - Re: Anyone running jBPM on Oralce AS 10.1.2 ?
by sobedrinker
Found it!!!
It is in the task.jsp file.
Their are JSF tags inside of JSTL logic c:choose.
| <c:choose>
| <c:when test="${!empty taskBean.availableTransitions}">
| Task Actions:
| <c:forEach var="availableTransition" items="${taskBean.availableTransitions}">
| <c:set var="availableTransition" scope="request" value="${availableTransition}" />
| <h:commandButton id="transitionButton" action="#{taskBean.saveAndClose}"
| value="#{availableTransition.name}" />
| </c:forEach>
| </c:when>
| <c:otherwise>
| <h:commandButton id="transitionButton"
| action="#{taskBean.saveAndClose}" value="Save and Close Task" />
| </c:otherwise>
| </c:choose>
|
I commented this block of code out and the page rendered fine.
I'll make some changes and try not to use the JSTL tags and post back the results!
Thanks,
Chad
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967099#3967099
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967099
19 years, 8 months