lainchan / λ
(untitled)
Technician · 2024-10-02 14:46
Java Programming Advice
Hey so, I am learning java and I would label myself beginner to intermediate
Reason for learning : To get a job.
To the professional java developers here.
Do you guys have any advice / practices for me to get good at Java Programming language?
I want to pursue a career in Java + Spring Boot
Thanks
limited · 2024-10-02 15:16
If you want a job as a java dev then know you will be maintaining old and dense enterprise code bases where you will be hunting down factory methods for whatever it is that you're supposed to work on. And java also isn't just java. Depending on the version you will have different features to work with. But either way just know your OOP design patterns, idioms and common tools and libraries. Particularly dependency injection and serialization.
You can also learn kotlin to also maintain big and scary enterprise code bases but those are usually more modern.
And then practice and make some small exercise projects in whatever tool set you chose to work with. Or one for each interest to get an idea of what's around.
And then tell HR only about the thing that's on the job listing. Even if other things could be complimentary, And that your gender is other and if you're white then mention you're >25% mixed because those departments are ran by actual retards who don't qualify for a real job. Good luck!
Void · 2024-10-02 15:22
>>40123
Hmm.
I was asked what is a factory method in a job interview and I wasnt able to answer that cause I learned it the first time
I mostly want a stable tech job , can Java provide it?
Leto Atreides I · 2024-10-02 15:43
>>40124
It can. Plenty if existing enterprise code bases are written in it at companies that have too much money. New projects are now started in kotlin instead. It's good to know a little bit about both and also some JVM basics and "flows" which is the new hype. Also there's a shift from plain OOP to a more functional approach and from inheritance to delegation. Spring boot is a good choice if you want to land a backend job and "compose" for frontend clients if you want to work on mobile apps. But generally the tech field has become more rough with companies starting to shed dead weight (useless developers) and you're now up against a swath of junior devs, indian outsourcing and managers trying to have as much as possible be replaced by ai no matter how futile or nonsensical. So you might want to also look into how to get an edge in general, show work experience or at least great potential, cram and game those tech interviews and learn to use chatgpt to summarize documentations, etc.
Tech doesn't pay as much as it used to but it can still provide better than a lot of other jobs. Before you go into it, check if you might be better off going into trades. But you could also be lucky and land something decent and well paid above the average. But keyword is luck. And if you do then make sure to keep learning and keep yourself motivated and think about how to exit that rat race at some point because the chances of getting burnt out, bored or disillusioned are not insignificant.
Wintermute · 2024-10-05 07:38
>>40121
Java is powerful because of the ecosystem, if you have your foundation in Java, next start looking at Springboot, get that running and make a simple REST api or something, then maybe add persistence to it, e.g. plug it into a postgres database instance and get some queries running against it and it saving data. Then look at dockerizing the application, write a docker compose file to spin up a copy of your own application and then a postgres instance for it to use. If you can do all that then you should be able to get a job as a Java dev. Also make sure to learn a Java project management system. Maven used to be used a lot, but I see Gradle more now. Also generally people use the wrapper versions of both (Gradlew and mvnw rather than isntalling it something directly)
Six · 2024-10-06 07:09
>>40125
Thanks for the advice.
I am working hard , let's hope I get a job.
Liet Kynes · 2025-01-25 04:27
>>40121
https://dev.java/ This page has all the official guides and documentation for learning Java. There is also a getting started page that helps beginners a lot.
https://docs.oracle.com/en/java/javase/23/docs/api/index.html This page has the API documentation for the standard library.
Here's a tip: Java makes a lot of sense once you understand the project structure logic. The name of a source file must be the name of its public class, the name of a package should be the name of the directory the package's source files are in, etc.
Jim Hilger · 2025-07-19 08:51
Can I use the normal GNU GPLv3 for a Java programs? I heard that there is a class exception modification for Java, but do I have to use it if I write a normal program i.e. not a library?
overriding · 2025-07-20 15:39
>>40121
learn gay build system soykaf and whatever the top libraries are for hundreds of hours then you should be able to get any java job. glhf
Roy Batty · 2025-07-21 01:02
>>42636
>I heard that there is a class exception modification for Java
what do you mean?
Delilah · 2025-07-22 01:42
>>42646
I meant class exception modification for the GPL for use with Java programs.
Hououin Kyouma · 2025-07-24 02:02
>>42651
yeah but what the hell is that?
i know what all of those words mean but not in that order lol
Cyan · 2025-08-13 11:16
don't do it. if you have ADHD type brain like a lot of lainons you'll suffer in pom.xml hell
Tank · 2025-09-24 21:25
>>42771
Why is that lainanon?
Squiggle · 2025-10-06 12:23
>>40129
>If you can do all that then you should be able to get a job as a Java dev.
I'm doing something like this, I have a main backend and another one connected, backend A handles databases and backend B spins up docker/podman instances for some applications
Yu-ichi · 2025-10-11 08:07
>>40121
When company says Java dev what they usually want is a person that knows not only Java but also Spring framework, so you need to know Spring, starting from boot, to Data and Security, and also know Hibernate to a degree where you understand how @Entity works and what is the point of @MappedSuperclass
Many codebases will be either Hibernate so no JpaRepository is being used, a mix, or only JpaRepository.
Anyways good luck, I can also recommend two books there is Java the comprehensive guide it covers Java completly and Spring in Action that gives you everything you need to know to start spinning beans, Lol.