Hello there! I need to use asynchronous invocations on my page, XTile wouldn't do it, because of the complexity of the XML that I need to return. So I was thinking in create my own service. I have two situations, a javascript timer that will poll the server in a regular basis, and a onclick event that will post modifications (Yes, it is a chat based app). I already have the whole thing implemented with jsp-servlets, just porting it :P
I'm just confused on how do I create the urls for my pages? let's say: public void onMessageSend(IRequestCycle cycle){ //Get parameters, assemble an message and store it on messageQueue } public void onMessageRequest(IRequestCycle cycle){ //getMessages from queue and store them on the cycle } public class ChatService implements IEngineService{ public void service(IRequestCycle cycle){ //convert the object on the cycle into XML, change the response header and flush it :P } } So, my questions are: 1st: How to build the urls (they are gonna be on a javascript) 2nd: Where to store the values on the cycle? cycle.setParameters? Best Regards --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]