Log4j is a powerful Java API for logging and its worst defect is documentation: yes the javadoc are available but if you are looking for a simple setup or for a first time setup things become difficult. Here is the “tutorial” I wish I had at the time I started using log4j. Continue reading “Log4j tutorial” »
Implementazione di un QueueRequestor con timeout.
Mi sono trovato nella necessità di dover usare delle code JMS per lo scambio di messaggi tra due applicazioni. L’idea era che a domanda doveva seguire una risposta in maniera sincrona e le API javax.jms mettono a disposizione per lo scopo l’oggetto javax.jms.QueueRequestor. Continue reading “Implementazione di un QueueRequestor con timeout.” »