File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is Java Web Start applicable for this?

 
Natallia Vitalisova
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need to create a new feature on my website. It will be some kind of sound recorder: a user logs in, records a new message using this feature and his microphone. His record is temporary cached on the client, so the user can listen to it before sending somewhere and make necessary corrections.

When the user clicks "Save", his record is saved on the server, and then the user has the ability just to send a link to his friends, so that they could listen to his record.

Is Java Web Start applicable here? Or applets are enough? Or this feature is not the best application for Java Technology at all?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's certainly possible to do this in Java - the required APIs (in the javax.sound.sampled package) have been part of the JRE for years. I'm not sure how well it's possible to control the interaction with the host operating system, but if you search for "java sound record" you'll find plenty of descriptions from people who've done it.

If you use an applet, it will need to be signed in order to access a client-side resource like a microphone.
 
Kumar Subramanian
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, Java can do this. You can also check out Java Media Framework that has rich media capabilities. (http://java.sun.com/javase/technologies/desktop/media/jmf/index.jsp)

I feel Java Web Start gives you more freedom compared to applet and more importantly execution is independent of client browser. If your java web start application is digitally signed users can trust.
 
Natallia Vitalisova
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for your replies.

By the way, can a Java Web Start application be embedded directly into an HTML page, like applet? I mean, just not to open it in a separate window. I guess, it can, right?
 
Paul Clapham
Sheriff
Pie
Posts: 20206
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can put the link into your web page, but clicking on the link causes the program to be downloaded to the client. The program doesn't run inside the browser, if that was your question.
[ October 14, 2008: Message edited by: Paul Clapham ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic