• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java 7: what about applets?

 
Ranch Hand
Posts: 63
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author
Posts: 86
5
Android Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 63
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jeff,
Thanks for your detailed explanation - much appreciated!
Dan
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic