Enterprise Java
-
Everything you need to know about Page Object model and Page Factory in Selenium
As we continue to automate the test cases on a daily basis using Selenium automation, the maintenance of the growing…
Read More » -
Get to Know Jakarta MVC
To help you get to know the Jakarta MVC specification, here’s a recap of its history and status, and a brief introduction…
Read More » -
Spring Data Mock DAO
Warning, the following code example is suitable for a narrow range of use cases… but it’s strangely useful. When writing…
Read More » -
HTTP – Content negotiation
With HTTP, resources are identified using URIs. And a uniquely identified resource might support multiple resource representations. A representation is…
Read More » -
KivaKit XML Streaming
KivaKit XML Streaming Since Java 1.6 in 2006, Java has had a built-in XML streaming API in the package…
Read More » -
Get logged-in user info in Jakarta EE – the simplest way
The security before Java EE 8 / Jakarta EE 8 used to be a bit complicated and confusing. Every specification…
Read More » -
Mockito when-then vs do-when
Writing unit test is very important for better software quality. For unit tests Mockito is one of the most common…
Read More » -
How to properly inject CDI beans into JAX-RS sub-resources
Jakarta REST (JAX-RS) defines it’s own dependency injection using the @Context annotation. REST resources also support CDI injection if you enable CDI on the…
Read More » -
Add Grpc to your Spring Application
On the previous example we had a Java application spinning up an http server and upon this Java process operating…
Read More »