Logo
Header Main navigation
  • Who we are
    • About
      • About TO THE NEW
      • GenAI in Action
      • Leadership
      • Partners
      • Newsroom
      • Awards & Analyst Relations
      • CSR
      • Events
    • Insights
      • Case Studies
      • Whitepapers
      • Webinars
      • Newsletter
      • Podcasts
      • Blogs
      • Articles
      • Brochure
      • Testimonial
      • Video
  • What we do
    • Services
      • Generative AI
      • Digital Engineering
      • Quality Engineering
      • Cloud
      • Data
      • Digital Experience
      • Digital Marketing
    • Industries
      • Technology
      • Media & Entertainment
      • Financial Services
      • Insurance
      • Healthcare
      • iGaming
    • Solutions
      • HAWK | Infra monitoring & Log Analytics
      • Prism | AI-based Test Automation
      • Nimbus | Custom Data Ingestion Solution
      • VideoReady | OTT & Video CMS framework
      • BOLT | Faster AEM Development
      • Technologies
  • Careers
    • Careers
  • InfAInite GPT
    • Generative AI
    • GenAI in Action

 

Contact us

Careers
 
Home > Insights > Blogs > Bhagwat Kumar

Blogs

Told you, we love sharing!

Bhagwat Kumar
Technology

Technology

SpringOne2GX 2015 – Day 3 : Sessions, Talks and Take Aways

The Day 3, the second last day of the most awaited conference of developers, leaders and organisations working in Java, Spring, Groovy and Grails ecosystem started with a wonderful breakfasted at 7:30 AM in the morning. TO THE NEW Digital, leaders and contributors in Grails, marked their enthusiastic presence on the Day 3 as well and...

Bhagwat Kumar
Bhagwat Kumar September 17, 2015
Read→

Technology

SpringOne2GX 2015 – Day 2 : Sessions, Talks and Take Aways

Day 2 of SpringOne2GX, 2015 started on 15th September' 15 at 7:30 AM. The first hour at SpringOne 2GX was Podcast Interviews and some amazing pancakes. Sharp at 8:30, the most awaited and one of the biggest events of the Java and Spring stack community developers started with around 45 sessions planned in 5 slots of 1.5 hours each...

Bhagwat Kumar
Bhagwat Kumar September 16, 2015
Read→

Technology

SpringOne2GX 2015 – Day 1 : Demos, Talks, KeyNotes

Day 1 for @SpringOne2GX started at Marriott Marquis Washington, DC, USA today (14th Sept 2015). The day for the conference started at 3PM with registration. Badges for the participants were distributed along with the conference kit and yes a nice T-Shirt for the attendees. Following up next were some great demos of the products and...

Bhagwat Kumar
Bhagwat Kumar September 15, 2015
Read→

Grails

Create game Leaderboard using sqlProjection

Recently I was working on a Facebook game application using Grails 2.0 and Postgres database. The use case was to show the game leaderboard with ranks of the players. Players with same score should be given same rank and next player rank should be incremented rank of last player. Here is the sample data for players and expected result: ...

Bhagwat Kumar
Bhagwat Kumar November 8, 2012
Read→

Grails

Enhance HttpServletRequest using metaprogramming

Most of the times we use request.getHeader("user-agent") to get the client browser user-agent details inside the Grails Filters or Controllers. User-agent is one of the examples. There are so many such methods e.g. method for checking whether the request was an ajax call, getting IP address of the client machine, checking whether the...

Bhagwat Kumar
Bhagwat Kumar September 25, 2012
Read→

Technology

Sorting list with nulls as higher value

I had a list of Strings and wanted to sort them but pay special attention to null values. See the default sorting in demonstration : [groovy] List<String> animals=["Monkey", null, "Ape", null, "Tiger", "Lion"] println animals.sort() ...

Bhagwat Kumar
Bhagwat Kumar September 25, 2012
Read→

Grails

uploading multiple files with same name

A good binding feature in grails is that when you have multiple input fields with same name, they are available as a list in params. But this does not hold with html file input fileds. If you have multiple file input fields with same name, params.fieldName will not return a list but the first input field with name fieldName. This is due...

Bhagwat Kumar
Bhagwat Kumar November 18, 2011
Read→

Grails

Validating emails, urls and date using Java API

Recently I was looking for a programmatic way for validating data against well known validation e.g. email and date. I have to use them inside custom validator and sometimes in controller/action. Creating Command objects for validating was not suitable in my case(overkilling solution). Writing/looking for regular expression was another...

Bhagwat Kumar
Bhagwat Kumar November 14, 2011
Read→

Technology

Playing with call() using Groovy Metaprogramming

In groovy you can use "()" with any groovy object which in turn evaluates to invocation of call() method on that object. For example, the following are valid Groovy statements : [groovy] List myList=["one", "two"] myList() 10() 500 6+5 [name:"Bhagwat", profession:"Software engineer"] name ...

Bhagwat Kumar
Bhagwat Kumar September 15, 2011
Read→

Grails

Grails domain class and DDL sql file using schema-export

While debugging a domain and its database schema I found an interesting grails command line Gant script: schema-export. One of the great Grails command line Gant script to generate SQL scripts(DDL) which is executed against your database to model your grails domain. You can control the environment and the output file to generate the...

Bhagwat Kumar
Bhagwat Kumar May 4, 2011
Read→

Grails

Grails taglib and JavaScript file

We use internationalization feature in grails using message tag in GSP pages. However arbitrary Groovy/Grails (e.g. tags) code can not be used in JavaScript as they are not executed on server side. To overcome this I used the following way : Declare a JSON object in js file or any where else so that this object is global one. Create a...

Bhagwat Kumar
Bhagwat Kumar January 16, 2011
Read→

Grails

Externalize and reload grails configuration dynamically

Configuration file plays great role in grails. You can store application specific configuration at one place. One of the grails goodies is that you can externalize configuration file i.e. store them at a location so that it is not packed with the war file. Here is the part of Config.groovy that describes how to specify external...

Bhagwat Kumar
Bhagwat Kumar October 15, 2010
Read→

Post navigation

Older posts
Archive
  • 2026
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
  • 2025
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2024
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2023
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2022
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2021
    • Feb
    • Mar
    • May
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2020
    • Mar
    • Jul
  • 2019
    • Jan
    • Mar
    • May
    • Jun
    • Jul
    • Aug
    • Dec
  • 2018
    • Jan
    • Feb
    • Mar
    • Apr
    • Jun
    • Nov
  • 2017
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2016
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2015
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2014
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2013
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2012
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2011
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2010
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2009
    • Jan
    • Mar
    • Apr
    • May
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2008
    • Feb
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
Who we are
  • About TO THE NEW
  • Leadership
  • Awards
  • Events
  • Privacy Policy
  • Press Releases
  • Media Coverage
  • Partners
  • CSR
  • Modern Slavery Statement
What we do
  • Services
  • Technologies
  • Solutions
  • Industries
Knowledge
  • Blogs
  • Success Stories
  • Whitepapers
  • Webinars
  • Podcasts
  • Newsletter
  • Article
  • Brochure
  • Testimonial
  • Video
Contact Us
  • Career
  • Join us!
  • Request for Services
  • Media Queries
  • Responsible Disclosure
Follow us on
  • ln
  • twt
  • fb
  • Glassdoor
 
TO THE NEW logo
TO THE NEW logo

©2026 TO THE NEW

Tips for writing a blog

Learn how to write a caption