In Grails, We can define custom beans in resources.groovy. A simple bean definition looks like [java] myClass(MyClass) [/java] Read more about them here. Recently, I wanted to define a bean, where the bean’s constructor required me to call a method on another bean to be instantiated. To make it more clear, Let us consider a […]
We at IntelliGrape divide Big Data into four major sectors – as we commonly refer as 4C’s of Big Data. These 4C’s are:- Capture (Data Ingestion) Contain (Data Persistence (NoSQL) Compute (Data Processing) Comprehend (Data Analytics and Visualization) Within this blog, I’ll be focusing on the last pointer i.e. Comprehend part of Big Data – precisely […]
While making an application, showing user’s image is a very common use case. Gone were the days when we used to show anonymous image in case a person’s profile image or display image is not present.
Selenium WebDriver is a clean, fast framework for automated testing of webapps. Selenium WebDriver, a popular and well established testing framework is a wonderful tool that provides a handy unified interface that works with a large number of browsers and allows you to write your tests in almost every language you can imagine from Java […]
Restricting concurrent sessions for a single user is a very common requirement for any software tool which requires licensing based on number of users. You can read about how we can manage (or allow) concurrent sessions with Grails 2 using Spring security plugin in this awesome concise blog here. let us see how we can […]
We often use synchronization. Imagine you have a use case in which there is some resource upon which writing is not done as much as compared to reading. So multiple threads should be able to read concurrently same resource without any problems. But if a single thread wants to write to the resource, for that all new […]