Solved

Multicast Networking

Posted on 2002-07-12
1
234 Views
Last Modified: 2006-11-17
On one of our websites there is a market monitor. Our content writers update the monitor throughout the day. On our website we have a pop-up window that right now just uses a meta refresh to refresh the contents of the asp page every 10 seconds. The problem that we are having is that there are potentialy thousands of users looking at the monitor at a time and a good deal of them are complaining about getting script timeouts on it. Others are complaining about it refreshing when there are no updates to the monitor.

I would like to have the process be run below:

The market monitor would become a java applet.
The applet would open a socket connection to a java app running on the server that the applet originated from.
The java application would take the IP address from the applet and store it in some sort of database.
The java application would check the database for updates and broadcast them to all the applets that are currently open.

I read about multicasting in two of the java books that I purchased. They talk about joining groups and then broadcasting to the group. Can this be used with a java applet.  The java application is going to be run on the same server that is hosting the java applet so is this a possibility.  Or is this something that can be used with a protocal like JXTA.

I need to know if this will work. The client apps have to be java applets(portability) or some sort of browser clients as the people using the monitor will not download software.

If this will not work what will?
If JXTA is a possibility please give a link to a website that shows how to use it and use it with applets.
0
Comment
Question by:onebadboy
1 Comment
 
LVL 1

Accepted Solution

by:
yourbutler earned 400 total points
ID: 7153228
http://java.sun.com/products/jdk/1.1/docs/api/java.net.MulticastSocket.html

This is what I think you're looking for as far as multicast.  I haven't done it, but I have "heard" of others who have used it successfully.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jar file executable 12 59
fibonacci ten numbers 4 45
java jdbc batch example 8 41
Eclipse Help Java EE 5,6,7 Documentation, why not Java EE 8 8 30
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question