• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is Java Web Start applicable for this?

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic