1 Reply Latest reply: Apr 18, 2012 11:38 PM by 931373 RSS

    MP3 Player within j2ee Application

    931670
      Hi
      I got a j2ee web application, and server side contents list of mp3s.
      Is it possible to play them to client side with java base mp3 player as plug-in in or applet with java (platform in-depended) to the client side once end user has select the list of files to be played?

      Can someone give me some example or technologies that I should overlook for this task and I’m only experience in J2EE.

      Thanks.
        • 1. Re: MP3 Player within j2ee Application
          931373
          Hi
          I would suggest that you use Oracle JMF frame work, it is so simple to use if you want no advanced features.
          here is sample code (this code uses a file, but you can create from any url) :

          player = Manager.createPlayer(file.toURL());
          player.addControllerListener(new EventHandler());
          player.start();

          here is oracle download page :
          http://www.oracle.com/technetwork/java/javase/download-142937.html

          Edited by: Fahim on Apr 18, 2012 9:38 PM