Posts

Java 8 - Splitting and processing streams

https://dzone.com/articles/an-introduction-to-functional-programming-in-java-8-part-4-splitter

Abstract vs. Interface in Java8

While member variables of an interface are explicitly public and final, an abstract class does not sanction their members about access modifiers ... https://dzone.com/articles/java-interface-vs-abstract-class

REST API Best Practices

"If they are used as POST mediumgameapi.com/getaccounts , it gives the feeling that our objective is contradicting the URL structure. Hence, it is assumed to be better to have it in nonverbal format. For example, if it is mediumgameapi.com/accounts, it can be preceded with any HTTP methods like ... " https://dzone.com/articles/designing-rest-api-best-practices-you-should-be-fo

REST with Spark

"Spark focuses on being as simple and straight-forward as possible, without the need for cumbersome (XML) configuration, to enable very fast web application development in pure Java with minimal effort..." http://sparkjava.com/documentation.html

Java Type Inference

"Type inference is a Java compiler's ability to look at each method invocation and corresponding declaration to determine the type argument (or arguments) that make the invocation applicable. The inference algorithm determines the types of the arguments and ..." http://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html

Java9 Jigsaw

"So what is a module? Describing a module is actually quite simple – it is a unit of software that declares the answers to three questions about itself in a file named module-info.java : What is its name? What does it export? What does it require?" More info here: https://blog.codecentric.de/en/2015/11/first-steps-with-java9-jigsaw-part-1/

Domain Driven Design and REST

Image