Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

playing wav file from RMI  RSS feed

 
sandeep kumar jangra
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all....
I have an application based upon RMI in which the server have to tell the client about a particular situation by playing a wav file on the client. Please help if u have any idea how this can be achieved.
thanx in advance
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Huh? There's nothing specific to RMI involved with playing .wav files. You simply play them like you normally would in any application - include the file with the client and play it from a file, play it from a provided URL, or stream it.

Moving to Other Java APIs, where any further questions can be addressed.
 
sandeep kumar jangra
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanx Nathan Pruett.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!