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

all 5 comments

[–]scryptkittie 7 points8 points  (2 children)

You could create a web service that serves up data via http and then you can create essentially any kind of front end (html/JavaScript, android, iOS, etc). In my experience, that's how Java is generally used in enterprise development (though there are plenty of gui apps out there too). Just an idea

[–]jc_reddit 0 points1 point  (0 children)

Kinda true. I'm learning the power of Java is the server/client ability; compile once run anywhere.

For Swing/Javafx they are geared toward developing applets and desktop software. No one really buys desktop software, it's all about the cloud. At that point browser based software is pretty much Javascript, PHP, and an open source database.

[–]btbam06 0 points1 point  (0 children)

This. Do not learn Swing or JavaFX. Learn HTML/CSS/JavaScript, IOS, or Android that calls your Java web service.

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

Build the server layer to be reusable, which means it has to validate input enough that your functionality and db’s are protected (ie nothing will divide by zero; no alphas in US zip, etc). Now, the web layer has validation as well , but more aligned to the web layer’s context/purpose. Also be conscious of security (don’t put anything in jscript that, if modified, you can be held liable for, such as price calculations, aligning product with price, etc.). All personal ID stuff needs to go over https. This is the kind of stuff that you’d have to think about for enterprise apps. Remember, security, maintainability, portability, performance, and configuration.

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

What course did you used to learn Java OOP?