background preloader


Facebook Twitter

Impression 3D. Jackson. General Jackson Tutorial: the best place to start; covers basic processing approaches and covers common usage patterns.


Jackson FAQ covers many common questions regarding typical usage. Jackson JavaDocs has extensive and detailed coverage of all the features: what is available, where, how. But you do need to know where to look. Jackson User Group is a site/group/social network dedicated to all things Jackson, for sharing knowledge about how to use Jackson efficiently. Features, general To learn more about how to configure Jackson, check out: Prevent cross-site scripting when using JSON objects using ESAPI and Jackson framework 1.7.x « Stefan Hendriks' Blog. Recently I have had the oppertunity to fix a cross-site-scripting problem.

Prevent cross-site scripting when using JSON objects using ESAPI and Jackson framework 1.7.x « Stefan Hendriks' Blog

The problem is: a lot of JSON objects are being sent over the wire and the data is not being html escaped. This means that anyone who would put html data IN would get it out and make any user vulnerable for XSS attacks. In this case, JSON objects are being created by using the MappingJacksonHttpMessageConverter. Maven. War plugin. The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive.

war plugin

Usage General instructions on how to use the WAR Plugin can be found on the usage page. Some more specific use cases are described in the examples given below. To share common resources across multiple web applications, see the documentation about using overlays. Last but not least, users occasionally contribute additional examples, tips or errata to the plugin's wiki page. In case you still have questions regarding the plugin's usage, please have a look at the FAQ and feel free to contact the user mailing list. Hibernate. XFire. Vaadin. Lazy Query Container. Google Visualization. Team Blog. A bit over a year ago we released Vaadin 7 renewing the framework inside out.

Team Blog

Then came push support with 7.1. Now what? Let’s take a look into the future. First off, we do not see C# coming up (who is this Nutella guy anyway?). With Java 8 and lambdas already well supported, we have a solid foundation that welds Java and HTML5 platforms together in the most elegant way in the industry. Vaadin 7 series will iteratively add features to the platform while maintaining backwards compatibility with 7.0. Vaadin 7.2 - Responsive tune-up Next up in the pipeline will be a minor release that continues building the infrastructure. Responsive layouts for components (currently available as add-on) Improved push channel with support for long polling, Tomcat 8, Wildfly 8, Glassfish 4, Jetty 9.1 Font icons that look great on high DPI displays and are lightweight Native support for Internet Explorer 11 and Windows Phone 8.1.

The beta version of this 7.2 will be available later this month. Spring. Team Blog. Recorded at SpringOne2GX 2013, in Santa Clara, CA Speakers: Josh Long Alright, so maybe "bootiful" won't ever work, but I tried, and it was worth it too because you're reading this.

Team Blog

Spring Boot, the new convention-over-configuration centric framework from the Spring team at Pivotal, marries Spring's flexibility with conventional, common sense defaults to make application development not just fly, but pleasant! Join Spring developer advocate Josh Long for a look at what Spring Boot is, why it's turning heads, why you should consider it for your next application (REST, micro services, web, batch, big data, integration, whatever!)

Spring Web Flow. The sweet spot for Spring Web Flow are stateful web applications with controlled navigation such as checking in for a flight, applying for a loan, shopping cart checkout, or even adding a confirmation step to a form.

Spring Web Flow

What these scenarios have in common is one or more of the following traits: There is a clear start and an end point.The user must go through a set of screens in a specific order.The changes are not finalized until the last step.Once complete it shouldn't be possible to repeat a transaction accidentally Spring Web Flow provides a declarative flow definition language for authoring flows on a higher level of abstraction. It allows it to be integrated into a wide range of applications without any changes (to the flow programming model) including Spring MVC, JSF, and even Portlet web applications. Spring Security. CXF. Using Jackson with Apache CXF. Whilst working on my Javascript, ExtJS 4 and Apache CXF skills I came across a solution to a problem I encountered getting ExtJS to talk to Apache CXF using JSON.

Using Jackson with Apache CXF

The basis for this issue revolves around “wrapping” in JSON and two different schools on what is correct way to encode it. As far as I can see there is the more verbose version which Jettison, the default JSON serialiser in Apache CXF produces, then there is the “unwrapped” version which the alternate serialiser Jackson produces. Pragmatic Web Services With Apache CXF. CXF : les intercepteurs. Le framework CXF est aujourd’hui probablement le meilleur framework pour implémenter des web services selon la spécification JAX-WS en Java.

CXF : les intercepteurs

Ayant réalisé un projet d’envergure autour de CXF, cet article n’a pas pour but d’être une initiation à ce framework car les tutoriaux de base de la documentation sont très bien faits ( Nous allons plutôt, dans une série d’articles, tenter de vous présenter quelques « tips avancés » sur CXF. Camel. Configuration des timeouts HTTP. La mise en œuvre d'une requête HTTP avec le framework d'intégration Java Open Source est assez simple.

configuration des timeouts HTTP

Le point sur la configuration des temporisations HTTP et des routes. La mise en œuvre d'une requête HTTP avec Camel est assez simple. Après avoir ajouté le composant camel-http.jar au classpath, la route suivante fait une requête de recherche sur Google. from("direct:start"). to(" Un simple appel dans un test Camel permet de s'assurer que tout s'exécute comme prévu : EhCache.