searchforsolutions

Just another WordPress.com site

Tag Archives: spring

Optimizing start up time of an Spring application


  1. Load the bean lazily! Specify @Lazy (true) annotation for all the beans!
  2. Instead of class path scanning the beans could be loaded from a particular package name format or have a list of classes generated before hand (write some utility to generate discovered beans and dump in csv and then use it to load only certain beans)
Advertisements

Deploying Spring framework in Undertow web container


With Undertow ,the new web container replacement for JBoss AS/Wildfly , kicking ass in performance benchmarks [Ref: http://www.techempower.com/benchmarks/#section=data-r9&hw=peak&test=db%5D including node.js

I decided to explore it further. The Async features as well as Non-blocking IO features looks interesting. So going to explore that further and keep you guys posted.

Meanwhile have created reference template for getting kick started.

This could be used by anyone looking @ exploring undertow & spring deployments.

 

Source Code: https://github.com/rohitdev/project-templates

Web application framework benchmarks


A very good benchmark for all the frameworks out in the market.

http://www.techempower.com/blog/2013/03/28/framework-benchmarks/

http://www.techempower.com/blog/2013/04/05/frameworks-round-2/

 

So JVM did not perform that bad. So much for all the noise about other frameworks.  JAVA is the king!