This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
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

Is Java Web Start applicable for this?

Natallia Vitalisova

Joined: Aug 07, 2008
Posts: 10
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="" target="_blank" rel="nofollow"></a>
Ulf Dittmer

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

Joined: Oct 01, 2008
Posts: 8
Yes, Java can do this. You can also check out Java Media Framework that has rich media capabilities. (

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 []<br />J2EE Architect, <a href="" target="_blank" rel="nofollow">Eminent Technology Solutions (ETS)</a><br />Software / Portals / Alfresco / Outsourcing / Proteomics
Natallia Vitalisova

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

Joined: Oct 14, 2005
Posts: 19896

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:
subject: Is Java Web Start applicable for this?
It's not a secret anymore!