Java
-
Ultimate JPA Queries and Tips List – Part 1
There are several JPAs “how to” that we can find on the internet, here in this blog, that teaches how…
Read More » -
Spring Custom Namespaces
Spring Custom Namespaces provides a good way to simplify the xml files used to describe the bean definitions of a…
Read More » -
Spring Security Part 1 – Simple Login application with database
What is Spring Security? Spring security is a framework that provides security solution, handling authentication and authorization at both the…
Read More » -
Logback: Application errors notification
Some months ago when I was doing big application refactoring I found really annoying pieces of log4j based code used…
Read More » -
Tomcat Context JUnit @Rule
A first draft of a JUnit @Rule that create the test context. This can be used with the Spring context…
Read More » -
REST + Spring Security session problem
REST, sessions .. wait. There are no sessions in REST application, right? Well, thats true. If we can avoid sessions…
Read More » -
How to analyze Thread Dump – Thread Stack Trace
This article is part 5 of our Thread Dump analysis series. So far you have learned the basic principles of…
Read More » -
Apache Thrift with Java quickstart
Apache Thrift is a RPC framework founded by facebook and now it is an Apache project. Thrift lets you define…
Read More » -
Four solutions to the LazyInitializationException – Part 2
This article continues from part 1 of the tutorial. Load collection by Stateful EJB with PersistenceContextType.EXTENDED This approach can be…
Read More »