Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to make a mail application in java for voice mailing so i want
to store sound file which are recorded by jmf .
Posted
Updated 28-Aug-16 1:34am

If you are using Sql Server 2005/2008..You will find a datatype (Image), using this datatype you can store any file format into the database as binary format by executing a simple t-sql statement.
 
Share this answer
 
It is possible to do in several steps:
1. record audio in byte buffer. This example will help you to prepare such buffer.
How to record audio in byte array using java
2. Store this byte as clob in database.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900