Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

94
Views
Provide image to Javascript from Java library

I have some kind of image viewer java application that basically draws images generated by a third-party java library. This library serves me java.awt.Image objects dynamically, I mean that the image gets updated by some user actions, scroll zooming for example, and it's pretty fast.

Now I would like to display those images in a website using Javascript that is supposed to react to user interaction too. What would be an efficient way to serve those images from the java library to make them available for Javascript?

Is there any option besides saving an image file from the java library everytime there's a request from the website for a new image?

Thanks for your help!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can use a Java HTTP Server. Then you can send a http request from your javascript to your Java API and the response could be the image.

Hope this helps!

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!