Google introduced the new flutter 2.2 in their Google I/O event last month. They have introduced many more features to flutter with this release, including SDK for google payment and google ads. Not only that, they have released a new version of dart language, which is dart 2.13 that supports null safety. Let us talk about those brand new features today.

Before we start, If you don’t know who I am, you are welcomed to my personal blog DevPubba.com.

Dart 2.13 released

Dart 2.13 expands support for native interoperability, with support for arrays and packed structs in FFI. It also includes support for…


First, Let’s understand the SSL and HTTPS.

Before installing the SSL certificate for a WordPress site or a blog, Let's understand the purpose of the SSL certificate.

What is HTTPS?

HTTPS stands for Hypertext Transfer Protocol Secure. It is the protocol where encrypted HTTP data is transferred over a secure connection. Using secure connections such as Transport Layer Security or Secure Sockets Layer, data privacy and integrity are maintained, and websites' authentication is also validated.

What is an SSL certificate?

SSL Certificates are small data files that digitally bind a cryptographic key to an organization’s details. When installed on a web server, it activates the padlock and the HTTPS protocol and allows secure connections from…


Are you a reader? or a schoolboy or girl who is trying to learn English as an international language? What is the biggest obstacle you have when you reading, writing, or talking in English? I guess that it is the words you always struggle with. You discover a lot of words in your day-to-day life. But when you are trying to memorize them again at some other time, you might have forgotten them. That is totally normal situation. Because If you are not using them regularly, those words will be forgotten. It happens to me as well. …


Image Reference: https://alligator.io/react/learning-react-memo/

React.memo is a high order component that takes a component and returns a new component. The main purpose of this is to increase performance by avoiding unnecessary rendering. We’ll discuss more important details about React.memo in the below paragraphs

I will explain React.memo behavior using example, then it will be very easy for you to understand this concept.

First, let's take an example of simple code and do a dry run


image reference: https://www.tutorialswebsite.com/effect-hooks-in-reactjs/

If you are a React.js developer, you will know that these are widely used React.js hooks when doing frontend development. Most of us always have a doubt when selecting these functions since they do pretty much the same.

So today, let's talk about the real difference between them.

If you see the above functions they are exact same, the only difference they are having is the “Layout” in the method signature. But the real difference is the time they will be called. Let’s go to more details

UseEffect

This runs asynchronously after rendered elements are printed on the screen…


This is very simple task. I will use IntelliJ idea as my IDE. If you are reading this article you should work with docker and you might familiar with that. Because of that i won’t explain the part of creating a docker container.

First thing you need to do it to add following environment variables.

-e JPDA_ADDRESS=8000 \
-e JPDA_TRANSPORT=dt_socket \

Then you need to run tomcat container with jpda parameter. So full docker run script can be like below

docker run -it --rm \
-e JPDA_ADDRESS=8001 \
-e JPDA_TRANSPORT=dt_socket \
-p 8080:8080 \
-p 8001:8001…


Spring mvc is not being used in industry. They have moved to the spring boot. But in sometimes, projects that had been started long time back are still using Spring mvc. I also working with such kind of project. So they needed to dockerize their existing application that are based on spring mvc. Let’s go to the tutorial now.

First we need to pull the latest tomcat image from docker repository using following command.

docker pull tomcat:latest

Next you can create docker file and configure tomcat image according to your needs. Now we’ll call configured tomcat images as a “base_tomcat:1.0


Being a developer, you always need to use terminal in your machine. But default terminal doesn’t have good user interface. but we can use some plugins to make our life easier. Let’s look at this terminal

This has much more details than default terminal. It even record your recent commands. I’m pretty sure that it will make your developer life easier. Following are the advantages of this.

  • User interface is better that default
  • It has more than 200 plugins like git, ant, php, python, etc
  • It suggest rest of command (if you have already typed it)
  • It keeps your command…


Authentication is the most important part of the each and every web application. There are two ways that can be used to do authentication. First one is to maintain your own database and authenticate users from your own authentication provider. We have to do additional works to implement and maintain those code and databases. Next option is to authenticate users by external authenticators like Google Sign-In and Facebook. …


If you are using Weblogic Server and you need to create Weblogic custom authentication provider, I must say that you are in correct place. When I was reaching how to implement the OAuth in weblogic, I understood that It’s not possible implement OAuth 2 in weblogic because Weblogic 12c doesn’t provide any support to OAuth 2. So I had to create new custom authentication provider in order to achieve Auth 2 implementation.

Creating a Custom Authentication Provider

There were several ways of implementing custom authentication providers in WebLogic. …

pubudu jayasanka

Software Engineer at Creative Software

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store