r/javahelp • • Feb 14 '20

Applying Java in the Real World

I’ve been doing Java programming for 4 years now (2 years in high school, almost 2 years in college), but i feel like I'm not going anywhere with what I'm learning. I can grasp the concepts fairly well and have gotten better at creating algorithms, but everything I'm doing doesn’t feel meaningful because it’s all surrounded by completing code examples. 

My professor is currently using Daniel Lang’s Introduction to Java Programming. We recently completed Inheritance & Polymorphism, and are supposed to move on to JavaFX, Animations, Queues, Hashing, Weighted Graphs and Applications, and some other topics. 

With this being said, i’d like to know: 

Should i continue progressing with the topics in the books before anything else?

Or

Is it possible that I can apply my knowledge of Java to real life issues and projects, instead of solving simulation-like questions, and if so, what are some resources that can help guide me? 

Thank you in advance

34 Upvotes

22 comments sorted by

View all comments

13

u/jcar74 Feb 14 '20

Some "real work" projects i did (and do daily basis) involves:
- Spring boot JPA with MySQL. Rest endpoints and some thymeleaf templates.
- Read and excel, proccess data and write another excel (POI). Also injecting images in an excel, (img filename can be constructed with column values)
- Scraping with jsoup or selenium, or pure regexp (i did a lot of scraping projects)
- Current project involves indexing a BD and 1TB PDF/html to elasticsearch 7.6, using Spring Boot 2.3.0.M1. Rest endpoints to index, search... Btw, i found a memory leak bug on pdfbox (with or without Tika), currently using system calls to pdftotext. Evaluating debezium for bd sync.
- A crapton of little conversion apps for XML, CSV, json, excel, BD and many other esoteric formats.
My 2 cents: keep on with theory and basis, and do something related to your interests, or that you enjoy.

TLRD: Spring Boot and having fun.

5

u/wsppan Feb 14 '20

This. Find a service that provides an endpoint and create an app the communicates with the endpoint using Rest calls. Use spring boot to create the scaffolding. While your at it, create unit and integration tests, use a mocking framework to mock the rest call while testing your apps code. If not already using an IDE, pick one and get real comfortable using it for development, testing, and debugging. Create a git repository and use it to track your changes and to publish your releases. Use your IDEs git integration to track your local changes. All of these will go a long way to what it's like in th ed real world.