Home » Author Archives: Raji Sankar

Author Archives: Raji Sankar

Modeling Business Transactions – 1 (For SaaS Pricing)

software-development-2-logo

In the blog “Transforming a server application to cloud application“, I have talked about the changes required in business functions to transform an application to a cloud application. In this series I want to bring out the changes required in architecture to implement these use cases. Need for Re-architecting for pricing Starting with the pricing use cases,  pricing can be ...

Read More »

Transforming a server application to cloud application

software-development-2-logo

On-premise products are architected and designed for server operating environment i.e., they are web-based applications. SaaS, on the other hand is a cloud application (an application exposed as a service in a cloud operating environment) i.e., they are web applications. The major differences between the two operating environments are in: Pricing: There are inherent differences between the way products and ...

Read More »

Architecting a Multi-tenant Application

software-development-2-logo

A multi-tenant application is an application where a single running instance serves many customers. An alternative to multi-tenancy is managed services, where one running instance is set up for each customer. The table below shows a comparison between the two approaches.               Feature Multi-Tenant Application Managed Services Cost Structure Supports usage based pricing as ...

Read More »

Preventing System.exit calls

java-logo

When developing containers that run code written by other developers it is prudent to safe-guard against System.exit calls. If a developer inadvertently calls System.exit and deploys their code to be run by your container, it brings down the container process completely. This can be controlled using the checkExit function call in SecurityManager. According to the reference for SecurityManager checkExit: This method is ...

Read More »

HOW TO: Stereotyping a java Class

java-logo

In this HowTo post I will show how we can stereotype a class with another class. Why is this useful? When there are a lot of BCI’ing happening in your project, it is not prudent to let every developer write the BCI code. For one, this does not abstract the BCI library used. Thus changing the library itself becomes difficult. ...

Read More »

Using serialization to find dirty fields in an object

java-logo

Say you are developing a framework to auto-save objects into a database. You need to detect changes made between two saves, so that only modified fields are saved. How to detect dirty fields. The easiest way to do this is to traverse through the original data and the current data and compare each field separately. Code as below:     ...

Read More »

Customization in Saas using Plug and Play Architecture

software-development-2-logo

There exists a lot of design patterns, architectures and design concepts that can be applied to technical aspects of implementing a product. For eg., we have MVC architecture that isolates the view, controller and model of the application. We have a factory pattern that defines how to create objects and so on. Yet, these all limit themselves to the technical ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.