JDK Flight Recorder introduced in OpenJDK 11.
This feature is low overhead of profiling and be able to used on production environment.
High Performance recording engine is embedded to Hotspot VM.
JDK Flight Recorder introduced in OpenJDK 11.
This feature is low overhead of profiling and be able to used on production environment.
High Performance recording engine is embedded to Hotspot VM.
28. JAX-RS Resource Code
@Path("/book")
public class BookResource {
@GET
@Path("{id}")
@Produces(MediaType.APPLICATION_JSON)
public Book find(@PathParam("id") int id) {
return new Book(0, ”Java本格入門", 3218);
}
}
何の変哲もない タダの JAX-RS Resource コード