File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes Is Java Web Start applicable for this? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Is Java Web Start applicable for this?" Watch "Is Java Web Start applicable for this?" New topic
Author

Is Java Web Start applicable for this?

Natallia Vitalisova
Greenhorn

Joined: Aug 07, 2008
Posts: 10
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?


My blog and my SCEA notes: <a href="http://jeyana.blogspot.com" target="_blank" rel="nofollow">http://jeyana.blogspot.com</a>
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42927
    
  68
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

Joined: Oct 01, 2008
Posts: 8
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.


Subramanian, Kumar [kumar@eminenttech.com]<br />J2EE Architect, <a href="http://www.eminenttech.com" target="_blank" rel="nofollow">Eminent Technology Solutions (ETS)</a><br />Software / Portals / Alfresco / Outsourcing / Proteomics
Natallia Vitalisova
Greenhorn

Joined: Aug 07, 2008
Posts: 10
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
Bartender

Joined: Oct 14, 2005
Posts: 18987
    
    8

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
 
subject: Is Java Web Start applicable for this?