Activate #infinispan second level cache with #jboss and #hibernate
Second level cache is an extremely powerful way to improve performance of an enterprise application if done right. In the following I will explain how to activate and configure second level cache when using Hibernate and Jboss 7.4+ application server. Jboss 7.4 comes with Infinispan as the build in second level cache solution. This makes… Read More »
#Oracle quick way to investigate slow or time consuming application queries
In the following post I will describe my quick procedure I always use to debug the database queries generated by an application that hit an Oracle database. In a lot of cases your queries that hit the database are not written explicitly by a developer. That may be the case when intermediate layers as Hibernate… Read More »
#windows #powershell how to kill zombie Edge session
Often times I find trying to start Edge on an old data-center jump station and I just click and nothing happens. This is the direct result of an Edge process that went zombie. A quick way to kill an Edge session that is acting as a zombie and will not allow you to start a… Read More »
#SQL #Oracle : Move all indexes to a different tablespace
In general is good to have a separate tablespace for your index tables. Sometimes the default tablespace, in our case DATA, is used by an application using hibernate layer to automatically create all the tables and indexes. Then the issue is how to move the automatically created indexes to the special created tablespace for indexes,… Read More »
#Linux #Fedora #Java defaults and jasper reports compile issues
A common mistake is to set the alternatives just for java sdk. This can lead to issues when several java versions are present. Jasper Reports a well knows Java library used to generate ad-hoc pdf reports compiles the report templates and the temporary classes using the default system javac not the javac of the java… Read More »
#SpringBoot : Create a conditional Spring Boot Bean only if asked by an external configuration, not using @Conditional #Java
Usually Spring Boot beans are created automatically before the application start and autowired as needed. What if we need to create a Spring bean only if some configuration file requires it. This way of writing code is very useful when trying to write highly configurable enterprise applications where you want to be able what components… Read More »
#SpringBoot : How to create multiple instances of the same Spring Bean type. #Java
Spring Boot assumes that all the created beans are singletons. That works OK for 90% of the cases when Spring Boot is used but sometimes we need several instances of the same bean type. One example is when our bean is a kind of “interface service” that is reading or writing data to another external… Read More »
Bash one liners: Detailed information about your battery and power under Linux command line
Learn #banking, #fintech and #payments jargon: Payment V-Mode advantages
As I mentioned in a previous post usually there are two channels of sending payments to a Real Time Gross Settlement System: using a VPN network that connects all the participant financial institutions to the RTGS . using a 3rd party network like SWIFT that connects all the participant financial institutions to the RTGS Bellow… Read More »