|
You are here |
yakovfain.com | ||
| | | | |
www.craigpardey.com
|
|
| | | | | Spring 3.2 has some very nice features for scheduling tasks. The pure Java way of doing this looks something like private ScheduledExecutorService executor = Executors.newSingleThreadScheduledExecutor(); class ScheduledTask implements Runnable { @Override public void run() { System.out.println("Running scheduled task"); } } // Schedule a task every 5 seconds executor.scheduleAtFixedRate(new ScheduledTask(), 1, 5, TimeUnit.SECONDS); // If you don't do this then the JVM won't exit cleanly executor.shutdown(); But now, with the snazzy new Spring scheduling annotations, it can be as simple as this | |
| | | | |
tannerdolby.com
|
|
| | | | | To create a Node.js application, you need a web server, a request, a router, and request handlers. Frameworks like Express.js speed up development by providing a robust set of features to build web applications and APIs. | |
| | | | |
mostlynerdless.de
|
|
| | | | | Learn how to log all incoming and outgoing packets with TC, XDP and an eBPF program written in pure Java using hello-ebpf. | |
| | | | |
v8project.blogspot.se
|
|
| | | WebAssembly or Wasm is a new runtime and compilation target for the web, now available behind a flag in Chrome Canary! | ||