DevOpsTechnology

Increasing the connection timeout between browser and the tomcat server

There is a case stuck recently in my Grails development project where I need to increase the connection timeout between the browser and the server, because of the reason before the response get completed server leave the connection which resulted in no response. My colleague Himanshu told me to change the setting in server.xml, which help […]

Tarun Pareek
Tarun Pareek
Read

Grails

Detecting mobile browsers in Javascript

In my recent grails project, I was working on mobile version of the application and needed to redirect users to the mobile version of our application, if they are accessing the application from any mobile device. I looked at various techniques/codes to detect the mobile device and redirect users to the specific URL. I encountered […]

Vishal Sahu
Vishal Sahu
Read

Grails

Install Apps on Facebook Fan page using API

Hi, In my current grails project, we are using Facebooks Apps for our application so that any user who wish to use that app, can attach it with his/her Facebook Fan Page manually by visiting the App Profile Page and then adding it to the Fan Page. Then the attached facebook app can fetch data […]

Vishal Sahu
Vishal Sahu
Read

Grails

Integrating Google plus in grails application

In my current project, i needed to integrate Google+ in the application using server-side API. Google uses OAuth2.0 protocol for authorization when our application tries to access the data. All we require is an access token to fetch data from Google using REST calls which serves data in JSON format. I implemented it using Web […]

Vishal Sahu
Vishal Sahu
Read

Technology

Speeding up Ubuntu

Of-late my laptop has been highly responsive …. as responsive as a sloth can be… 😛 I mean you wouldn’t be expecting an Intel i5 Processor with 4GB Ram and 500GB hard disk making you go for a coffee break every time you had to build or compile your code. I am sure many of […]

Manoj Mohan
Manoj Mohan
Read

Technology

Load Testing Made Easy with a Simple JMeter Utility

Load Testing is one of the major aspect which we all do for our applications, especially for those which have publicly available pages and has very heavy traffic. JMeter is a very commonly used tool for doing load testing. As developers, it is a very good tool to have in our skill set.   However […]

Vivek Krishna
Vivek Krishna
Read

Grails

Grails productivity enhancer. The unsung hero ‘grails interactive mode’

Of late, I have been thinking about the popularity of grails interactive mode amongst developers. I found that though most of us are aware of this mode but we don’t use it as often, as it should be. Where should I use grails –interactive mode while developing in grails? The answer may vary from person […]

Mohd Farid
Mohd Farid
Read

Grails

Grails:Domain Design Via Intellij Idea’s Diagrams

Here is an example of how to design Grails domain class with Intellij Idea.For this we need to have blank domain classes. So lets say we created  three Domain Classes Company,Book,Author To see relationship diagram, Selected Domain Class, and selected tab Domain Class Dependencies.It should look like this Lets assume the relation that publication has many […]

Hitesh Bhatia
Hitesh Bhatia
Read

Grails

uploading multiple files with same name

Grails does not support accessing multiple file input fields with same name using params.fieldName. We need to use request.multiFileMap (available in Spring 3.0) instead of request.fileMap. The blog provides sample code to achieve this feature via Grails Filter.

Bhagwat Kumar
Bhagwat Kumar
Read