Thursday January 19, 2012 11:06 PM

jQuery Ajax Tutorial and Examples

JQuery provides an Ajax (Asynchronous JavaScript and XML) wrapper function, which is very flexible to use, browser independent a...
 Read More...

Language: en
Topics: jQuery, Ajax, JS

Wednesday December 15, 2010 08:33 AM

Complex Sorting with Java Comparator

Sometimes developers have to realize more complex sorting algorithms. For example you have a list of customers. First you want t...
 Read More...

Language: en
Topics: Comparator, java sorting

Sunday December 05, 2010 09:45 AM

Documenting Design Patterns with Annotations

What's the ideaAnnotations in Java do a great job for developers to keep all information around our code at a single place. And ...
 Read More...

Language: en
Topics: Java, Annotations, Design Patterns

Monday November 08, 2010 07:41 AM

Embed Ivy - How to use Ivy with Java

This article from Peter Grund describes how to use Maven directly in Java. Recently I looked for an analog way to resolute and d...
 Read More...

Language: en
Topics: Ivy, Ivy in Java, Maven Artifact Dependency Resolution

Monday November 01, 2010 10:16 AM

Groovy Webservice - Webservice Producer and Consumer Example

IntroductionThe GroovyWS project provides to realize webservice producers and consumers in a simple manner. The following exampl...
 Read More...

Language: en
Topics: Groovy Webservice, GroovyWS, Webservice

Thursday October 07, 2010 05:00 AM

Embedding Groovy

Recently I looked for an opportunity to run Groovy scripts inside of Java applications. On one side I want to execute Groovy scr...
 Read More...

Language: en
Topics: groovy, embed groovy

Friday October 01, 2010 10:02 AM

OpenID Tutorial and Java Implementations

OpenID is an URL based Identity Management protocol. Key ideas are to enable a decentralized and open source based solution for ...
 Read More...

Language: en
Topics: OpenID, SSO

Saturday September 25, 2010 10:58 AM

AutoFS - Auto-Mount of Hard Drives

I have an external USB drive, which interacts as my backup and media file system. Very often I switch off this hard drive, becau...
 Read More...

Language: en
Topics: Linux, AutoFS, Mounting

Tuesday September 21, 2010 10:06 PM

How to embed Jetty Server

The Jetty J2EE webcontainer represents a highly modularized server application. Because of that you are able to start the web se...
 Read More...

Language: en
Topics: jetty, embedded jetty

Saturday August 21, 2010 11:11 AM

Track window and widget events with AT-SPI

AT-SPI is an abbreviation for Assistive Technology Service Provider Interface. It's an inter-process communication API based on ...
 Read More...

Language: en
Topics: AT-SPI example, Track Gnome Window and WIdget Events

Thursday August 19, 2010 07:48 AM

DBus Example

DBus represents an inter-process communication framework (IPC), which is especially used on Linux desktop environments. DBus is ...
 Read More...

Language: en
Topics: Linux, DBus, IPC

Tuesday August 17, 2010 08:04 PM

Spring MVC and UTF-8 Encoding with CharacterEncodingFilter

JSP web applications often have to use the following page instruction for setting charset encoding. The pageEncoding attribute d...
 Read More...

Language: en
Topics: Java, Servlet, UTF-8, Encoding

Sunday August 15, 2010 09:41 PM

How to get all window events at GNOME environment

The WNCK API (Window Navigation Construction Kit) allows user interface developers to track all events of GNOME/GTK windows. It ...
 Read More...

Language: en
Topics: GNOME, WNCK, Eventhandling

Tuesday August 10, 2010 04:40 AM

XServer Event Handling C Example

The X Server or X Window System defines a basic graphical network protocol. It offers low-level drawing operations, window state...
 Read More...

Language: en
Topics: xserver, event handling

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

« May »
SunMonTueWedThuFriSat
  12345
6789101112
13141516171819
20212223242526
2728293031