hidden

Tech blog of j-labs' engineers. Experiences, knowledge, solutions.

A Quick introduction to Querydsl compared to JPA 2 Criteria Api

Querydsl is a Java open-source project that supports statically typed queries. It provides a typesafe querying layer on top of JPA, JDO, JDBC and other backends through the use of various modules. The framework uses an annotation processor to generate Java types based on JPA entities. In this short article I’ll be focusing on Querydsl’s queries support for JPA and how it can be used as an alternative to Criteria Api. Of course the framework also allows to modify and delete records by JPAQueryFactory methods.

Marcin Kilijański

|

19 Feb 2020

  Java Querydsl SQL JPA Maven 

Read more
3

A Quick introduction to Querydsl compared to JPA 2 Criteria Api

19 Feb 2020 | Marcin Kilijański

  Java Querydsl SQL JPA Maven 

Querydsl is a Java open-source project that supports statically typed queries. It provides a typesafe querying layer on top of JPA, JDO, JDBC and other backends through the use of various modules. The framework uses an annotation processor to generate Java types based on JPA entities. In this short article I’ll be focusing on Querydsl’s queries support for JPA and how it can be used as an alternative to Criteria Api. Of course the framework also allows to modify and delete records by JPAQueryFactory methods.

Read more
4

To microservice or not to microservice

06 Feb 2020 | Jakub Słoniec

Distributed systems have been around for a while. Since like 1970s we’ve been building applications with large scale in mind, and large availability. We went even more in that direction since the Internet Bubble around ‘95 and we still carry on. Then, at the beginning of 2010s, the microservices happened. “Fine grained SOA", how Adrian Cockcroft, former director for the Cloud Systems at Netflix described them, took over the development world.

Read more
5

Improve your tests and codebase by "Mutation Testing" - part 2

29 Jan 2020 | Kamil Orłowski

In the previous article I presented the main idea of Mutation Testing. In order to better understand this concept, so far, my reflections covered only an example of a simple code where Traditional Mutation Operators have been used. In this part, you will get introduced to the concept of subsequent groups of Mutation Operators. I will show you also how to configure PIT with the Intellij IDEA.

Read more
6

Improve your tests and codebase by "Mutation Testing" - part 1

16 Jan 2020 | Kamil Orłowski

All experienced developers have a good understanding of how significant for the quality of the product is a source code covered by high quality test suites. Depending on a company or even a team, we can come across many different test procedures and test frameworks. Regardless of that, at the end of the day, we are faced with a codebase covered by tests.

Read more
7

Testing Spring Boot Application secured with JSON Web Tokens using REST-assured library

27 Nov 2019 | Emil Troczyński

REST-assured is a very well crafted library making test effort a lot simpler and more efficient. Combined with Spring Boot, gradle and TestNG, it allows implement complicated application with ease.

Read more
8

Functional programming in Java - introduction to Vavr.io

30 Oct 2019 | Przemysław Sobierajski

  Java 

Vavr (formerly called Javaslang) is a functional library for Java 8+ that provides persistent data types and functional control structures. It enables writing Java code in a more functional way. It is inspired by Scala. 

Read more
9

Interaction with TeamCity using service messages and REST api

23 Oct 2019 | Marcin Halastra

This article treats about interactions with TeamCity – about controlling its flow or getting useful information. All interaction examples will in form of python snippets – for service messages it will be simple prints and for REST – ‘requests’ library.

Read more
10

Spring AOP in practice - measure method execution time

16 Oct 2019 | Tomasz Głuszak

  Java Spring 

In this article we will take a closer look at Aspect Oriented Programming (AOP) with a little help from Spring Framework. AOP is powerful tool that can increase modularity, keep code clean and easier to read, maintain and develop.

Read more
11

Arduino microcontroller programming for beginners

09 Oct 2019 | Mateusz Gryzik

Check how simple and easy it is to program Arduino microcontroller.

Its compact, powerful, goes with hundreds of additional components that allow you to feel how it is to be a real engineer. Let this guide inspire you to build your own devices, micro machines, smart-house components and many more!

Read more
Page 1 of 10