Saturday, November 16, 2013

Designing a REST-ful API using Spring 3

Learn Android Development Online - Part 6

Learn Android Development Online - Part 5

Learn Android Development Online - Part 4

Learn Android Development Online - Part 3

Learn Android Development Online - Part 2

Learn Android Development Online - Part 1

Friday, November 15, 2013

Building REST-ful services with Spring

Spring and Web Content Management

This session will introduce Magnolia's Spring integration and give you a tour of its architecture, key features and use. Along the way, you'll also get insights into the development of Magnolia's Spring integration, an overview of Magnolia's key features (like workflows, innovative multi-channel support and a damn fine user experience that includes touch devices), and brief tutorials on solving some key content management challenges faced by Spring developers. There will also be a quick detour into Magnolia's Groovy shell and MagLev, a Grails plugin for Magnolia.



Source : http://www.youtube.com/watch?v=-KDsQvmO6C0

Troubleshooting Live Java Web Applications

This talk will cover methods and tools that can be used to uncover and resolve performance problems arising in Java web applications that use the Spring Framework. This talk will touch on a few common problems such as slow SQL, slow web page load times, blocked threads, and exceptions in the code. It will use a variety of diagnostic tools to examine these problems including log files, jmap, jvisualvm, and New Relic. Finally, the talk will evaluate the use of these tools in a production environment, separating them into what can and cannot be realistically used in live production web applications



Source: http://www.youtube.com/watch?v=mzT7etWjj0Q

Saturday, November 9, 2013

List of View Resolvers in Spring MVC

In Spring MVC, view resolvers enable you to render models in a browser without tying you to a specific view technology like JSP, Velocity, XML…etc.

There are two interfaces that are important to the way Spring handles views areViewResolver and View. The View Resolver provides a mapping between view names and actual views. The View interface addresses the preparation of the request and hands the request over to one of the view technologies.

Below are the important view resolvers provided by spring framework:
  1. AbstractCachingViewResolver : Abstract view resolver that caches views. Often views need preparation before they can be used; extending this view resolver provides caching.
  2. XmlViewResolver : Implementation of ViewResolver that accepts a configuration file written in XML with the same DTD as Spring’s XML bean factories. The default configuration file is /WEB-INF/views.xml.
                                                                                                                                                                More>>>

Javac/Java searching algorithm for other classes

With this post, I would like to explain how exactly the Java/Java will search for its dependencies in the project or application level. Java Applications can be run using the command line or in the Web/Application servers. For both the scenarios will be covered as below:

When you are accessing standalone application using command prompt, below will be the search criteria steps:
                                                                                                                                                 More>>>