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

Friday April 30, 2010 08:19 AM

SoapUI : JDBC Request Step example with a Sybase database

I have recently played with one of the new TestSteps introduced in soapUI 3.5. Here it what came out...In the following example,...
 Read More...

Language: en
Topics: soapUI, sybase, JDBC request step

Tuesday April 27, 2010 09:27 PM

JQuery Ajax Client and Jersey Rest Endpoint Example

JQuery is a JavaScript framework for DOM manipulation and navigation. Jersey is the reference implementation of the Java API for...
 Read More...

Language: en
Topics: AJAX, JSON, REST, Jersex, JAX-RS

Sunday April 18, 2010 10:04 PM

Auto Deployment of OSGI Bundles with Felix File Install

The Apache Felix File Install Bundle enables an automatic OSGI bundle deployment process. By itself this bundle scans regularly ...
 Read More...

Language: en
Topics: OSGI, Deployment

Thursday April 15, 2010 07:10 PM

How to increase test coverage with Cobertura

Cobertura is a powerful tool to increase test coverage of Java software. It reports and checks your test coverage. At this Cober...
 Read More...

Language: en
Topics: Test Coverage, Cobertura

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

Mockito Example

Mockito compared to EasyMock seems to be more easily and has more flexibility. First it's able to mock up interfaces as well as ...
 Read More...

Language: en
Topics: Mockito, Testing

Monday April 05, 2010 05:23 AM

SSH Port Forwading and Tunneling

Sometimes it's useful to forward a port from a source to a target machine. For instance port forwading itself is used by a route...
 Read More...

Language: en
Topics: SSH Port Forwading, SSH Tunneling

Wednesday March 31, 2010 06:50 AM

OSGI Tutorial - Dynamic Usage of ServiceTracker

ServiceTracker IntroductionSometimes an OSGI bundle wants to access a dependent OSGI Service, which wasn't registered yet. Furth...
 Read More...

Language: en
Topics: OSGI, ServiceTracker, Whiteboard

Monday March 22, 2010 09:39 AM

OSGI Tutorial and Running Example

IntroductionOSGI implements a dynamic component model for the Java platform. OSGI components or bundles defines its own context ...
 Read More...

Language: en
Topics: OSGI Tutorial, OSGI

Sunday March 07, 2010 02:14 PM

Definition Builder mit Java Beispiel

Definition:Der Builder wird genutzt, wenn ein und derselbe Konstruktionsprozeß eines Objekts unterschiedliche Repräsentationen e...
 Read More...

Language: de
Topics: Builder, Design Pattern

Thursday March 04, 2010 12:17 PM

SoapUI limitations and workarounds : mock response test step

The following example describes one limitation of soapUI and a possible workaround. It concerns the way mock services are used i...
 Read More...

Language: en
Topics: soapUI, mock response, groovy script, mock service

Wednesday March 03, 2010 04:51 PM

SOAP web service testing with soapUI

SoapUI is a useful tool for testing web services. Not only makes it possible to test deployed web services, but it also offers t...
 Read More...

Topics: soapUI, test, web service

Integration of soapUI tests in maven build lifecycle

This article extends the basic example described in "Web service testing with soapUI". It describes how to integrate soapUI test...
 Read More...

Topics: soapUI, test, maven, jetty

SOAP web service testing with soapUI : exceptions

This article extends the basic example described in "Web service testing with soapUI". It describes how to test and simulate exc...
 Read More...

Topics: soapUI, test, web service, exception

Sunday February 28, 2010 08:44 AM

Comparison between Linux and Windows job requirement trends

The following charts shows the trend of Windows and Linux job requirements of the last years.First you see the Windows trend is ...
 Read More...

Language: en
Topics: Job Trends, Windows and Linux

Thursday February 25, 2010 01:17 AM

Definition Abstrakte Fabrik mit Java Beispiel

Definition:Die abstrakte Fabrik bietet eine Schnittstelle zum Erzeugen verwandter Objekte. Programme, die auf die Konstruktion d...
 Read More...

Language: de
Topics: Abstrakte Fabrik, Design Pattern

Definition Erzeugungsmuster

Erzeugungsmuster verstecken den Erzeugungsprozeß von Objekten. Sie nutzen Vererbung, um die Eigenschaften des zu erzeugenden Obj...
 Read More...

Language: de
Topics: Erzeugungsmuster, Design Pattern

Wednesday February 24, 2010 01:25 PM

Trend between Spring and EJB job requirements

Recently I found a nice site about job trends. I looked for a chronological comparison between Spring and EJB job trends. The fo...
 Read More...

Topics: EJB, Spring, Trend

Monday February 22, 2010 08:42 PM

Unit testing with Hibernate and Spring

Many applications use hibernate as OR-Mapper, i want show an easy and fast way how to unit test your DAOs and domain model.setup...
 Read More...

Language: en
Topics: Spring, Maven, Hibernate, Test

Sunday February 21, 2010 11:53 AM

Native Maven Plugin - Build native C/C++ projects with Maven

Recently I looked for an alternative to build C/C++ based source code with Maven. I found the Native Maven Plugin at codehaus.or...
 Read More...

Language: en
Topics: Maven Native Plugin, C/C++

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

Configuring Beans in the Spring IoC Container

Spring is a powerful IoC container to manage components. To utilize the container components, you have to configure your beans. ...
 Read More...

Language: en
Topics: Spring beans configuration

Tuesday February 16, 2010 06:22 PM

Spring Roo Tutorial

Spring Roo is a tool made by the Spring developers to help you speed up the development of your (web-)applications.I tried Sprin...
 Read More...

Topics: spring roo

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

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

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

« July »
SunMonTueWedThuFriSat
    123
45678910
11121314151617
18192021222324
25262728293031