Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

and many more ....

Measure execution time in Java – Spring StopWatch Example

spring-interview-questions-answers

There are two ways to measure elapsed execution time in Java either by using System.currentTimeinMillis() or by using System.nanoTime() . These two methods can be used to measure elapsed or execution time between two method calls or event in Java. Calculating elapsed time is one of the first thing Java programmer do to find out how many seconds or millisecond ...

Read More »

Cross Site Scripting (XSS) and prevention

java-interview-questions-answers

Variants of Cross site scripting (XSS) attacks are almost limitless as mentioned on the OWASP site (https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)). Here I propose to use a Servlet Filter based solution for sanitization of HTTP Request. The attack Lets see how an XSS attack manifests itself. Attached is an over simplified portlet which shows a scenario which is very common in social and collaboration ...

Read More »

JBoss BRMS with JasperReports for Reporting

jboss-drools-logo

Introduction Jasperreports is a free downloadable library that can be used for generating rich reports for Java EE applications. This guide also provides the steps to generate report templates using Jasper iReport designer. Software requirements JBoss BRMS 5.3 (from customer portal, http://access.redhat.com) JasperReports 4.6.0 Jasper iReports Maven (for building report server) Ant (for building JasperReports)   Adding on JasperReports Just ...

Read More »

What can you get out of Kanban?

agile-logo

I’ve spent the last year or so learning more about Kanban, how to use it in software development and IT operations. It’s definitely getting a lot of attention, and I want to see if it can help our development and operations teams work better. What to Read, What to Read? There’s a lot to read on Kanban – but not ...

Read More »

DevOps: Flexible configuration management? Not so fast!

devops-logo

You’re in charge of establishing a department-wide deployment automation capability. Your fellow developers are excited about it, and their managers are too. There is no shortage of ideas on how it might work: “Let us create our own workflows!” “We should be able to configure our own servers.” “It should be able to deploy from Nexus, Artifactory, S3, or whatever ...

Read More »

WSO2 Identity Server: Identity Management platform

oasis-saml-logo

WSO2 Identity Server provides a flexible, extensible and robust platform for Identity Management. This blog post looks inside WSO2 Identity Server to identify different plug points available for Authentication, Authorization and Provisioning. WSO2 Identity Server supports following standards/frameworks for authentication, authorization and provisioning. 1. SOAP based authentication API 2. Authenticators 3. OpenID 2.0 for decentralized Single Sign On 4. SAML2 ...

Read More »

Best approach to software development

software-development-2-logo

Today, talking about doing a big design up-front (BDUF) sounds a bit ridiculous, right? Who would do that? That’s not craftsmanship, is it? However, in the past, that would be considered the norm. Writing requirement documents, drawing architectural and very low level detail diagrams was the right thing to do. Well, that’s what very smart guys proposed on the 1968 ...

Read More »

What makes parallel programming hard?

software-development-2-logo

Multi-cores are here, and they are here to stay. Industry trends show that each individual core is likely to become smaller and slower (see my post to understand the reason). Improving performance of a single program with multi-core requires that the program be split into threads that can run on multiple cores concurrently. In effect, this pushes the problem of ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close