aspose file tools*
The moose likes Servlets and the fly likes vedio streaming using servlet and jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "vedio streaming using servlet and jsp" Watch "vedio streaming using servlet and jsp" New topic
Author

vedio streaming using servlet and jsp

Abimaran Kugathasan
Ranch Hand

Joined: Nov 04, 2009
Posts: 2066

For my final year project(ECG related), I need to upload the acquired ECG signal to a database through a web application, which interact via mobile, so the doctor can view the patient's ECG remotely. I've done the ECG acquiring part, but I need suggestion regarding the uploading the video signals.

How can I do it? Please give me some suggestions.

Thanks.


|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

There's a file upload FAQ in the FAQs here; I'd suggest starting there.
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3099
    
  40

Abimaran Kugathasan wrote:I've done the ECG acquiring part, but I need suggestion regarding the uploading the video signals.

Does ECG produce video signals?


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Abimaran Kugathasan
Ranch Hand

Joined: Nov 04, 2009
Posts: 2066

Devaka Cooray wrote:
Does ECG produce video signals?


Not a video signal, but the data extract from it(ECG), to be used for visual context. So I do mean it as video signal. But, actually it's a sequence of bits of the acquired waves.

Thanks for helping the question clearly.
Abimaran Kugathasan
Ranch Hand

Joined: Nov 04, 2009
Posts: 2066

Asking question made the thing easier. Thanks Devaka....

Can I use a data file(for example, a text file) consisting the data to be visualized in a web application?
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3099
    
  40

Video streaming and uploading a sequence of bits are two different things. You can simply upload the acquired signal sequence as a file (text file, XML, or your own format) to the Servlet. Have a look at FileUpload FAQ for that. Once the file is uploaded to the servlet, visualization or whatever it is supposed to do is up to the business logic you use at server side.
Abimaran Kugathasan
Ranch Hand

Joined: Nov 04, 2009
Posts: 2066

If a user used his own format(in client side), then how can it read in server side?
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3099
    
  40

Not the *user* is using their own file formats. Perhaps, you introduce a new file format as the compatible format for your application, and use your own encoded data structure with it.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12784
    
    5
If I had to display a time-varying signal on a browser I certainly would NOT be playing with video - a great waste of bandwidth and not really useful.

I would use a Java applet to show a CRT-like display of the last N time ticks of the signal, the applet would be polling a servlet for the latest data points on a frequent basis. By storing only the data points, the applet could replay the signal again and again and perform various analysis functions.

Bill
Abimaran Kugathasan
Ranch Hand

Joined: Nov 04, 2009
Posts: 2066

Thanks a lot for these suggestions....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: vedio streaming using servlet and jsp