-
+2
Java 8 has been recently released. So I decided to write something using its new features.
Namely the new collection api, which allows to work with collections in a more functional style, and default methods in the interfaces.
This article is a brief review of my experience of Java 8, Spring MVC, Hibernate and SSP integration.
I've always admired the Scala language. First of all, because of the binding with external libraries (Hibernate, Spring, Spring MVC), which I still have a weakness for.
I tried to use them in Scala projects, but it seemed as if I was arranging workarounds all the time and still couldn’t write in Scala style. As if I was writing in Java, but with Scala syntax and vice versa.
That’s why I decided to follow a bit “smooth” path and use a familiar stack.
I decided to use SSP (Scala Server Pages) instead of JSP (Java Server Pages), in order to get static support on the View side and to not worry about breaking at refactoring, while you learn about it after deployment only (when some block stops being displayed or even worse, damages some data in the database)
Read more →
Namely the new collection api, which allows to work with collections in a more functional style, and default methods in the interfaces.
This article is a brief review of my experience of Java 8, Spring MVC, Hibernate and SSP integration.
Foreword
I've always admired the Scala language. First of all, because of the binding with external libraries (Hibernate, Spring, Spring MVC), which I still have a weakness for.
I tried to use them in Scala projects, but it seemed as if I was arranging workarounds all the time and still couldn’t write in Scala style. As if I was writing in Java, but with Scala syntax and vice versa.
That’s why I decided to follow a bit “smooth” path and use a familiar stack.
I decided to use SSP (Scala Server Pages) instead of JSP (Java Server Pages), in order to get static support on the View side and to not worry about breaking at refactoring, while you learn about it after deployment only (when some block stops being displayed or even worse, damages some data in the database)
Read more →