AJAX Forums

Live Streaming of Sysout and SysErr onto the JSP Page on executing a testcase

This is a discussion on Live Streaming of Sysout and SysErr onto the JSP Page on executing a testcase within the AJAX Web Services forums, part of the Advanced Ajax category; Hei ppl I am new to this forum. In my project I am running, say 10 testcases at a time using junit.textui.TestRunner.run(). The Sysout and Syserr are moved into a ...

Go Back   AJAX Forums > Advanced Ajax > AJAX Web Services

AJAX Made Easy


AJAX Web Services Discuss on AJAX Web Services

Reply

 

LinkBack Thread Tools Display Modes
Old 10-08-2009, 02:28 AM   #1 (permalink)
Junior Member
 
Join Date: Oct 2009
Posts: 1
Rep Power: 0
akhils is on a distinguished road
Exclamation Live Streaming of Sysout and SysErr onto the JSP Page on executing a testcase

Hei ppl

I am new to this forum.

In my project I am running, say 10 testcases at a time using junit.textui.TestRunner.run(). The Sysout and Syserr are moved into a DB once the testcase execution is complete and I display the results (including Success State and SysOut and SysErr, if applicable)from the DB.
Right now the task I have in front of me is that I need to stream the Sysout and SysErr live (while the testcases are executing) to the JSP. Thought Ajax would be a great option for this. I tried moving the Sysout to a string while the testcase is executing and then refresh the JSP page every 2 secs such that the JSP calls a servlet which fetches the updated Sysout string and displays it in the same JSP.
This page refresh is too costly and a pain of overload on the server.
Thats the main reason why I thought of using Ajax for this matter. Can someone shed some idea on a way to accomplish this.
I have read thru polling, comet/longpolling, piggy back techniques. But I am nt sure how to implement those. Do u think any of these is really required or is there a difft easy efficient method?
I use a JAVA SERVLET - JSP - DB (MVC) model for my project.
akhils is offline   Reply With Quote
Sponsored Links
Reply

Bookmarks

Tags
ajax, jsp, live streaming


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Enterprise-Scale Streaming AJAX microbee AJAX Help 0 01-13-2007 11:13 PM


All times are GMT -4. The time now is 07:08 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0
Copyright ©2006 - 2009, AJAXwith.com