Ratpack Framework

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:

  1. To be fast, scalable, and efficient (Ratpack server  is up in 1 second)
  2. To allow applications to evolve in complexity without compromise
  3. To leverage the benefits of non-blocking programming and reduce the costs
  4. To be flexible and unopinionated when it comes to integrating other tools and libraries
  5. To allow applications to be easily and thoroughly tested

Ratpacks’s goals are not:

  1. To be a fully integrated, “full stack” solution
  2. Provide every feature you might need in a neat box
  3. To provide an architecture or framework for “business logic”
When to use Ratpack?
  • Micro-services
  • High-througthput apps
  • Lightweight apps
  • Cloud Deployments”

Resources:

  1. Rapid Java Web Application Development with Ratpack + github + video
  2. Devoxx Poland 2016 – Laurent Doguin – A practical RxJava example with Ratpack +github
  3. A CRUD REST API with Couchbase, RxJava and Ratpack
  4. Modern Java Web
  5. Ratpack & Spring Boot and here
  6. Sping & Ratpack Slideshare
  7. Great post About Ratpack by Rafael Salerno
  8. Testing [1], [2],[3]
  9. Often jOOQ is used with Ratpack, instead of Hibernate.
Advertisements

Interesting Stuff – Volume IX

  1. Java EE 8 & 9 Road map
  2. Load Balancing Microservices with Ha-Proxy
  3. Java 2016 videos
  4. JavaZone 2016 videos
  5. RxJava in legacy projects
  6. Spring 5: Functional Web Framework
  7. RxJava 1.0 vs RxJava 2.0 vs Reactor – Benchmarks
  8. Apache Solr Tutorial
  9. Performance and Availability pitfalls in the Microservices Architecture — CQK Top 10
  10. Announcing MicroProfile 1.0
  11. Swift 3.0 Released
  12. Golang UK Conference 2016 – videos
  13. Building a Modern Bank Backend (Golang)
  14. Go 1.8 performance improvements
  15. Making the Switch from Node.js to Golang
  16. {py}gradle, an open source Python plugin for Gradle
  17. Docker Swarm vs Kubernetes
  18. Live debugging Java with docker
  19. How Uber manages million writes per second using Mesos and Cassandra

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

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

Interesting Stuff – Volume VII

  1. Stack Overflow Developer Survey Results
  2. Rust Programming Language
  3. Left-pad npm Node.js Drama
  4. Analyzing Scala popularity
  5. Scala Center
  6. Lightbend Lagom – Reactive Microservices
  7. DevTools in Spring Boot 1.3 (LiveReload included) and here 
  8. Free IT Stuff from Bottega
  9. Java Concurrency Essentials Tutorial
  10. Understanding Callable and Spring DeferredResult
  11. Spark Testing Base
  12. Spring Boot Cucumber Example
  13. 10 Awesome Python Tutorials to Kick-Start your Projects
  14. Four Strategies for Organizing Code
  15. Jinkubator #41 – Kotlin – Paweł Byszewski