Java

Beginner, Coding, Java, Java, Learn Programming with Me

I am learning Java in 2020 – Beginner – Simple Spring REST Service Setup and basic Validation (Part 2)

Operation System : Windows 10 IDE : IntelliJ Requirements : Java 8 > , Postman ( For Testing) Book | Tutorial : youtube tutorial Java version : 12 Git Project : Here Parts: Part 1 Goal Learn how to indicate erroneous actions and objects in the REST Service Solution Main Changes Model During my research […]

Beginner, Coding, Java, Java, Learn Programming with Me, Software Development

I am learning Java in 2020 – Beginner – Simple Spring REST Service Setup with In-memory DB

Operation System : Windows 10 IDE : IntelliJ Requirements : Java 8 > , Postman ( Rest API Testing) Book | Tutorial : youtube tutorial Java version : 12 Git Project : Here Starter Project: Here Parts: Part 2 Goal Learn how to setup a spring rest application Learn how to add dependencies in the […]

Coding, Java, Java, Learn Programming with Me, Software Development

I am learning Java in 2020 – Beginner – Absolutely Simple Restaurant DB connection using JPA

Operation System : Windows 10 IDE : Eclipse IDE ( Java EE – 4.15.0 ) Java version : 12 Less complicated version : In Java and in Python Requirements: Java installed, MySQL connector jar ( here) , MySQL Optional : Eclipse Java EE IDE Goal Learn the java persistence architecture ( JPA ) Pseudo-code Create […]

Beginner, Coding, Java, Java, Learn Programming with Me

I am learning Java in 2020 – Beginner – Java and a MySQL Database

Operation System : Windows 10 IDE : Intellij IDEA Community Python Implementation : Making a simple database for a restaurant menu Problem Goal Learn how to connect to a mysql database in Java. Pseudo-code Make a connection to the mysql db Create the “restaurants” database, if not exists Populate the “Nigerian” table in the restaurants […]

Beginner, Coding, Java, Java, Learn Programming with Me, Python

Learning Java in 2020 – Beginner – Ridiculously Simple Python Client and a Java Server

Overview reference Problem Goal Make a python socket client send a “hello” message to a waiting java server. Voila! Pseudo-code Create a server socket that waits for incoming streams / connection from another address Send a “hello world” message to the server socket and have the server socket print it out after the connection has […]

Beginner, Java, Learn Programming with Me

Learning Java in 2020 – Beginner – Available Ports in a Machine ( Network Programming Basics)

Overview reference Problem Goal Try to find open ports on a computer by using its ip address.. Pseudo-code Get the ip address Get range of ports to be checked Make connections to ip address at each port within the given range If connection is established, write the port in the “openports.txt” file and close the […]

Beginner, Java, Learn Programming with Me

Learning Java in 2020 – Beginner – Check if Palindrome

Overview reference Problem Goal Check if the the user input reads the same forward and backward. Here for more explanation. In this solution we will be ignoring the case. Pseudo-code First of all, the user input string is obtained and reversed. Both the original value and reversed form are stripped of non-alphanumeric characters. That way, […]

Beginner, Java, JavaScript, Learn Programming with Me, Software Development

Learning Java in 2020 – Beginner – Reverse String

Note I am a novice in the world of java programming and hope that similar learners would benefit from my learning experience. Also suggestions and corrections/revisions are highly welcomed from java programmers at any level. Problem Goal: Reverse a string Pseudo-code : Get a string from the command line Declare new string and initialize with […]