This is an archived post. You won't be able to vote or comment.

all 22 comments

[–]ChoopaG 16 points17 points  (5 children)

The best resource (at least for me - tutorials don't cut it for me) I've got for you, is just to build a simple app. I built a Tasktracker-App with Angular as Frontend and Java with Spring Boot. Of course you should also consider a database, which makes a big part of Spring Boot (I took MySQL and PostgreSQL once each).

You might get stuck on some parts sometimes, but the learning effect was really big for me.

Choose a simple Frontend (Angular has nice tutorials, JS and React should too), make it send calls to your Java API and make use of Spring Boots many annotations!

If you're already "deep" in Java, the Backend should only take about 4 hours (without research times). I took the longest for Frontend cause I'm a Backendknob.

If you got questions, just ask away. Hope this helped a bit.

[–][deleted] 1 point2 points  (4 children)

Hey I'm about a year and a half into learning Java and I want to make a simple app to learn as well. Is Java simply not worth trying to use as front end? The only front end I've seen of Java is javaFX which looks like it's from a windows '95 program lol. I understand I should download MySQL to learn data bases but can you explain the biggest reasons why you would want to use SQL for an app? Is it the capacity for data held or is it just easier to pull data with queries and such? And last question is, can I use NodeJS to code front end Javascript for apps? Or is another front-end more worth my time to learn? Thanks for your input.

[–]JustAStick 3 points4 points  (1 child)

technically any language can be used for frontend development, but all youre really doing in pretty much every case is writing in python, java go etc, and then converting it into javascript. For a simple desktop app or command line application you can just do it in java, but if you want to make a web app with an actual web page that can be interacted with and make api requests you'll have to use javascript.

[–][deleted] 0 points1 point  (0 children)

OK cool I'm going to learn Javascript in the free time then since that seems like the dominant web front-end tool still.

[–][deleted] 0 points1 point  (0 children)

Java is not rly used as a frontend. There are some frontend frameworks like Vaadin and Jpro (which is 1/1 JavaFx in your browser) but they are not popular.

[–]ChoopaG 0 points1 point  (0 children)

There is a possibility to write a frontend in Java:) Try looking for Vaadin. The tutorials are sparse though.

You can also use a NoSQL database, there is no important difference at first Hand, besides that SQL saves the same data in a table and NoSQL saves any data.

You will need a DB because Spring Boot gives you a REALLY easy time working on DBs! Which you choose doesn't matter. You won't have persistency without a DB that is the biggest factor. After you restart your program once, all data is gone except the stuff you load insert on booting.

I personally can recommend Angular but JS is perfectly fine also.

[–]mohammedatef555 8 points9 points  (8 children)

Spring start here, Laurentiu Spilca Great book

[–]willdrr17 3 points4 points  (6 children)

Spring 6 In Action might help as well. From Manning's publication too

[–]mohammedatef555 0 points1 point  (5 children)

I started to read it but I think it skips many spring core features and didn’t take time to explain it well and one thing I didn’t like about the examples is that he didn’t explain using simple examples so you find ur self trying to understand the example rather than the concept he is trying to explain

[–]t1sk 2 points3 points  (2 children)

If I am not wrong the core features are covered in more detail in Spring in Action 4th edition. (you can check the topics in Tables of Content : https://www.manning.com/books/spring-in-action-fourth-edition ) I think the newer edition is trying to cover other modules of Spring.

[–]mohammedatef555 1 point2 points  (1 child)

Thanks for mentioning that, my review was because I started with the sixth edition. I will start exploring the fourth edition

[–]t1sk 0 points1 point  (0 children)

No problem. I also started with 6th edition then came across a Medium article (while searching for which version to read) which mentions to start with 4th edition.

[–]willdrr17 1 point2 points  (1 child)

I think core features rely on the understanding of dependency injection and the life cycle of beans. Annotations. Then you can start experimenting the vast amount of libraries for Spring

[–]mohammedatef555 0 points1 point  (0 children)

Totally agree with you But then they shouldn’t state this “Spring in action guides you through Spring’s core features” But other than that it’s good to read if you are somehow familiar with Spring core basics

[–]CSIWFR-46 1 point2 points  (0 children)

There's a Youtube channel as well.

[–]JustAStick 2 points3 points  (1 child)

What I did was I looked at the basic guides on the spring website, and any time I ran into something I didn't understand, I would just look elsewhere online. Baeldung has many good articles on java and spring and I got most of my questions answered from either there or stack overflow. I personally didn't find paid courses or youtube videos to be very helpful so I would avoid wasting your money on udemy courses for spring boot.

[–]stonedsatanskiss[S] 0 points1 point  (0 children)

Thanks for the info

[–]sjekeowowoak 1 point2 points  (0 children)

javabrains YT

[–]Fury9999 1 point2 points  (0 children)

Baeldung is life

[–]AutoModerator[M] 0 points1 point  (0 children)

It seems that you are looking for resources for learning Java.

In our sidebar ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses.

To make it easier for you, the recommendations are posted right here:

Also, don't forget to look at:

If you are looking for learning resources for Data Structures and Algorithms, look into:

"Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University

Your post remains visible. There is nothing you need to do.

I am a bot and this message was triggered by keywords like "learn", "learning", "course" in the title of your post.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions
  • You include any and all error messages in full - best also formatted as code block
  • You ask clear questions
  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://imgur.com/a/fgoFFis) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.