Servlets are probably one of most well-known Java EE technologies (perhaps even the most known). Actually, servlets existed even before J2EE became a real specification.
This recipe will show you how to use servlets asynchronously.
Servlets are probably one of most well-known Java EE technologies (perhaps even the most known). Actually, servlets existed even before J2EE became a real specification.
This recipe will show you how to use servlets asynchronously.
Let's first add our Java EE 8 dependency:
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>8.0</version>
<scope>provided</scope>
</dependency>