Quantcast
Channel: Java crumbs » Spring
Browsing all 11 articles
Browse latest View live

Webové služby à la Spring

V poslední době docela často používal knihovnu Spring WS. Chtěl bych se s vámi podělit o zkušenosti, které jsem s tímto modulem udělal. Nejdřív bych měl ale upozornit, že nejsem expert na webové...

View Article



Image may be NSFW.
Clik here to view.

Skrytý drahokam Springu

Dnes jsem koukal na rozhovor s Rodem Johnsonem, v kterém mluvil o novinkách ve Springu 3.0. Mezi řečí se zmínil o anotaci @Configurable, která je už ve Springu 2.5 a označil ji za skrytý drahokam....

View Article

Spring managed Hibernate interceptor in JPA

I have been trying to teach Hibernate injecting dependencies into Entities (I know, there is magic @Configurable annotation, I wanted to try it without magic). It is quite easy to do it using Hibernate...

View Article

Streaming a stream

I have another dirty trick for you. Let's imagine that you have a document server with following sophisticated interface. public interface DocumentServer { /** * Stores a document. * @return document...

View Article

Spring WS fault detail

Spring WS project provides nice and versatile exception handling tools. But in some scenarios predefined Exception Resolvers are not sufficient. For example if you want to provide additional error info...

View Article


Image may be NSFW.
Clik here to view.

Spring WS Test

Last few weeks I have been working on one of my pet projects. Its name is Spring WS Test. As the name implies, its main purpose is to simplify Spring WS tests. Again, I am scratching my own itch. I am...

View Article

Spring WS Security on both client and server

Recently, I have been playing with Spring WS with WS-Security. I just want to write down how it works. Do not except anything special, just simple example of basic security operations. The example We...

View Article

Writing fluent API

In recent weeks I have been working with Arjen Poutsma on a brand new testing support for Spring Web Services. At least Arjen has been working, I have been just generating crazy ideas and he kept...

View Article


WS testing

This post recaps some results of my experiments with WS testing. In last few months I have been working on several projects – Spring WS Test, Spring WS 2.0 testing support and finally on Smock. All of...

View Article


Spring and string list injection

This week, I have been bitten by a surprising behavior of Spring type conversion. Let's have the following bean and Spring config. public class Bean { public void setArray(String[] values) {...

View Article

What are ListenableFutures good for?

Standard Futures are in Java since version 5. But recently they started to lose breath. Nowadays we do have asynchronous servlets, asynchronous HTTP clients and lot of other asynchronous libraries....

View Article
Browsing all 11 articles
Browse latest View live


Latest Images