Recently I had to create a sample project showing how to call a JMX Bean exposed by one application by other one. It seems so easy... as usual. But with new JBoss 7 / EAP6 and their new remoting-jmx protocol I struggled a bit. So here how it should look like
wtorek, 19 sierpnia 2014
środa, 16 kwietnia 2014
Filtering java sources with maven to use with Gin
From time to time I get a need to use maven filtering capabilities to change properties depending on the maven build profile. It's nice thing I must admit. Recently, I also needed to do filtering on java source code (in Gin module to bind different constant to be injected to my GWT view), and it seems that standard filtering is not capable of doing it. So here is what I did...
Autor:
Adam Andrzejewski
o
12:06
Brak komentarzy:
Wyślij pocztą e-mailWrzuć na blogaUdostępnij w XUdostępnij w usłudze FacebookUdostępnij w serwisie Pinterest
Etykiety:
maven
czwartek, 10 kwietnia 2014
Updating xml file in war/ear
Recently I needed to update some xml files inside war and ear archives. They were xml descriptors, so I did it with Groovy because of its great xml support.
czwartek, 20 lutego 2014
Spring batch in memory and OutOfMemoryError
Some time ago I started to use Spring batch for various processing of data. While it was ok for simple usage, when I pushed large file for processing into my system it died with OutOfMemoryError.
So I took the heap dump, analyzed it, and saw some Spring Batch classes that were taking huge amount of my heap.
So I took the heap dump, analyzed it, and saw some Spring Batch classes that were taking huge amount of my heap.
Autor:
Adam Andrzejewski
o
15:21
4 komentarze:
Wyślij pocztą e-mailWrzuć na blogaUdostępnij w XUdostępnij w usłudze FacebookUdostępnij w serwisie Pinterest
Etykiety:
spring
Subskrybuj:
Posty (Atom)