Framework

Facebook Twitter

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

Jackson

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. 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. This is deliverd by the Spring framework. Normally it is instantiated when you use spring-mvc (using the mvc-annotation tag). 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. 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?). 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!)

And how to get started. 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.

The following are common issues observed in stateful web applications with navigation requirements: Spring Security. CXF. Using Jackson with Apache CXF | wolfeidau. 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 | wolfeidau

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. In my case I chose Jackson the more terse version, this is good for a couple of reasons: It is compatible with ExtJS without any modifications It is smaller and therefore produces less data on the wire. Also I like the annotations that Jackson comes with, and find it a bit easier to work with than Jettison. Pragmatic Web Services With Apache CXF.

Apache CXF [1] is an open-source Java-based framework whose goal is to help users develop standard-based, interoperable and robust web services.

Pragmatic Web Services With Apache CXF

The ultimate goal of writing web services is to ensure that a given web service implementation can be consumed by a variety of design- and run-time clients in an interoperable and effective manner. A lot has been written recently about how web services have to be designed. 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. Une grande qualité de CXF est d’être un framework très modulaire de par sa conception autour d’un bus et d’une chaîne d’intercepteurs. Lorsqu’on met en place un ensemble de WebServices, on peut être amené à effectuer un traitement commun à tous ces web services. 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(" EhCache.