• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

are java applets obsolete now ?

 
Puspender Tanwar
Ranch Hand
Posts: 392
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have cleared OCA(81%) and OCP(76%) exams. Now I am thinking to learn some technologies in java. But have no idea where to start. I have some in my mind: Applets, Swing, JavaFx, Networking . I am in confusion about applets, as I heard that applets are obsolete now. I have no idea what applet actually do?
If obsolete, then by which technology ?
Also I am confuse in b/w Swing vs JavaFx , which to learn ?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15627
46
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, applets are obsolete. Oracle has even announced that in a future version of Java they are not going to deliver the Java browser plug-in anymore, so then applets won't even work anymore.

Applets were the thing that made Java "hot" in 1997, when Java was new. What was really new and powerful back then was that you could make interactive webpages - before that time, webpages were only static text and images. However, that functionality has been completely taken over by JavaScript. Also, the many security problems with the Java browser plug-in that have been discovered over the years have made it unpopular. Nowadays, nobody uses Java anymore for applets or anything else that runs in the client's browser.

Java's biggest success is on the server side. Many thousands of companies use it to build business software that runs on servers.

GUI technologies such as Swing and JavaFX are also not very popular. If you want to learn useful skills for building business software in Java, then look at Java EE.
 
Puspender Tanwar
Ranch Hand
Posts: 392
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks jesper
So, I should not waste my time in learning swing and javaFX ? Instead should focus on Servlets and Jsp ?
 
Dave Tolls
Ranch Hand
Posts: 2091
15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to learn a desktop framework then JavaFX is the one to pick as Swing is unlikely to get much support anymore.

It all depends what you want to do, but far and away the most jobs in Java are server side.
 
Puspender Tanwar
Ranch Hand
Posts: 392
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dave Tolls wrote:It all depends what you want to do, but far and away the most jobs in Java are server side.

Exactly, i think there are no jobs on application development using java. So, learning javaFX/Swing is not fully worthy . Am I right ?
 
Campbell Ritchie
Sheriff
Posts: 51332
86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Puspender Tanwar wrote:. . . Exactly, i think there are no jobs on application development using java. So, learning javaFX/Swing is not fully worthy . Am I right ?
No. If you are looking for a job and there are more server side jobs then learning server side programming is a higher priority. But you will still find GUI frameworks interesting to learn.

If somebody comes to me and says, “I didn't learn it because I wouldn't need it for this job,” then I am going to reply, “then our job isn't the right place for you.”
 
Stephan van Hulst
Bartender
Pie
Posts: 6503
83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to write in-house tools from time to time to assist us with our work on web-applications. I make them all using Windows Forms, but if we were a Java house I'd be very happy with my Swing skills.
 
Puspender Tanwar
Ranch Hand
Posts: 392
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Campbell and Stephen
So, now I should stop wasting time on asking Swing vs javaFX or "is javaFx of no use" and should start learning both of these . Right ?
 
Stephan van Hulst
Bartender
Pie
Posts: 6503
83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't have experience with JavaFX, but I hear it's the new way of doing desktop things in Java. I use Swing because I have a lot of experience with it, but if I hadn't, I'd probably just learn JavaFX.
 
Puspender Tanwar
Ranch Hand
Posts: 392
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Stephen, one more thing i want to ask. Since I am going to make a client-server dekstop application using servlet/Jsp, can I use javaFX in that ?
 
Stephan van Hulst
Bartender
Pie
Posts: 6503
83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean that you're going to have a client desktop application that's going to communicate with a web-service? Sure, you can use JavaFX for that, but then you wouldn't be needing JSP. I'm not sure why you want to do this though, if you already have a web-service, it's usually easier to provide a client-side application that will run in the browser.
 
Campbell Ritchie
Sheriff
Posts: 51332
86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stephan van Hulst wrote:. . . I use Swing because I have a lot of experience with it, but if I hadn't, I'd probably just learn JavaFX.
Agree. If you are new to GUIs go straight for JavaFX.
 
Puspender Tanwar
Ranch Hand
Posts: 392
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok let me explain what I want to do :
Actually I don't know which technologies to use. Let me explain my project to you
I have a organization, for Now i manage my work and meetings on papers, But then I realize that I can manage it on my computer and whole my staff too. So, I decided to make a software , provide user id and password for each employee of my organization . Each employee login to their account and check for their meetings and works. Its not a simple desktop application, this uses a server , so the internet too.
If employee "A" has some meetings, his all the seniors can see his meetings but "A" cannot see his seniors meetings.
I don't know how to achieve this whole project.
Some idea i have:
- I will host some space form server (don't know from where)
- use mySQL RDMS
- Eclipse IDE

Rest I have no idea. Pardon me for my incorrect technical words
could you amazing people help me please .
 
Stephan van Hulst
Bartender
Pie
Posts: 6503
83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sounds perfect as an MVC web application. You can write the entire thing using servlets, using a framework such as Spring MVC. You could host the application on a server inside your organization, and the members can then just access it through their browsers.
 
Puspender Tanwar
Ranch Hand
Posts: 392
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stephan van Hulst wrote:This sounds perfect as an MVC web application. You can write the entire thing using servlets, using a framework such as Spring MVC. You could host the application on a server inside your organization, and the members can then just access it through their browsers.

Thanks Stephen
Can I write the entire project perfectly using Servlet & JSP (without using Spring framework) ?
What if that organization don't have their personal server ?
 
Tim Moores
Bartender
Posts: 3127
50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I write the entire project perfectly using Servlet & JSP (without using Spring framework) ?

Yes. I wouldn't call it "perfect" (frameworks can save you a lot of time), but it's certainly possible.

What if that organization don't have their personal server ?

Can you elaborate what that has to do with the other questions? Hosting would seem to be an unrelated topic.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic