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

Tuesday January 05, 2010 03:49 PM

OpenJDK or Java Sun JDK on Ubuntu

Ubuntu enables to run more than one Java VM. Sometimes a dynamic change of Java VMs are needed. That's possible with the followi...
 Read More...

Language: en
Topics: Ubuntu, JDK

ApplicationContextAware - access application context from bean

Sometimes you need to access your Spring application context from a Spring instrumentalized Bean. For this use case you need to ...
 Read More...

Language: en
Topics: Spring, ApplicationContextAware

Monday January 04, 2010 04:48 PM

Spring scope

The default scope of a spring bean is singleton. In distributed systems it can be dangerous if more than one thread access to si...
 Read More...

Language: en
Topics: Spring, Scope

Sunday January 03, 2010 07:12 PM

Rsync Examples

Directory or file synchronization is a relevant topic at IT industry. The most important use case are backups. The rsync command...
 Read More...

Language: en
Topics: Rsync, Backup, Synchronization

Mysql New User

Because every time I forget handling to set new users and Mysql account privileges, I decided to write the following example://c...
 Read More...

Language: en
Topics: mysql, create user, add priviliges

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

Wednesday December 02, 2009 08:59 AM

Python XML Processing - libxml2

Libxml is a Python wrapper around the libxml2 library. Other APIs are PyXML and 4Suite. The libxml2 wrapper API enables the deve...
 Read More...

Language: en
Topics: Python, XML, libxml

Friday November 27, 2009 06:33 PM

Maven Site Example

The Maven Site Plugin enables you to create automatically software documentation. Particularly it represents a standard way of s...
 Read More...

Language: en
Topics: Maven, Java, Site, Report

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, AOP based monitor...
 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

Friday October 23, 2009 10:57 AM

JAX WS Example

JAX-WS (Java API for XML - Web Services) represents a Java API for implementing of webservices. The following example describes ...
 Read More...

Language: en
Topics: Java, JAX-WS, Apache CXF, Spring

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

Monday October 19, 2009 10:36 AM

Spring Velocity Mail

Sometimes you have to send automatically HTML emails. For example: You need inform your customers about new products or company ...
 Read More...

Language: en
Topics: Spring, Mail, Velocity

Tuesday October 13, 2009 08:36 PM

Hibernate Spring Tutorial

If you are developing middleware services with the Springframework, in the majority of cases you will make use of the Hibernate ...
 Read More...

Language: en
Topics: Spring, Hibernate

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

Friday September 25, 2009 03:27 PM

Java Runtime Inspection - Pax Reflector

If an exception occurs, sometimes it's difficult to build and restart your running software system. Especially if you are using ...
 Read More...

Language: en
Topics: Inspection, Java Inspection, PAX Reflector

Monday September 21, 2009 11:20 AM

Spring JMX Example

The JMX specification defines an architecture for monitoring and management of Java software components. To expose a Spring bean...
 Read More...

Language: en
Topics: Spring, Spring JMX, JMX

Saturday September 19, 2009 05:12 PM

PAX Runner - OSGI Provisioning (1)

PAX Runner represents a OSGI provisioning system. It supports different OSGI platforms how Equinox, Felix, Knopplerfish and so o...
 Read More...

Language: en
Topics: OSGI, OSGI Provisioning

Friday September 18, 2009 07:51 AM

How to resolve an artifact with maven embedder

Maven Embedder allows you to execute maven commands within  your application at runtime.This is an example of resolving an artif...
 Read More...

Language: en

Thursday September 17, 2009 11:32 AM

runtime replacement of jar file

First solution that comes to mind would be to use OSGI. Sometime you don't want to setup a whole OSGi environment to replace jus...
 Read More...

Tuesday September 15, 2009 02:41 AM

Java XML-RPC - Example

Historically, the XML-RPC protocol represents the forerunner of SOAP. It uses HTTP as the transport layer and XML as the data la...
 Read More...

Language: en
Topics: Java, XML-RPC

Thursday September 03, 2009 09:12 PM

Spring Mail Example

Spring offers an abstraction layer for sending Emails. Two classes are important. First JavaMailSenderImpl class, which represen...
 Read More...

Language: en
Topics: Spring, Java Mail, Spring Mail

Saturday August 29, 2009 02:43 PM

Create new Maven Plugin

The creation of new Maven plugins is easy and straight forward. The basic class of Maven plugins is the Mojo class. This class i...
 Read More...

Language: en
Topics: Maven, Create Maven Plugin

Tuesday August 25, 2009 08:36 PM

Spring Quartz Example

Quartz represents an enterprise job scheduler. The mechanism of Quartz can be compared to Linux Cron jobs or JDK Timers. Spring ...
 Read More...

Language: en
Topics: Spring, Scheduling, Quartz

Sunday August 23, 2009 07:47 PM

Spring Scheduler - ScheduledTimerTask

The easiest way to realize a scheduler in Spring is to use the standard JDK timer support. The following examples describes a cl...
 Read More...

Language: en
Topics: Spring, Scheduling, TimerTask

Monday August 17, 2009 08:34 PM

Java Twitter

Twitter4j represents a Java bridge to the Twitter API. Via Twitter4J the Java developer can create new updates, delete Twitter m...
 Read More...

Language: en
Topics: Twitter API, Java, Twitter4j

Sunday August 16, 2009 12:46 PM

Java Reflection Example - Dump Field Values

Often logging declarations are limited to some important business logic actions. Another interesting logging case is the fully d...
 Read More...

Language: en
Topics: Java Reflection API, Dumping, Logging, Monitoring

Thursday August 13, 2009 05:14 PM

Start Maven in Debug Mode

Following you see an easy way to start maven goals in debug mode:mvn jetty:run -DargLine="-Xdebug -Xnoagent -Djava.compiler=NONE...
 Read More...

Language: en
Topics: Maven, Debug

Thursday August 06, 2009 12:14 AM

Maven XML Plugin - Validation

Sometimes you need XML validation in your build process. Often configuration files will be read on load time. Not till then vali...
 Read More...

Language: en
Topics: Maven, Maven Plugin, XML Validation

Tuesday August 04, 2009 10:27 PM

Servlet Example

Because of keep the usage of servlets in mind I created a simple servlet example. In the majority of cases servlets are the core...
 Read More...

Language: en
Topics: Java, Servlet, Servlet Example

Monday August 03, 2009 04:08 PM

Redesign developers-blog.org [1]

Hi all,now we redesign developers-blog.org to a modern look and feel as well as a new technology background.Following steps are ...
 Read More...

Language: en
Topics: blog

Friday July 31, 2009 07:21 AM

HTMLParser

The HTMLPaser Java API library helps you to parse HTML based webpages. The library can be used for scrabing informations from a ...
 Read More...

Language: de
Topics: HTMLParser, Scraber, Java Library

Sunday July 26, 2009 05:34 PM

Servlet Listener

The Servlet API Specification defines the javax.servlet.ServletContextListener as a lifecycle event listener interface. It react...
 Read More...

Language: en
Topics: Servlet Listener, Servlet, Servlet Lifecycle

Thursday July 23, 2009 11:27 PM

Servlet Filter

Inside of Java web applications you can define chains of filters. So called servlet filters intercepts and transforms requests a...
 Read More...

Language: en
Topics: Servlet Filter, Servlet, web.xml

Monday July 20, 2009 11:20 PM

Performance Java - Perf4J

Perf4J represents an API for performance analysis in Java. It uses standard logging APIs how Log4J or the java.util.logging inte...
 Read More...

Topics: Java, Profiling, Performance Analysis, AOP

Friday July 17, 2009 09:55 PM

AspectJ in Maven

In AspectJ you can either use build-time or load-time weaving. The load-time weaving needs performance at runtime and the memory...
 Read More...

Language: en
Topics: AspectJ, Build Time Weaving, AOP

Tuesday July 14, 2009 07:25 PM

Spring AspectJ

This article describes the usage of AspectJ in a Spring project. AspectJ has advantages opposite to Spring AOP. In Spring AOP yo...
 Read More...

Language: en
Topics: AspectJ, Spring, Java, AOP Config

Monday July 13, 2009 06:45 PM

Spring AOP - Example

The aspect oriented programming makes it possible to introduce additional code to an existing business logic. Because of that it...
 Read More...

Language: en
Topics: Spring AOP, AOP, MethodInterceptor, Proxy, BeanNameAutoProxyCreator

Sunday July 05, 2009 06:46 PM

Public-Key based asymmetic password hashing

Many application designers use md5-hashing mechanism to store the user's password in an insecure storage (e.g. file or DB). Sinc...
 Read More...

Language: en
Topics: Security, Cryptography, Hash, Publich-Key encryption

« February »
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28