Monday June 07, 2010 10:12 PM

Caching Example with Spring Annotations and Ehcache

Recently I looked for an easy method caching mechanism. Especially in distributed environments request handling often takes a lo...
 Read More...

Language: en
Topics: Java, Caching, Ehcache

Sunday April 11, 2010 11:09 PM

Java Object Mapping - Dozer Example

Central point of software development is to handle data aggregation, data separation, data transformation and so on. For example...
 Read More...

Language: en
Topics: Dozer, Java Object Mapping

Wednesday February 17, 2010 10:20 PM

Spring Hibernate - LazyInitializationException

Let's assume you want to map a one-to-many relation using hibernate. In this case we have a Person with a list of i.e. Attribute...
 Read More...

Language: en
Topics: spring hibernate session

Tuesday February 16, 2010 03:23 PM

Configure Log4j (log4j.xml)

The Apache Log4J project offers a framework for logging aspects in Java software components. Today Apache Log4j is a defacto sta...
 Read More...

Topics: Configure Log4J, Logging

Monday February 15, 2010 12:31 AM

Java3D Example

Java3D is a specification for generation and manipulation of three-dimensional objects. It is based on the scene graph concept, ...
 Read More...

Language: en
Topics: Java3D

Friday February 12, 2010 11:36 AM

Easymock example

Easymock helps you to realize isolated tests of your business logic. The idea of mock based tests is to mock all dependent objec...
 Read More...

Language: en
Topics: EasyMock, Test

Tuesday February 02, 2010 12:51 PM

IRC Bot Tutorial

PircBot is a Java Framework which provides an API to write different kinds of interactive IRC bots. If you have finished your bo...
 Read More...

Language: en
Topics: Java, PircBot, IRC

Sunday January 24, 2010 10:35 PM

Java SVG Example

SVG (Scalable Vector Graphics) defines a vector graphic format based on XML schema. The Batik SVG Toolkit provides to use SVG gr...
 Read More...

Language: en
Topics: Java, Batik, SVG

Tuesday January 12, 2010 12:17 AM

Java Scripting Example

The Java Specification Request (JSR) 223 helps Java developers to integrate scripting languages into their software components, ...
 Read More...

Language: en
Topics: Java, Scripting, JSR 223

Monday January 11, 2010 03:01 PM

Spring Framework Example

The Spring Framework represents a dependency injection / inversion of control container framework for the Java platform. Further...
 Read More...

Language: en
Topics: Java Spring, Springframework, Spring Example

Sunday January 10, 2010 06:08 PM

Java Servlet API - Difference between forward, include, redirect

For the correct request handling of the Java Servlet API Java developers have to undestand the differences of forward-, include-...
 Read More...

Language: en
Topics: Java, Servlet, Forward, Include, Redirect

Saturday January 09, 2010 12:42 PM

Useful Java tools

Java 6 provides some useful console tools for analyze the state of your running Java application.jstack - Analyse your current s...
 Read More...

Language: en
Topics: Java, Development Tools

Wednesday January 06, 2010 11:01 PM

Java Graphics Example

The Graphics API is the fundament of all drawing operations on different graphics devices. The Graphics Java class represents th...
 Read More...

Language: en
Topics: Java Graphics

Friday January 01, 2010 02:39 PM

Beanshell Example

Beanshell represents a dynamic script language for the Java VM. The Java scripting language support is useful for dynamic aspect...
 Read More...

Language: en
Topics: Java, Scripting, Beanshell

Thursday December 31, 2009 12:30 AM

Java Swing Example

Java Swing is a graphical user interface API, which belongs to the Java Foundation Classes (JFC). The API is based on the compos...
 Read More...

Language: en
Topics: Java, Java Swing

Wednesday December 16, 2009 08:16 AM

HTML convert to Pdf in Java

The IText library represents a Java API for creation PDF files. The following example describes how the developer can use IText ...
 Read More...

Language: en
Topics: Java, Itext, Pdf, Html

Monday November 23, 2009 02:46 AM

Java Monitoring Project

I started a new Java monitoring project at sourceforge. It is a Maven Plugin and has two important advantages. First AOP based m...
 Read More...

Language: en
Topics: java, monitoring

Friday November 06, 2009 08:34 AM

JSTL Example

The JavaServer Pages Standard Tag Library (JSTL) provides a better separation between HTML code and dynamic content. It encapsul...
 Read More...

Language: en
Topics: Java, Servlet, JSTL

Thursday November 05, 2009 10:56 PM

Java CLI

Sometimes you have to parse the command line arguments. For example you want to implement a daemon service application. The serv...
 Read More...

Language: en
Topics: Java, CLI

Monday November 02, 2009 12:11 AM

CSV File Handling in Java

The JavaCSV projects helps the Java developer to read and write CSV files. It represents an API, which works similarly as the JD...
 Read More...

Language: en
Topics: Java, CSV

Tuesday October 20, 2009 09:53 PM

Java - Testing - Mocked SMTP Server

Recently I'm looking for a possibility to test sending of mails in Java. For this use case you need a mocked SMTP server, which ...
 Read More...

Language: en
Topics: Java, Testing, Mail

Tuesday September 29, 2009 06:37 AM

Java FTP Example

The Apache Commons Net project offers you an API for FTP access. Based on this API you can download, upload or traverse the dire...
 Read More...

Language: en
Topics: Java, Java FTP, FTP

« July »
SunMonTueWedThuFriSat
    123
45678910
11121314151617
18192021222324
25262728293031