Just another blog.

Author Archives: xpj

Compressing content using a servlet filter

One year and little bit more I was gzipping Spring remoting requests and responses. Now is time to gzip web application The simplest solution is to use filter in your web.xml. I found implementation in ehcache called net.sf.ehcache.constructs.web.filter.GzipFilter

Spring remoting with gzip compression

GZip compression is well known standard, used almost everywhere. Modern web servers are able to communicate with modern browsers and this communication can be automatically gzipped. But if you are unsure, if your communication is compressed, you can use your own.

Lost projects SVN information after Eclipse upgrade

After today’s update of my SpringSource Tool Suite from version 2.0.0 to 2.0.2 I found, that projects in my old workspace are missing SVN information. This problem was caused by missing SVN repositories information and when the Eclipse was started without it, projects were evaluated as some ordinary projects.

How stop embedded ActiveMQ in Spring

Today I ran into problems with embedded ActiveMQ broker in Spring Framework. The goal is to run local application, which uses Spring context to start AMQ and after this application is finished, AMQ should stop.

JTable with fixed columns

JTable with fixed columns is really problem. There is no “one-and-the-only-right” solution for fixing one or two columns while leaving others scrollable.

Difference between jee:jndi-lookup and JndiObjectFactoryBean?

I just discovered difference between using jee:jndi-lookup and JndiObjectFactoryBean.

Configuring Jetty with ActiveMQ and JNDI

For development of Message Driven POJOs (see cute tutorial on Spring blogs) I need some testing environment with running JMS server. As I’m using Maven and his Jetty plugin, I found following solution.

First and hopefully not “one and only” post

Oh no! Just another blog. It is unbelievable!