I got it to work using a thread. I'm not sure why my thread doesn't die, but it doesn't.
In DatabasePortlet .java:
private ThreadBean myThreadBean;
myThreadBean = new ThreadBean();
new Thread( myThreadBean ).start();
In ThreadBean.java :
public void run() {
try {
setStillAlive(1 );
setExitVal(1);
runScript();
setStillAlive(0 );...
User Profile
Collapse
-
Thank you for the tutorial. I did read it, but it uses BPEL which I cannot use (project restraint).Leave a comment:
-
Async Web Service - Oracle 10g JDeveloper
Hi All,
I have a JSR 168 portlet that I need to call a J2EE 1.4 JAX-RPC Web Service. I'm using Oracle 10g JDeveloper. (I don't have a choice about this). It works when I call the sync method, but it won't recognizine the async method.
I'm thinking I have to use the async method of the WS because the WS takes a while to do it's thing and return. If it doesn't take a while, everything works fine. If it does take a while,...
No activity results to display
Show More
Leave a comment: