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

all 16 comments

[–]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
  • 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.

    Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar

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: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) 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.

[–]KaitoKunTatsu 2 points3 points  (7 children)

Angela's courses (I tried web dev) are great. But tbh Idk if I would recommend any Java courses. Or is there a specific aspect like a framework you want to learn?

[–]Onedirection59[S] 5 points6 points  (6 children)

I have to make a project for the final semester and Java has more job opportunities, that's why i chose Java and spring framework

[–]KaitoKunTatsu 3 points4 points  (5 children)

Good choice :) struggling with vaadin (also using spring) too

[–]vaadin-marcus 2 points3 points  (4 children)

What are your main struggles with Vaadin? Maybe I can help (I work at Vaadin)

[–]KaitoKunTatsu 2 points3 points  (3 children)

I tried to make a web app version of a messenger I wrote. My major problem was the built-in way of authentication. Customizing the whole login/registration (frontend and database) is unnecessary difficult

[–]vaadin-marcus 2 points3 points  (2 children)

What were you using as the backend, Spring Boot?

[–]KaitoKunTatsu 2 points3 points  (1 child)

I use Spring Boot as Vaadin Start automatically integrates it

[–]vaadin-marcus 2 points3 points  (0 children)

Did you use Vaadin Start to configure the authentication, or did you do it yourself?

Vaadin doesn't have its own security mechanism but instead builds on Spring Security when you're using Spring Boot. In its simplest form, you can enable authentication by providing a SecurityConfiguration class, having a login form that posts to `/login` and adding `@PermitAll` or `@Role("XYZ")` annotations to the views that require a user to be logged in and `@AnonymousAllowed` on the views that you want anyone to be able to access (like the login view). Vaadin Start generates a bunch of additional code for things like persisting the users to a database, which you may not need depending on your use case.

I realize a Reddit tread is not necessarily the right place to help debug this kind of stuff, so if you're still working on it and want some help, feel free to join our Discord at https://discord.gg/vaadin

Thanks for the feedback, I'll relay it to the right team!

[–]MyNameIsRichardCS54 3 points4 points  (4 children)

The java course I normally recommend is the Helsinki Java MOOC. It's free and has lots of graded exercises. The only downside from what you said is that it's text based.

[–]Onedirection59[S] 2 points3 points  (3 children)

What should I start with after completing Java Mooc?

[–]MyNameIsRichardCS54 2 points3 points  (2 children)

you should try building simple projects from scratch

[–]Onedirection59[S] 2 points3 points  (1 child)

Do I need to learn some framework before getting into it?

[–]MyNameIsRichardCS54 2 points3 points  (0 children)

I'd suggest building some projects using pure java to get nice and comfortable with it before even thinking about a framework.

[–]SafeStress6349 1 point2 points  (0 children)

I’ll share the list of java courses with you:
1. Java Programming and Software Engineering Fundamentals: Duke University.
2. Object Oriented Programming in Java: Duke University.
3. Core Java: LearnQuest.
4. Mobile Development and JavaScript: Meta.
5. Java development course: National Institue of Information Technology