Spring Data Neo4j 3 REST Exporter (Java Application)

neo4j-thumbnail

This tutorial walks you through the process of creating an application that accesses graph-based data through a hypermedia-based RESTful front end. You’ll build a Spring application that let’s you create and retrieve Employee and Address objects stored in a Neo4j NoSQL database (Neo4j Server) using Spring Data REST. You’ll use the non embedded Neo4j for achieving […]

WebApplicationInitializer in Spring MVC

spring-thumbnail

Spring 3.1 has introduced a new feature for configuring the deployment descriptor using the Java Config approach. We don’t need to write the web.xml file for initializing the web applications. Everything can be done through a Java class itself. The Java class has to implement the org.springframework.web.WebApplicationInitializer which will be loaded when web application starts. […]

Spring MVC : How To Return Custom 404 Error Pages

spring-thumbnail

This example provides the steps to write your own 404 Resource Not Found error page for your application. Here I am writing a custom exception for 404 error using the HttpStatus.NOT_FOUND. This will be annotated as the exception @ExceptionHandler in the controller. Whenever there is any error thrown on this type, it will be redirected […]

RequestContextHolder in Spring MVC

spring-thumbnail

RequestContextHolder is a spring API for setting the values to any of three scopes request, session or global session. Note that in some situations, we may not be able to get the actual request from the request, we can simply use RequestContextHolder to get the request attributes and set the values. We have to explicitly […]

PrimeFaces + Spring Data + Neo4j Integration

springdata-thumbnail

This tutorial provides example code for integrating PrimeFaces 5, Spring Data and Neo4j technologies.  In our previous tutorials, I have explained about the PrimeFaces and Spring Data integration with other databases MongoDB and Redis. Also read our previous tutorials on installation of Neo4j and Spring Data Neo4j tutorial. I have used PrimeFaces 5 for this example. […]

java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface org.springframework.asm.ClassVisitor as super class

spring-thumbnail

Why java.lang.IncompatibleClassChangeError Exception Thrown? If you are working with Spring MVC and Spring Data Neo4j, then there is greater possibility that you would get the following exception when it comes to run the application using one of the Java EE container like Apache. I’ve used Apache Tomcat 7.35 for deploying a PrimeFaces 5 application with […]

Spring Batch 3.0.0.RC1 Released

spring-thumbnail

Spring Batch is batch processing framework maintained under the spring community. Advantage of using the spring batch is that it has all the advantages of using the spring applications features when integrated inside the spring framework. It is not a scheduler like Quartz, but it makes use of a scheduler and takes care of the […]

PrimeFaces + Spring Data + Redis Integeration

springdata-thumbnail

This tutorial guides you through the integration between various frameworks, Primefaces, Spring Data & Redis Key/Value database. We have published tutorials about these topics earlier and you can refer them for the detailed discussion on each topic. This tutorial assumes that reader had enough knowledge on those topics and will be able to integration of these […]

PrimeFaces + Spring Data + MongoDB Integration

springdata-thumbnail

This tutorial guides you through the integration of various frameworks like PrimeFaces, Spring Data and MongoDB. In our previous tutorials, we have explained more about the each topics PrimeFaces, Spring Data & MongoDB. Here a simple example for using the Registration form where the details will be finally stored in the MongoDB database. Connect With Us : Google+ […]

Spring MVC + AngularJS Integration

angularjs-thumbnail

This tutorial illustrates how to use or integrate the Spring MVC and AngularJS together. AngularJS is popular JS framework for building the single page web applications. Also most of the mobile applications and rich user interfaces are using the AngularJS framework. Here we will show how to use this framework in the view layer and […]