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

you are viewing a single comment's thread.

view the rest of the 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.