This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java 7: what about applets?

 
Dan Bromberg
Ranch Hand
Posts: 52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jeffrey Friesen
Author
Ranch Hand
Posts: 67
5
Android Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeff,
Thanks for your detailed explanation - much appreciated!
Dan
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic