Tips and Tricks

Category for Java tips and tricks

When to use String, StringBuilder and StringBuffer in Java

Any programming language developer(s) should always tend to write code which is of very less impact on performance management of the application. But, most of the developers fail many a times to achieve the same, especially when working with string related operations (string concatenation) in the code which is to be written. So every java …

When to use String, StringBuilder and StringBuffer in JavaRead More »

Programmatic Approach of Configuring web.xml

Introduction This tip briefs about configuring the web.xml for any Java/J2ee project using a programmatic approach. Background As a traditional approach, any servlet context and other listeners are configured by making entries in the web.xml file in any Java/J2ee web based application. In contrast to this, the introduction of servlet 3.0 aims to provide a …

Programmatic Approach of Configuring web.xmlRead More »

Follow by Email