Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

95
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda