This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Features new in Java 7 and the fly likes Java 7: what about applets? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Features new in Java 7
Bookmark "Java 7: what about applets?" Watch "Java 7: what about applets?" New topic

Java 7: what about applets?

Dan Bromberg
Ranch Hand

Joined: Oct 18, 2005
Posts: 51
What is your feelings about using Java applets in a browser?
Last I heard was to turn it off due to a security scare.


Thanks in advance to all who reply,
Jeffrey Friesen
Ranch Hand

Joined: Dec 29, 2012
Posts: 37

Hi Dan,

I didn't cover applets in the book because I don't like them. I think that resources can be better spent in developing a unified deployment architecture for deploying Java/JavaFX apps to Android, iOS, Windows Phone, desktop, and other environments.

There are two kinds of apps: web and native. Web apps are written in JavaScript/CSS/HTML5 and deployed to browsers. Although getting these apps to run anywhere a browser runs is a desired goal, there are often inconsistencies among browser implementations of various features that impede this objective. Thankfully, tools like jQuery address some of these concerns.

Native apps are seen as more performant and have full access to the device. However, it's more challenging to deploy a native app to as many devices as possible, which is the big disadvantage that native apps have when compared to web apps.

To my way of thinking, putting a Java applet into a browser is a bandaid solution to deploying a Java app to as many devices as possible. The developer is faced with deployment difficulties including security headaches. I think Oracle should (and will) create a better deployment solution so that Java/JavaFX apps can be easily deployed onto existing smartphones, tablets, and desktops.

All the best.


Dan Bromberg
Ranch Hand

Joined: Oct 18, 2005
Posts: 51
Thanks for your detailed explanation - much appreciated!
I agree. Here's the link:
subject: Java 7: what about applets?
Similar Threads
running applet through JSP
Cannot run Apache HttpClient in applet
Java Programming book: do you think Applets still have space in new web applications?