473,804 Members | 3,396 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

servlet/javasound/applet

Hello everybody

I need an advice from some guru out there. I have imagined the following
scenario:

I have a servlet on my server. It starts and waits for incoming requests
from clients on some port. So the connection would be a socket.

On the other hand I have an applet on the same server. When the client
requests for it, the he gets it. In the code for the applet there is, at the
beginning, the connection to the servlet below with a socket connection.
When connected the Servlet will register the address of the client-applet in
some map.

Now, the applet on the client while have a loop in which it waits the client
to say something in the mic. The data will be captured with the help of
JavaSound. When The client says something, the applet captures the audio
data and will send it to the servlet. The servlet now, will check for all
the connected clients(applets ) and will forward the audio data to them.

So, more or less is what I have imagined. Is this possible, you think?

What I want is to avoid JMF, avoid security issues, avoid to run in a
standalone application, and the neeed for the client to install extra stuff.
Do you think this is possible?

Regards

Alf
Jul 17 '05 #1
0 1463

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
4452
by: BryarWoilf | last post by:
Hi all, I'm still somewhat new to servlet/JSP programming, but I want to my application to use the MVC model. I have some simple JSP pages that dynamically open an applet that the user uses for data entry. The applet then opens a channel to the servlet and passes the data to the servlet in a serialized object. I have tested this part of the
0
1735
by: SubbaRao Karanam | last post by:
When I click the Button in Applet , I want it open a Dialog asking for the excel to open/save etc... It doesnt happen why... Now it doesnt create the excel file Why.... My Applet code is ------------------------------------------------------------------------------ URL url =new URL("http://localhost:8080/portal/servlet/com.kbs.framework.client.gui.ReportServlet");
0
1950
by: SPG | last post by:
Hi, I have implented my own Subscription based pushlet engine which is using a servlet to write data back to a HttpServletResponse object. This all appears to be working fine until I run it over our proxy. It appears that the data being pushed is caching at the proxy and is not let through for ages. I need the update to be immediate which is now becoming a huge pain in the
1
2213
by: Miles Davenport | last post by:
I would like some advice on what Java server-side alternatives their are to an applet which is a shopping cart application which allows the user to drag-and-drop individual items into "an order" panel within the applet environment on the browser client. I am eager to port this application, as the rest of the site uses JSP, servlets, XML, struts..... I do not have much experience of Swing, but would like to know if there is a way of...
1
3910
by: lauryn | last post by:
Hi everyone, it's been a LONG time since I've made an applet, and I was hoping to get some help. At my work, we have a $1mil+ database with a servlet interface. I know few details beyond that. Our very pricey vendor says that they can't make the Enter key be the default "OK" button (or some other button like "refresh). They say it's not possible. Hopefully, I'm making sense -- when a dialogue box pops up, I'd like to be able to type in...
1
7093
by: Nick Nygaard | last post by:
Hi everyone, I'm using O'Reilly's servlet API to make an object based HTTP communication between an Applet and a servlet. Following their own tutorial 10.2.3. Object-based HTTP Communication http://www.unix.org.ua/orelly/java-ent/servlet/ch10_02.htm of how to construct e.g. a day time server, gives me: java.io.StreamCorruptedException: invalid stream header
1
5461
by: dmanojbaba | last post by:
I want a simple applet prog that has a button. On click of that button it must invoke a servlet in IE window (simple hello world program) and close this applet window. Pls send me the code for applet... Its not any communication between applet and servlet, jus to show the servlet. I tried this code...
2
3458
by: ManidipSengupta | last post by:
Hi, a few (3) questions for the Java experts, and let me know if this is the right forum. It deals with 100% java code (reason for posting here) but manages a Web browser with Javascript. Thanks in advance for responding. I have made a stub of the codes for better understanding. Situation: I have a Java servlet (HelloWorldServlet) running on a Tomcat (5.5.26) server on a Linux machine (compiled in JDK1.4.2). It writes Javascript to construct...
3
1585
by: sreekandan | last post by:
hi.... I want to invoke servlet program from Applet.... So kindly anyone give me the code for both applet and servlet....
0
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10577
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10332
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9150
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6853
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5521
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4299
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2991
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.