Moved to https://kgoralski.github.io/
GitHub Pages & Hugo (written with Go language)
Moved to https://kgoralski.github.io/
GitHub Pages & Hugo (written with Go language)
So, I heard that Java is not only about Spring or Java EE 🙂 There are also: Ratpack, Lagom, SparkJava, Akka…Below, you will find great informations about Ratpack 🙂 Check this first.
“Ratpack’s goals from docs are:
Ratpacks’s goals are not:
Resources:
Just wrote something small with Go Language. Simple CRUD/webservice with MySQL using gorilla mux and sqlx, but it is almost plain golang. If anything wrong about it, tell me 😉
https://github.com/kgoralski/go-crud-template
Here are my impressions about it:
Links:
Very good parsing library.
Official Website
Univocity Parsers – Maven Repository
public class ExampleCsvToPojoParser {
private final Logger logger = LoggerFactory.getLogger(CsvToPojoParser.class);
public <T> List<T> parseFileToPojo(Class<T> clazz, String fileName) {
BeanListProcessor<T> rowProcessor = new BeanListProcessor<T>(clazz);
CsvParserSettings parserSettings = new CsvParserSettings();
parserSettings.setRowProcessor(rowProcessor);
parserSettings.setHeaderExtractionEnabled(true);
parserSettings.setLineSeparatorDetectionEnabled(true);
parserSettings.setSkipEmptyLines(true);
CsvParser parser = new CsvParser(parserSettings);
try (InputStream resourceAsStream = this.getClass().getClassLoader().getResourceAsStream(fileName)) {
parser.parse(resourceAsStream);
} catch (IOException e) {
logger.error("Cannot read file " + fileName, e );
}
return rowProcessor.getBeans();
}
}
Then you can put there class like this (which will match the file):
public class Users {
@Trim
@NullString(nulls = { " ", "" })
@Parsed(field = "USER_ID")
private Long userId;
@Trim
@NullString(nulls = { " ", "" })
@Parsed(field = "USER_NAME")
private String userName;
//getters & setters
}
Time for update. My current, unordered book list but I wasn’t able to read them all, yet. 😉
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
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
Some time ago I did a presentation about Scala language. Check it here.

Most links inside can be found in learning resources.
The others: