Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8980409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:04:50+00:00 2026-06-15T20:04:50+00:00

I have a java program which collects realtime sensor data from a COM port

  • 0

I have a java program which collects realtime sensor data from a COM port and I want to send it to javascript without using node.js.

The sensor data should be givin arround at least 2 times a second.

I tough about using a database to communicate but that’s probably to slow a solution.
Browser support can be limited to google chrome if needed. (osx,win,linux)

What would be your ideal solution?

EDIT : – the java software should run on the same platform as the webbased javascript client.

Essentially the data being send is GPS,.. data which is shown on a map.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T20:04:51+00:00Added an answer on June 15, 2026 at 8:04 pm

    There are a number of ways you can do this.

    -A java to flash to JavaScript bridge to communicate via sockets. This is the most compatible way since most browsers support flash. There are a few opensource AS3 bridges however you need sockets.

    -A java applet and from the applet invoke JavaScript Code.If you have permission to read the com port is the easiest way otherwise you may have to struggle with applet certifications. The Java Runtime must be installed on your machine.

    -A websocket if you use Firefox 8.0+ or a recent versión of google chrome to communicate with your java app wia websockets. Is the most modern way to do it. It will not work with IE but you don’t need any other app as bridge between javascript and java, you may need to struggle to find a java socket server example, create your own implementation or use a web containger/app server that supports WS:// or WSS://

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Java program which prepares data into a fairly complex and big
I have a program which i have myself written in java, but I want
I have created a Java program which reads encrypted files from local system and
I have an interactive java program which takes input from user...now i need to
I have written a Java program which I package and run from a JAR
I have java program which receives encrypted message through TCP/IP from one component of
I have a Java program which can send messages and it is working when
I have a java program Read which reads file from an URL looks like
I have a Java program which is supposed to remove all non-letter characters from
I have a java program in which I am reading from stdin BufferedInputStream bis

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.