Access to www.w3.org DTDs blocked from Java

While parsing an XML file, I discovered that www.w3.org blocks requests to certain resources originating from the Java program, identified by the User-Agent. If your XML refers to w3.org DTDs, you might see an error like this: [java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent].

This is a known issue. The URLs have been deliberately blocked by w3.org due to ‘abusive’ use by Java programs.

Java Expiry Date header

Read how to set expiry date HTTP Header in Java webapps via configuration file without writing any code. This article shows you how to speed up your Java webapp by setting optimal expiration dates on your Java web pages.

How to copy bean properties with a single line of code

This article shows how to copy multiple properties from one bean to another with a single line of code, even if the property names in the source and target beans are different. Copying properties from one bean is quite common especially if you are working with a lot of POJOs, for example working with JAXB [...]

What is Google TV … in 2 minutes

Google TV is a Smart TV (or set-top box) which aims to seamlessly combine your Internet and TV experience.

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…

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.

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.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes