Cors by Example

More often than not CORS mean little more to developers than just getting rid of the infamous browser error in order to continue cranking out features as soon as possible. In other words, it’s not the best understood concept out there. Hence, to shed more light upon the topic, I’d like to give some working examples of CORS setups and show why they work. The more detailed explanation about the backing concepts I relinquish to the excellent MDN documentation if you’d like to dig deeper....

August 30, 2019 · 5 min · schoeffm

Response streaming between JAX-RS and Web-Components (Part 2)

In part one we had a look at a JAX-RS endpoint that streams its content to the requesting client. Now I’d like to show how the fetch-API can be used to consume that streamed content in a web component. ...

July 28, 2019 · 4 min · schoeffm