/explore
|
You are here |
mydeveloperplanet.com | ||
| | | | |
inside.java
While the concept of serialization is quite simple, it often gets complicated very quickly given the various customizations that can be applied. For records we wanted to keep things as simple and straightforward as possible... |
|
| | | | | ||
| | | | |
github.com
From Java To Kotlin - Your Cheat Sheet For Java To Kotlin - amitshekhariitbhu/from-java-to-kotlin |
|
| | | | | ||
| | | | |
sookocheff.com
Java was the first programming language I was taught at University, and the language I used for the first decade of my career. It continues to be a reliable companion throughout my software development career. Unfortunately, not having developed with Java professionally for several years, I've found there are many aspects of the modern Java language that I'm simply not familiar with. To rectify this, I've collected the major improvements to the language beginning with Java 8, combined with a short explanation of how they work and how to use them. It assumes you know Java, but don't really know Java. Hopefully, it can take you from experienced beginner to just plain experienced again. |
|
| | | | | ||
| | | | |
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 |
|
| | | |||