Grails, Java

Handling Exceptions in Grails

Daahh !! Who doesn't know how to handle exceptions. A simple try-catch block would do the job. But think of so many methods where we will have to keep the same code of catching exceptions and then creating the desired response. Hmm, haven't you heard of the common try-catch in the filter? Well, we can do that! But let's say we have...

by Sumit Navin
Tag: Java
03-Jan-2022

Java, Product Engineering

Groovying on Template Aid for Java

If you haven't combined Groovy scripts with your Java projects yet, you're missing out. It's super easy with Maven, and it'll make your code more modular and elegant. But most importantly, you'll have some fun scripting, and if nothing else, you'll most certainly benefit from some of the grooviest features, including the magic that...

by Sumit Navin
Tag: Java
23-Dec-2021

AWS, Cloud

TO THE NEW Organized TechFluence, 2018: Highlights

TechFluence, 2018 is a community-driven technology conference organized by TO THE NEW on 24th March 2018 in Crowne Plaza, New Delhi. We have been organizing GrailsConf, an independent series of global conferences with a complete focus on Groovy, Grails, Gradle and the related technologies from last 5 years.  This year we decided to...

by Nidhi Choudhary
Tag: Java
28-Mar-2018

AWS, Cloud

TechFluence 2018: 1 Day To Go!!!

After 4 successful editions of Grails Conferences, TO THE NEW is back with something big this time and it covers a broad spectrum of technologies. Introducing our flagship annual technology conference TechFluence. The conference sets the stage for learnings on technologies such as Blockchain, AWS, Docker, Java, Spring, NodeJS, React,...

by Sakshi Tyagi
Tag: Java
23-Mar-2018

Java, Technology

Java Garbage Collection – An Overview

Garbage Collection is a process to identify and delete the objects from Heap memory which are not in use. GC frees the space after removing unreferenced objects. The event in which Garbage Collectors are doing their job is called "Stop the world" event which means all of your application threads are put on hold until the garbage is...

by Greesh Kumar
Tag: Java
20-Jan-2018

Java, Software development

Asynchronous Programming & Aggregation using Apache Camel

In any user facing and real time application, data is of utmost importance as it directly affects any business's market and revenue. Recently, we were needed to build an OTA for booking hotels; wherein User may book hotel rooms for specific dates. For this, we integrated with multiple Suppliers for fetching hotel information which...

by Manali Khanna
Tag: Java
30-Aug-2017

Connected TV, Experience Design

Top 6 Key Considerations When Developing Smart TV Application

We are living in a smart economy. Every passing day we witness a surge in smart and connected products may it be Smart Home, Smart Phones, Smart Watches or Smart TVs. The rise in digital technologies presents an opportunity to develop cutting-edge products that are both engaging and intuitive. Companies wanting to ride the smart bandwagon...

by Nidhi Choudhary
Tag: Java
22-Aug-2017

Java, Technology

Working with TestNG Annotations (Part1)

TestNG is a Java Framework to set up the execution flow of the code and for reporting purpose.  Annotations used in TestNG: Annotation Description @BeforeSuite BeforeSuite annotation method runs only once before all tests from the suite. @AfterSuite AfterSuite annotation method runs only once after all tests from the...

by Atul Sharma
Tag: Java
14-Jul-2017

Front End Development, Technology

10 Best Practices in CSS

If you are inquisitive about learning and implementing CSS, then you must do it the right way, the way professionals do. Sometimes it’s the result of sloppy committal to writing from the beginning, and thanks to various hacks and changes over time. CSS could be a language that is employed by almost each developer for some purpose....

by Amit Narayan
Tag: Java
11-Jul-2017

Java, Node.js

MONGOOSE Tips and Tricks for Uncommon Cases

Mongoose is an object modelling package for Node that essentially works like an ORM for many popular languages much like Hibernate is for JAVA. Below are some of the mongoose special scenario(s) I stepped upon while working on the project. It took me some time to figure it out. Hopefully below details would prove helpful to you thereby...

by Rachit Jain
Tag: Java
27-Jun-2017

Java, Software development

Functional Interface for Lambda expressions : Java 8

As we already know that Lambda Expressions are used to support functional programming in Java. The default behaviour of Lambda expressions is to accept only those interfaces as reference variables which have only one abstract method. We call such interfaces Functional Interfaces. You could also name them as SAM, i.e., Single Abstract...

by Vinay Prajapati
Tag: Java
01-Jun-2017

Java, Technology

Why is Generic Array Creation not Allowed in Java?

To understand this topic let us directly start with an example. List<Integer> arrayOfIntegerList[] = new ArrayList<>[10]; // compile time error !! You will find that a simple statement like this will not even compile because the Java compiler does not allow this. To understand the reason, you first need to know...

by Vikas Verma
Tag: Java
25-May-2017