Jai’s Weblog – Tech, Security & Fun…

Tech, Security & Fun…

  • Jaibeer Malik

    Jaibeer Malik
  • View Jaibeer Malik's profile on LinkedIn
  • Subscribe

  • Feedburner

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 40 other subscribers
  • Archives

  • Categories

  • Stats

    • 426,575
  • Live Traffic

Archive for December, 2012

Java Application performance analysis and optimization using AppDynamics

Posted by Jai on December 11, 2012


The enterprise java application stack is growing bigger and bigger which makes it equally difficult to keep control on all the layers of the infrastructure to get maximum result out of it. One of the basic requirement of any web application is well performing, we will cover here an ideal enterprise java web application setup and see how to analyze and optimize the same using AppDynamics tool.

Java Enterprise web application N-tier set up

Take an example of below n-tier java web application interacting with complex middleware system, integrate with numerous external web api’s and equally powerful backend storage system.

enterprise_java_web_application_setup

enterprise_java_web_application_setup

The diagram covers quite common and complex enterprise application set up.

  • Web Servers (eg. Apache web server)
  • Application Servers (tomcat application server)
  • Mobile application server (tomcat application server)
  • Email Server
  • Web content management server (eg. Team Site, Alfresco)
  • Web application Administration server (tomcat application server)
  • File servers (Shared disk eg. NFS)
  • Real time/Messaging/Queue server (eg. ActiveMQ)
  • Data/File processing backend servers (tomcat application server)
  • Data storage/Database servers (eg. MySQL/Oracle)

Problem Context

Read the rest of this entry »

Posted in Architecture, Database, Hibernate, Java, Security, Spring, Web Services | Tagged: , , , , , | Leave a Comment »

Scala Train: Get on it, you will miss it or will be too late

Posted by Jai on December 5, 2012


Early morning run to catch the metro, sometimes you find it just leaving the platform or door closing in front of you and you say c/s/f***. Ofcourse you will catch next one but you always think if you have been early few sec or if you have started early. Something similar with the IT world, new programming languages or something new to catch on.

I am just back from two days training “Fast track to Scala” organised be Xebia in association with Typesafe. The fresh thoughts around the same here.

Urs Peter did a good job in organizing the training and getting us familiar with core concepts of the programming language and relevant pointers to take the torch further.

I do remember some time back me starting a bit with initial hello world stuff around scala and lift, covering in the post “Getting started with scala“. But never got a chance to get my hands dirty and to actually use in any of the real projects.

To relate to the title, we did cover lot of hands on exercises during the training around developing application scalatrain, a journey planner application. And yes, the whole idea of getting on it from the exercise itself.

Why scala must try for every java programmer

For every programmer, you need to keep moving on new promising things analyzing all pros and cons around it. For all java programmers, the additional paradigm shift is indeed the functional programming ideas, everything is function.

Read the rest of this entry »

Posted in Java, Scala | Tagged: , , , , , | Leave a Comment »