Java/JVM, Software development
Introduction to Common Table Expression (CTE) in MySQL? A Common Table Expression (CTE) is a temporary named result set that is defined within the scope of a single SQL query. It allows you to write complex queries in a more readable and maintainable manner, by breaking them down into smaller, logical steps. CTEs can be used in MySQL...
Introduction As the software testing world evolves, it is important for developers and testers to stay updated with the latest technologies and tools. One such tool is Selenium, a popular open-source testing framework that automates web browsers. With the recent release of Selenium 4, many developers wonder what improvements have been...
For many use cases, when you have to perform compute-intensive work, make network calls, or execute some parallel processing, we tend to go with multi-threading. Some temporary threads are spawned to process smaller tasks and merged back to the main request thread post-processing. CompletableFutures CompletableFutures were introduced...
Use cases Let's assume we have a large number of published articles or topics. Each article contains some paragraphs or content that is obsolete now and should not be displayed to the end users. Since the number of articles is large, it is difficult to update the content quickly. Let's say we have all content ready, but this needs...
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...
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...
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...
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,...
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...
Java/JVM, Software development
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...
Connected TV, Experience Design
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...
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...