Technology weblogIT-Essence |
|
Thursday Apr 21, 2011
Spring-WS and Exception Handling through wsdl:fault - Part 2
I have learned, eventhough the spring-ws documentation is pretty clear, still alot of features are not properly documented. In this post I will focus on creating a demo webservice using Spring-WS 2. I will provide code samples for all elements required to get all exception code where you want it. All this information is based on contract-first webservice development. Here we focus on the XSD's required and how to create your WSDL from those XSD's. This post is divided into 3 parts. This post is part 2. Part 1 can be found here Posted at 01:04PM Apr 21, 2011 by Marcel de Koster in Java & J2EE | Comments[6]
Thursday Apr 14, 2011
Spring-WS and Exception Handling through wsdl:fault - Part 1
I have learned, eventhough the spring-ws documentation is pretty clear, still alot of features are not properly documented. In this post I will focus on creating a demo webservice using Spring-WS 2. I will provide code samples for all elements required to get all exception code where you want it. All this information is based on contract-first webservice development. Here we focus on the XSD's required and how to create your WSDL from those XSD's. This post is divided into 3 parts. This post is part 1. [Read More]
Posted at 05:03PM Apr 14, 2011 by Marcel de Koster in Java & J2EE | Comments[5]
Wednesday Apr 06, 2011
Why object-relational mappers are dead
Do you recognize the following nuisances?
If not, you have never seriously been involved in using an object-relational mapping framework such as Hibernate, iBatis or EclipseLink (or JPA for that matter). [Read More]Posted at 05:28PM Apr 06, 2011 by Zeger Hendrikse in Java & J2EE | Comments[2]
Sunday Mar 27, 2011
Axon framework does not like HSQLDB 2.0 Apparently, the axon framework does not like the new HSQL DB 2.0.0. We noticed this by the following stack traces:[Read More] Posted at 12:16AM Mar 27, 2011 by Zeger Hendrikse in Java & J2EE | Comments[0]
Thursday Sep 09, 2010
New free Maven books on Sonatype website Today I noticed that on the Sonatype website there are a couple of new Maven books (in addition to the well-known Complete Reference) that are really useful when learning, using and teaching Maven. Posted at 10:56AM Sep 09, 2010 by Zeger Hendrikse in Java & J2EE | Comments[0]
Tuesday Aug 31, 2010
JSON validator
Always wondered whether your JSON syntax is correct? Try JSONLint, the JSON validator! Posted at 03:51PM Aug 31, 2010 by Zeger Hendrikse in Java & J2EE | Comments[0] Excellent JavaScript fiddling site I found this excellent JavaScript fiddling site, that lets you experiment with HTML, CSS and JavaScript. By copying and pasting the snippets you're working on in the designated text boxes, it lets you execute the JavaScript and subsequently inspect the results. Check it out whenever you are working on front-end development using e.g. JQuery and JSON! Posted at 11:53AM Aug 31, 2010 by Zeger Hendrikse in Java & J2EE | Comments[0]
Thursday Jul 29, 2010
Nexus distribution management section for release, snapshot and site deployments
This post lists an example distribution management section from a POM where Nexus is used for the deployment of both the artifact releases and snapshots. Moreover, an entry for the site deployment is shown as well. <distributionManagement> Posted at 12:01AM Jul 29, 2010 by Zeger Hendrikse in Java & J2EE | Comments[0]
Wednesday Jul 28, 2010
Lightweight deployment with Jetty and Apache as reverse proxy
For quite some time now, I replaced Tomcat as application server for my Java web applications by the more lightweight Jetty. This solution is especially preferable in case you have multiple web applications, since every web application should run in its own application server instance (otherwise a malfunctioning application may bring down all the others with it). The lower footprint of Jetty pays then off for every instance you have running. Jetty also has the advantage that people no longer feel tempted to mess around with mod_jk. Instead, setting up a reverse proxy via Apache merely requires one line per application in your ProxyRequests Off Posted at 10:27AM Jul 28, 2010 by Zeger Hendrikse in Java & J2EE | Comments[0]
Friday Jul 16, 2010
Transactions over multiple JPA persistence units
In this post it is outlined how to configure your application to use two datasources via two separate JPA persistence units. For the domain objects, it will be transparent in which database they live. A description of the configuration of the Spring and JTA transaction manager is also shown. Posted at 07:53AM Jul 16, 2010 by Zeger Hendrikse in Java & J2EE | Comments[0] |
|
||||