# Your Application Is *Not* Lightweight If:

You already know what ThreadLocal is (and used that extensively)
You see transaction management in the application code (an annotation, however is not perfect, but o.k.)
You have to deal with EntityManagerFactory and EntityTransaction in your code
Your XML-configuration doesn't fit on a single page any more
Your solution cannot be handled without extensive tooling
You spend some time for convincing other developers, that your solution is actually lightweight :-)
You are in the process of replacing existing frameworks with your "lightweight" POJOs and hope the result will be easier, lighter and better maintainable
You forgot the name and purpose of the layers
The number of interfaces is equal or greater, than the number of classes, and you need naming conventions to deal with that
The deployment size of your application archive (WAR) is greater, than the installation size of your "lightweight" server (like tomcat)
