I thought Callback is actually asynchronous method call. because client call the method and then continue and then server does some processing then using the callback interface notify client that processing is complete. I am having problem when i include both callback and synchronous method in the same bussiness interface. My callback method call works fine but somehow synchronous method also expect a call back from server and hang and eventually throw time out exceptions.
--- Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > muhwas wrote: > > Hi guys, > > > > I have a quick question. If i put a > > @Callback(CallBackInterface.class) on my bussiness > > interface then all method in that interface has to > be > > asynchronous or i can use synchronous method too? > > > > thanks, > > muhwas > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > Hi, > > There is no relationship at all between callbacks > and the asynchronous > (non-blocking) programming model. So mixing these > two aspects should > work. Are you running into a problem when you mix > @Callback and @Oneway? > > -- > Jean-Sebastien > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]