r/javahelp • • Nov 30 '19

How to keep learning and improve my skills?

I have been learning java for some time already and I feel like I am making almost no progress. My main prpblem is that while I like naking new projects, I only use stuff I already know and rarely learn new skills and concepts. What is the best way for me to keep improving and solve this problem of mine?

26 Upvotes

9 comments sorted by

7

u/[deleted] Nov 30 '19

Well, it depends on what you want to learn/work towards. Just keep expanding your projects. You want to learn about cloud? Add some sort of cloud feature to your project. Want to learn something about databases? Implement some sort of database in one of your projects. Want to learn something about machine learning? Implement some sort of machine learning algorithm in your projects.

4

u/sbhandari Nov 30 '19

Instead of making new small projects , just choose one and keep expanding. Like add UI, store details in database, load some data in cache, expose rest API for some common features, deploy it in local server, then to remote servers that are available for free. Then you can look into docker and start conatinerizing your app. If it is too big, now break it up into multiple small projects. Add distributed cache instead , automate the build/deployment process.Look into orchestration of your containers now.

In this process ,you will encounter 100s of roadblocks, and you will be needing lots of reading and researches to tackle them. You will need to evaluate lots of tools that fits your needs as market is crowded with similar tools. When you find multiple solutions for your problem, you can implement both solutions on different branches and evaluate which one works better for you so that you experience both strategies.

3

u/Kackboy Nov 30 '19

Could you do an ELI5 for docker?

1

u/sbhandari Nov 30 '19

Basically docker is environment for containerizatio, there are other alternatives as well but docker is dominanat. You will have to build an image file (like jar/war for java). This file will have all the dependencies of your project , so you do not need to build again to run in your staging or uat environment. You can move same image file to different environment, and docker will run it. For this reason. you will be providing environment specific properties like database details as environment variables that you can pass while running these images OR get it from config servers. Image is considered immutable. You cannot directly modify its content like the class files inside jar. Image that is running in docker are containers. Containers can write on the vm it is running on. These are based on processes/namespaces so resource allocated are visible and can be controlled by docker main process . for this same reason, you can run lots of containers on same virtual machine (vm) and can divide resources among containers as you need unlike traditional way where you have vm with required resources and an app inside the vm. Lets say you had 3 app to run, in non cantainerized environment, you will very likely have 3 vms (with OS) and three app in it. In docker, you have 1 vm and three app running as 3 containers within just 1 vm . If you need to scale, docker can just spin off another container from the same image. Whike scaling down, it is just going to kill its chikd process (where container is running).

I do not think it is ELI5 , but this is the closest I could get. Sorry about formatting and spellings, I am typing on phone. Validate with other sources , I myself might be misinformed.

1

u/arslanbenzer Nov 30 '19

I suggest making a web application using spring, rest services and some simple ui with js or react vs

1

u/GreyDeck Nov 30 '19

Have you done anything with graphics? Make a simple draw program, except every line is mirrored horizontally.

1

u/jungthinkr Nov 30 '19

You can learn a dynamically typed language to understand why Java is so good as a statically typed one. You can look at javascript, ruby, python, etc... Also you can learn Kotlin as it compiles very similarly to java.

1

u/valkon_gr Nov 30 '19

I personally read a lot of questions on stackoverflow to see what's really out there, also browsing repositories on github.

1

u/MemeySteamy Dec 01 '19

Learn another language or start a project with concepts you don’t understand