These are some of the topics that a standard backend engineer should know. Here we are consciously excluding any particular tool, framework or programming language. Instead we want to focus on topics related to high level system design and architecture. It can't be an exhaustive list ever. I will try my best to keep adding… Continue reading High Level System Design and Architecture Topics
Category: Java
Working with Fixed Map – Unmodifiable or Immutable?
We often have to work with a defined collection of values in our programs. Maps are one way of holding those defined values and retrieving those by names when we need to use. One easy way of reusing those predefined values have been using static maps in a class so that we don't instantiate those… Continue reading Working with Fixed Map – Unmodifiable or Immutable?
My First Java Code Commit to GitHub
My First Java Code Commit to GitHub. For now I have started with a simple class and will keep adding more classes as I get time - ListPerformanceTestSimple.java https://github.com/ashikuzzaman/javaapichecks I had to do some trial and error before finally all the setups worked in my Ubuntu box. You can save the trial and error time… Continue reading My First Java Code Commit to GitHub
Finding Union and Intersection of 2 Large Lists
One of my colleague who works on performance tracking and tuning of applications asked for some helped around how to find the union and intersection of large lists. He works mostly on Python and Perl. Being a Java guy, I prepared a sample program for him to do this allowing to determine the size of… Continue reading Finding Union and Intersection of 2 Large Lists
Small Java Program To Convert Unicode Character Filled Sentences To Native or UTF-8 Character Filled Sentences
My colleague John asked for a tool from me last week so that he can finish the translations / localization works that he was doing. To solve it in a lazy way, I did some google around a bit but couldn’t figure out any easy tool that will convert Unicode characters \uxxxx to native locales.… Continue reading Small Java Program To Convert Unicode Character Filled Sentences To Native or UTF-8 Character Filled Sentences
Convert Http URL to Https URL – A Short Sample Code
Here is an example of how you convert an Http URL to a secured URL (Https). Here I am assuming the URL will be fully standard i.e. even the default port 80 will be written after colon as :80 and same for default https port :443. package com.google.test; /** * To compiple: javac -d .… Continue reading Convert Http URL to Https URL – A Short Sample Code
Replacing $ in a String in Java
I faced an issue in my project where we read a password for an admin user first from a file which has a dummy or wrong password written in it. Then I read the password from database and replace the dummy password with the real password that I get from Database. So the code was… Continue reading Replacing $ in a String in Java
How To Unescape HTML in Java
I was writing an Html unescape algorithm in Java today. What I came out with is the one below. There is a problem in the algorithm below that eats up some space or characters for some corner cases. Can you figure out what the problem is? I wrote the class in a way so that… Continue reading How To Unescape HTML in Java
My Thoughts On SCJP Java 6 Exam
Recently I have been thinking about the industry standard technology certifications, particularly around Java/JEE technologies. I am not exactly sure how valuable the technology certifications are when you are already an experienced veteran in the industry. But I can guess that it will give an impression to your upper management to accommodate you for the… Continue reading My Thoughts On SCJP Java 6 Exam
Bowling with Friends
Last week I went to bowling with my friends in Fremont and we enjoyed it a lot. I paid on behalf of them for the game so that everyone else pay me back later. Despite their repeated query to know how much they should pay me, I was too busy the whole last week to… Continue reading Bowling with Friends
Developing Simple Chess Board With Swing in Java SE 6
My first professional java project as a software developer was to build a client/server application using Java 2, Swing, RMI and Oracle database. Around 5 years back, it was a small team of 3 developers one project manager and one architect. At that time we used Forte For Java was facsinated how easily I could… Continue reading Developing Simple Chess Board With Swing in Java SE 6
Developing Simple Chess Board With SWT
I have worked with AWT, Swing and SWT in different projects. I was involved last 2 years mostly on web applications and hence after joining Philips, I got a chance to work with thick clients again. Here I developed a simple prototype for SWT beginners with step by step instructions to develop a chess board… Continue reading Developing Simple Chess Board With SWT