Posts

Showing posts from June, 2018

IntelliJ Idea - Tips, Tricks and Shortcuts

Image
This post is about helpful tips and tricks of Intellij idea which is the most popular IDE. This post will be updated continuosly with tips and tricks. It's a kind of never ending post. :) Please post your tips, tricks and useful information about intellij in the comment box of this post so that i can update this article. Shortcuts ctrl + g    To go to particular line in a file ctrl + n    To Open a java file ctrl + shift + n  To open any kind of file ctrl + space    Tye any characters and press the combo to get suggestions from IDE Alt + Up, Alt + Down  -> You can easily move between methods in the editor. Ctrl + Shift + V -> A dialog will be opened where you can chose and insert recent clipboard content. Alt + F8 -> It evaluates an expression in debug mode when we choose text and do Alt + F8 Ctrl+Alt+Shift+N - To open a method or field in the editor quickly. Ctrl+Shift+Enter - It auto-completes if, do-while, try/catch, return into a correc

Spring Cloud Stream and Apache Kafka

Image
Hi, I am Malathi Boggavarapu working at Volvo Group and i live in Gothenburg, Sweden. I have been working on Java since several years and had vast experience and knowledge across various technologies. Apache Kafka is a distributed streaming platform that provides scalable, high-throughput messaging systems in place of traditional messaging systems like JMS. It is developed by LinkedIn.  I will come up with new post which will explain about  Kafka architecture in detail as this post demonstrates only the simple application which uses  Kafka as streaming platform.  In this post we take a look at how to build a streaming application using Spring Boot, Spring Cloud Stream and Apache Kafka. Spring Cloud Stream is a framework built upon Spring Boot which is used to build message driven microservices. I have also uploaded the exercise files to my GitHub. You can find them at MalathiBoggavarapu / SpringCloudKafka So let's get started now. First we need to downlo

Spring Boot Apps- Technical Issues and Challenges

Image
Hi, I am Malathi Boggavarapu working at Volvo Group and i live in Gothenburg, Sweden. I have been working on Java since several years and had vast experience and knowledge across various technologies. This post is related to technical challenges that were being faced at daily work regarding Spring Boot applications. Please note, anyone who is willing to share the problems and solutions regarding Spring Boot applications, you are welcome to post them in comment box. I will add them to this post so that it would be helpful for others. Let's also talk a bit about Spring Boot. Spring Boot makes life easier when we want to integrate different libraries and frameworks in your application due to its dependency management structure. Spring boot causes intelligent collection of dependencies "The bill of materials" or BOM. The spring developers have taken the time to match up all the frameworks that you may want to include in your application with approp

Best Design Practices for securing webapplication

Hi, I am Malathi Boggavarapu working at Volvo Group and i live in Gothenburg, Sweden. I have been working on Java since several years and had vast experience and knowledge across various technologies. This post will introduce you to the design practices about User authentication which is required for every web application. As you all aware that user authentication is the gateway for the application where user is verified against different set of rules and guidelines inorder to access the application services. Now-a-days Cyber attacks has become very common in this computer world and companies need to protect their Developement systems and software in an effective manner to thwart the cyber crimes. As we all know User authentication mainly consists of Loginname and Password. Below are some of the best practices we could apply during authentication inorder to safegaurd the application and i also discuss a bit about performance of the application now and then. Design

AWS - DeepLens (A Deep Learning Camera)

Image
Hi, I am Malathi Boggavarapu working at Volvo Group and i live in Gothenburg, Sweden. I have been working on Java since several years and had vast experience and knowledge across various technologies. DeepLens - A Deep Learning Camera Amazon's Cloud computing subsidiary, Amazon Web Services (AWS), has launched  DeepLens - A Deep Learning camera for all the developers in US.  It is the new way to learn Machine Learning. T he product is about teaching the basics of deep learning which is one of the machine learning technique with example projects available and pre-trained computer vision models that can detect faces, objects, and recognizing more than 30 kind of actions such as guitar playing, tooth-brushing, applying lipstick. DeepLens is the Amazon's equivalent to Google's Clips Smart camera but it is targetted for Developers instead of Consumers. Technical Specifications DeepLens is a 4-Megapixel (1080

Linux command line - Working with text using grep and sed

Image
Hi, I am Malathi Boggavarapu working at Volvo Group and i live in Gothenburg, Sweden. I have been working on Java since several years and had vast experience and knowledge across various technologies. In this post we discuss about Linux commands  grep and sed and the corresponding options that are helpful at work. When working with text on a linux system, we often need to search for particular string in log file or in some code or in some configuration file. Well there is always an option to open the file and look through it but there is a better tool to do. That is grep command. First let's create a text file with some text in it and we work on grep command and it's options using the text file content. I prefer to use Cygwin shell to execute the commands of Linux. But it is upto you to determine which shell you want to use. Open the shell and create a text file with some content in it. I added the following text to the grep_demo.txt file. Pleas