{
protected int responseMessagesCounter= 0;
private ApplicationExecutor prepareLaunch()
{
ServiceLocator.getInstance().setDomHandler(new BrowserDomHandler());
ServiceLocator.getInstance().setClientSideEnabled(true);
if (ServiceLocator.getInstance().isRemoteDebugging())
return createDebuggingApplicationExecutor();
else