----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi all,
We have a project that uses applet<->ApacheJserv<->EJB (J2EE).
The applet and servlet communicates via objects(POST). And the servlet
somehow manupulates these objects and passes the new objects to EJBs for
database update. I use ObjectOutputStream and  ObjectInputStream to send and
get objects.
Now the problem is this: The changes i want does not work till I get the
response object from the servlet on the client side applet.
That is to say if i dont get the response object nothing is done on the ejb.
pseudo code
//servlet
comingObject=getObject();
goingObject=myEjb(comingObject);
sendObject(goingObject);
//applet
sendObject(data);
dataReturned=getObject();// if I omit this line nothing changes on the
database
                //side handled by the myEJB.

Is there something wrong in my servlet code? Or is there a caching mechanism
that prevents servlet from running? There is no problem if
i call getObject() but i just wonder what happens behind the scenes.
Thanks anyway.

Devrim Baris Acar



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to