How to display maven project version in your webapp

This article describes how to display the version of your maven project in your web application.

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 [...]

Calling a static method from EL

This post shows how to call any static method from EL. You can also pass arguments to the method.

How to pass parameters in EL methods

How to pass multiple parameters in an EL function, in 3 simple steps.

How to automatically recover Tomcat from crashes

A script which automatically detects that tomcat has crashed and restarts it.

Getting started with Nexus Maven Repo Manager

This tutorial outlines steps required to install Nexus (Maven Repository Manager) under Tomcat, or another webapp container. It shows you practical configuration and includes code snippets that go in your pom.xml and settings.xml in order to read and publish artifacts to Nexus server.

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.

2 ways to convert Java Map to String

This article shows 2 ways to convert Java Map to String. Approach 1: simple, lightweight – produces query string like output, but restrictive. Approach 2: uses Java XML bean serialization, more robust but produces overly verbose output. Approach 1: Map to query string format Approach 1 converts a map to a query-string like output. Here’s [...]

How to configure multiple page.xml files in Seam 2.2

Seam lets you specify navigation rules in the pages.xml file which can become very large for apps with many pages and transitions. Seam allows you to break this file into multiple small files. This allows you to easily manage large applications by creating multiple pages.xml files, typically one per page. This article describes how to create multiple pages.xml files in Seam 2.2.

Spring classpath scan breaks when migrating from JBoss4 to JBoss5

Spring 2.5 classpath scan does not work on JBoss5 due to internal architecture changes in JBoss5. You may face this issue when migrating from JBoss4 to JBoss5. This article walks you through a simple fix, with code snippets.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes