Tag archives for without

Java/Spring/JSON: Generate JSON with/without viewresolver jsonview / with json-lib-2.3-jdk15
Hello, In this mini article, we will explain the 2 ways to generate JSON from a web application based on Spring MVC: - with the "JSON view resolver" of Spring; - without the "JSON view resolver" of Spring i.e. with the json-lib-2.3-jdk15.jar; Reminder: Classic handler returning to a JSP page due to 'JstlView' ... and the view resolver JstlView is used in the spring ...more»
Java: Atomic integer example
After my post 'ThreadLocal, what is it?' I would write some words about the java.util.concurrent.atomic package that contains a small toolkit of classes supporting lock-free thread-safe programming on single variables. We will compare in this example the 3 types of shared counters: - a simple counter without synchronization or lock, - an advanced counter with synchronization, - an atomic counter without synchronization or lock ...more»
Copyright ® 2012 Hüseyin Özveren. No reproduction, even partial, can be used from this site and all its contents including text, documents, images, etc.. without the express permission of the author.