Lately I had a task of configuring load balancing of Grails web application on Tomcat cluster. The logic of that solution is very easy.
You have one Apache instance that handles all incoming traffic to your web application. Apache is configured to transparently resend request to grater number of Tomcat instances gathered in cluster.
Sounds simple.. yeah. The logic is quite promitive but there are a few catches that can stop you for a while or make you use all-in-wonder solution like Terracota.
I choosed to configure all by myself. I divided my work into few steps:
- configuring Apache - mod_jk (load balancing)
- configuring Tomcat cluster with session replication (failover)
- configuring replication of Hibernate second level cache
It's a Google solution for large web with a lot of content. It allows end users to easily find relevant information on your website. It delivers search results for both Internet or intranet users.
Lately I was developing a search dialog in my android application.
I read very good documentation at android cental.
Remember the time when you’ve been doing some changes on git repository, and the telephone rang just in the middle of coding?
Clients can be very convincing, when it comes to applying changes just in time.
In this situation git stash command can be very helpfull.
In my working scenario I use SmartGWT on top of the grails application. Normaly I provide custom build server for testing team, but today there was a I need to let them use my local instance.
In GWT plugin manual I found a solution but unhappily it didn't work for me.
I found I need to modify grails plugin itself in ~/.grails directory.
Below you can find short description of what needs to be done.
In my daily job I’m a building SmartGWT application on top of grails server layer. I came to the point that I need all of +100 controllers to be secure. Moreover I need to distinguish which controllers actions should be given certain permissions. That’s a tough (boring) thing to do for that number of controllers.
Recently, I was dealing with some SEO stuff. My job was to optimize a webpage and make it more visible on google.
In the process of finding tools I stepped on the Google Webmaster Tools.
I found here some intresting information about my webpage. After successfull verifification Google Webmaster Tools provided me with excelent tips on how to make my website more efficient.
Nowadays, websites are getting bigger and more complex. If you are an experienced programmer, you've probably noticed that you do not only want your project to look good and neat - you want it to be designed with ease and be fully customizable!
Of course you do things like ajax, dynamic localization of content and URL, session handling etc. but with what cost?
You may wonder - is it possible.. to have all this things on my website and sleep happy?
Yes! There is a web framework that makes it easy and gives you full control over every aspect of frontend and backand.
They don't pay me for saying this, but I'm going to say it anyway. Because I wrote it, and it's a truth. I love this framework. It's the best framework ever. Ladies and gentelmans..
Lift!
Recent comments
1 year 20 weeks ago
1 year 20 weeks ago
1 year 27 weeks ago
1 year 29 weeks ago
1 year 47 weeks ago
1 year 49 weeks ago
1 year 49 weeks ago
1 year 49 weeks ago
1 year 49 weeks ago
1 year 49 weeks ago