My programming books: Volume 2

Time for update. My current, unordered book list but I wasn’t able to read them all, yet.😉

  1. Core Java, Volume I and II; Horstmann
  2. Thinking in Java; Eckel
  3. OCA/OCP Java SE 7 Programmer I & II Study Guide; Sierra & Bates
  4. Effective Java; Bloch
  5. Java Concurrency in Practice; Goetz
  6. Spring Boot in Action; Walls
  7. Java EE 7 Development with WildFly; Ćmil, Matłoka, Marchioni
  8. The C Programming Language; Kernighan, Ritchie
  9. The C++ Programming Language; Stroustrup
  10. Effective Modern C++; Meyers
  11. Learning Python: Powerful Object-Oriented Programming; Lutz
  12. Scala for the Impatient; Horstmann
  13. Functional Programming in Scala; Chiusano, Bjarnason
  14. Seven Languages in Seven Weeks, Tate
  15. Algorithms Unlocked, Cormen
  16. Introduction to Algorithms, Cormen
  17. Design Patterns; Gang of Four
  18. Head First, Design Patterns; Sierra, Robson, Bates & Freeman
  19. Clean Code; Martin
  20. The Pragmatic Programmer; Hunt
  21. The Software Craftsman: Professionalism, Pragmatism, Pride; Mancuso

Wildfly CRUD example with Docker

I’m not that familiar with pure Java EE stack. My experience is mostly mixing Java EE with Spring. So, I just wanted to play with it. You can find it here:
https://github.com/KrzysztofGoralski/wildfly-template

Java EE
JAX-RS – RESTEasy
Apache Deltaspike (similiar to Spring Data)
H2 Database
Docker
Maven

It is just an example and far from real application. It will be required to add tests for sure and it would be interesting to do it this way:
Docker with Arquillian Cube

Continue reading

Docker + Fedora Linux

sudo dnf update
curl -fsSL https://get.docker.com/ | sh
sudo systemctl start docker
sudo docker run hello-world
sudo groupadd docker
sudo usermod -aG docker your_username
docker run hello-world
sudo systemctl enable docker
sudo systemctl stop docker
sudo vi /etc/sysconfig/docker
Change to "OPTIONS=--selinux-enabled -H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock"
sudo systemctl start docker

Docker docs
Docker configuring
Very easy. Next blog entry about Wildfly CRUD with docker.
docker run jboss/wildfly

Interesting Stuff – Volume VIII

  1. Oracle, Java EE 8 Drama & releted stuff:
  2. Coconut  simple, elegant, Pythonic functional programming language
  3. Elixir v1.3 released
  4. High-Performance JDBC by Vlad Mihalcea
  5. 5 ways to initialize lazy relationsships and when to use them
  6. infoShare 2016 – videos
  7. Confitura 2016 – video
  8. Exception Handling in Real-Life Java Applications
  9. Javaslang – functional library for Java 8+
  10. JUnit 5 – Basics
  11. Apache DeltaSpike – looking for something like Spring Data?
  12. Close Encounters of The Java Memory Model Kind
  13. JDK™ 9 Early Access Releases
  14. WhatPulse – all you need to know everything about your computing habits
  15. 2016 State of DevOps Report
  16. Java 9 Additions To Optional
  17. GraphQL
  18. What is WebAssembly?
  19. Build Your First Thing With WebAssembly
  20. @MockBean
  21. Gradle Native C & C++ Build Tool Guide

akka-http-slick-guice example

Forked from https://github.com/knoldus/akka-http-slick

Changes:

  • Guice added
  • Changed Routes to Get, Put, Post, Delete
  • Changed urls
  • Changed Json Parser from Lift to akka-http/Spray one
  • Some fixes

Check example here:

https://www.lightbend.com/activator/template/akka-http-slick-guice
https://github.com/KrzysztofGoralski/akka-http-slick-guice

  • akka-http : REST
  • slick : database access & relational mapping
  • guice: dependency injection