Cache Java webapps with Squid Reverse Proxy

This article shows you step by step how to cache your entire tomcat web application using Squid reverse Proxy without writing any java code. Cache your entire website as static HTML files stored in memory or disk. This technique is useful to when dynamically generated pages in Java are time and CPU intensive. Ideal scenario is when there are high number of reads and few writes. Caution: do not use this approach to cache secure pages. Read article for full details.

Maven Docbook for beginners

This articles helps you get started with your first Docbook based documentation for your Maven project in 5 minutes. It shows you how to setup pom.xml, write a sample docbook and generate HTML documentation. It also includes references to where you can learn how to write comprehensive Docbook files.

What is Google Buzz?

Google Buzz is yet another way to share photos, status updates, videos, news and more with friends and family. The best part is that it lets you start with your existing Gmail contacts…

3 ways to serialize Java Enums

This article shows you best practice for serializing Java enums to a file or database (via Hibernate, JPA). It discusses three ways to serialize enums with code examples, the pros and cons of each way and also recommends the best way. You should know this if you are serializing an Object with an enum field to a file or mapping a POJO to a database table using technologies like Hibernate or JPA.

Code Generation for Web Applications with Clickframes

Clickframes is a Code Generation framework written in Java designed specifically to generate (Java) web applications. Clickframes lets you jump start your new project with working generated code at minute zero. Keep what you’ve learnt in one project and reuse in another project using Clickframes Code Generation templates, or simply use the templates that come with Clickframes. The key to the Clickframes approach is separating what an application does and how it does it. What an application does is specific to the project, but how it does it can be generalized and reused across multiple project using code generation.

Publishing to Maven Central Repo in 5 steps

If you need to share your Maven artifacts with the world, you too can publish it on the official Maven repo! Let others discover your artifacts without any repository configuration. This article is intended to be a practical, step by step and easy to follow tutorial to publish your artifacts to the central repo.

Linux command line puzzler

Simple but fun unix puzzler. The file “hello.txt” shows up in directory listing via the “ls” command. The puzzler is about not being able to display the contents on the file via the “cat” command.

Tweet your builds with Maven Twitter Plugin

Maven Twitter Plugin lets you send Twitter status updates from Maven, without writing any Java code. It increases communication between Project owners and Project users by automatically tweeting build and release status via Twitter.

Customizing Yahoo! Grids CSS, for beginners

Yahoo! Grid CSS system is an easy way to create an HTML document with a desired page width and a secondary column which works out of the box. YUI Grid comes with 4 built-in page widths and 6 template presets. This article shows you how to create a custom page width and a custom secondary column width.

3 ways to run Java main from Maven

Maven exec plugin lets you run the main method of a Java class in your project, with the project dependencies automatically included in the classpath. This article show you 3 ways of using the maven exec plugin to run java, with code examples. This approach is useful in many scenarios including migration of existing tasks from ant to maven.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes