wood burning stoves 2.0*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Features new in Java 7
Bookmark "Java 7: what about applets?" Watch "Java 7: what about applets?" New topic
Author

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.

Dan


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

Joined: Dec 29, 2012
Posts: 37
    
    5

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.

Jeff

Dan Bromberg
Ranch Hand

Joined: Oct 18, 2005
Posts: 51
Jeff,
Thanks for your detailed explanation - much appreciated!
Dan
 
Don't get me started about those stupid light bulbs.
 
subject: Java 7: what about applets?