• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to go about it?  RSS feed

 
rajib chakrabarti
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am planning to bulid an application .

This will show the real time performance of a cellular switch.

The source file which is collected on real time basis per call is an ascii file containg about 150 fields indicating the calling no, called no and host of such infos.

I plan to write a server application on the unix machine where this file is generated.

The server will coallate this file and will group them in diffrent categories of failures, call types etc.

so on every 5 minute this will have these catgory files updated.

Now

The clients will be having web browsers and will access these files and will get a near real time view of calls categorised into gruops.

I am failing to visualise how client will access these files... will the server have to make html files for clients to access them.

OR How about applets which will get updated on real time...

Can any one out there help me out... by suggesting how to go about it....
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Applets? Ugh! Your page content itself sounds static, it's just that the page gets updated every five minutes. The simplest thing to do is have an HTML page that implements a bit of "client-pull" with a META tag in the document's HEAD:

<META http-equiv="Refresh" content="300">

The units are seconds: 300 seconds = 5 minutes. This will cause the page to refresh itself on the client's browser automatically, every 5 minutes, just as if the client had pressed the refresh button.
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...on second thought, 500 seconds as content may be too log. What if the client browses to your page seconds before your server updates the file? Perhaps 60 seconds is good enough. Beyond that, the client can press their own damn button!
 
rajib chakrabarti
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for that....

So I am not going the applet way....

Also I do not plan to put any buttons ... every 5 minute the webpage will update itself so that it will contain all the previous 5 minutes' data in that hour...may be some grphical represntation .. as happens for streaming stock index etc...

Still I am little fuzzy about the server part...

Let me describe what I have thought how to go...

In the server (UNIX ) i will use "awk" to format and the make the html pages every 5 minutes.The problem is I am planning to have graphical representation.. so base data will jolly well be provided by awk ... but what to use in order grahically represent them???


U know i am sort of novice in JAVA and i am lost by options....

also can any one lead to me some similar implementation of real time application.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!