Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

96
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda