Home » Java » Enterprise Java » Page 365

Enterprise Java

Java JSON processing with Jackson

JSON (Javascript Object Notation) is becoming a very popular data exchange format. While developing Web applications using Javascript frameworks like YUI, ExtJS, DOJO etc., we can use either XML or JSON to exchange the data between the client and server. Normally we get the response from the server in terms of java objects. Then in Servlets or Action classes we ...

Read More »

Servlet 3.0 Async Processing for Tenfold Increase in Server Throughput

java-interview-questions-answers

Servlets are the main component for handling server side logic in Java and the new 3.0 specification introduces some very interesting features with asynchronous processsing being one of the most important. Async processing can be leveraged in order to develop highly scalable web applications. Web 2.0 sites and AJAX applications can be efficiently built with this feature. Tomasz Nurkiewicz, one ...

Read More »

Java Code Geeks Andygene Web Archetype

Hello all, We are happy to announce that the first release of a set of maven archetypes is out!!! The goal of this set is to provide project templates that can fulfill various development needs. You can find the JCG roadmap at the end if this post. This first release aims to provide a project template – architecture for web ...

Read More »

DataNucleus 3.0 vs Hibernate 3.5

DataNucleus Access Platform, as stated at the official product site, is the most standards-compliant Open Source Java persistence product in existence. It is fully compliant with the JDO1, JDO2, JDO2.1, JDO2.2, JDO3, JPA1 and JPA2 Java standards. It also complies with the OGC Simple Feature Specification for persistence of geospatial Java types to RDBMS. It utilities an OSGi-based plugin mechanism ...

Read More »

Domain Driven Design with Spring and AspectJ

In a previous post hosted at JavaCodeGeeks, our JCG partner Tomasz Nurkiewicz presented an introduction to Domain Driven Design using the State design pattern. At the end of that tutorial, he admitted that he had left out the process of how to inject dependencies (DAOs, business services etc.) to the domain objects. However, he promised to explain the details in ...

Read More »

Using the State pattern in a Domain Driven Design

java-interview-questions-answers

Domain driven design (DDD) is an approach to developing software where the complexity of the problem is addressed by connecting the implementation to an evolving model of the core business concepts. The term was coined by Eric Evans and there is a DDD dedicated site which promotes its use. According to their definition (Glossary of Domain-Driven Design Terms), DDD is ...

Read More »

Spring 3.1 Cache Abstraction Tutorial

spring-interview-questions-answers

One of the new features introduced in the forthcoming Spring 3.1 version is the one of cache abstraction. Spring Framework provides support for transparently adding caching into an existing Spring application. Similar to the transaction support, the caching abstraction allows consistent use of various caching solutions with minimal impact on the code. At its core, the abstraction applies caching to ...

Read More »

Spring MVC Development – Quick Tutorial

spring-interview-questions-answers

This is a short tutorial on Developing web applications with Spring from Manoj at “The Khangaonkar Report”, one of our JCG partners. (NOTE: The original post has been slightly edited to improve readability) Spring MVC enables easy web application development with a framework based on the Model View Controller architecture (MVC) pattern. The MVC architectural pattern requires the separation of ...

Read More »

GWT, GWT-Ext (SmartGWT), GXT (Ext GWT) Common Tasks

I was browsing through some old posts at UI-Programming blog, one of our JCG partners, and noticed that there were a lot of short articles on how to perform some common tasks using GWT, GWT-Ext (SmartGWT) and GXT (Ext GWT). I believe they could help you with your day-to-day GWT development so I decided to aggregate them all at this ...

Read More »