Stream mp3 using Java technology

advertisements

**I need to buid distributed computing system that use java technology to access mp3 files stored in seperate servers.

In the user interface layer users can play audio files. In the information processing layer application client implementing with database servers.(where audio and user data stored) In the information processing I need to be able to manage audio files. My questions are,

  1. What is the best framework to get started?
  2. Am I able to use different technologies like SmartGWT, SmartGWT EE, mySQL, JSF together?
  3. What is the best mp3 player that work with java?**

(Assuming your client is a browser)

The easiest way:

  1. On the client side use a Flash player that plays mp3 downloaded via HTTP. You can write your own or pick one on the web (there are plenty available): example.

  2. Serve your mp3 files as static files via a web server, or write Java Servlet that serves this files. In second case you could have more control and implement progressive HTTP download.