YOUR FEEDBACK
Adobe Flex 2 - Answering Tough Questions About Enterprise Development
A Correct Person wrote: Denis Roebrt commented on the 21 Aug 2006 "Tough Que...


2007 West
GOLD SPONSORS:
Active Endpoints
Your SOA Needs BPEL for Orchestration
BEA
Virtualized SOA: Adaptive Infrastructure for Demanding Applications
Nexaweb
Overcoming Bandwidth Challenges with Nexaweb
TIBCO
What is Service Virtualization?
SILVER SPONSORS:
WSO2
Using Web Services Technologies and FOSS Solutions
Click For 2007 East
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
SYS-CON.TV
TOP THREE LINKS YOU MUST CLICK ON


Moving Beyond Applets

Digg This!

For thousands of companies, Java lowers the cost of software deployment and creates unprecedented flexibility in managing applications. In spite of this, I sometimes run into developers who sneer at applets. "I don't care about mere applets in Java," they tell me. "I'm writing real applications." Real applications, they argue:

  • Don't run within a browser, cluttered as it is with interface elements like menus, back/forward buttons, etc.
  • Are not limited by the Java "sandbox"
  • Are installed once and then run many times after installation
  • Are launched from the desktop

    Unfortunately, this desktop-centric paradigm has several limitations:

  • Applications must be installed by either the end-user (difficult to control and maintain consistency) or by the centralized IS department (very expensive).
  • Applications must be updated all at once, even if the change is very small.
  • Even if the application itself is written in an environment like Java, an installer must be written for every platform on which the application will be deployed.

    In fact, Java gives developers the best of both worlds, allowing applications to have the functionality of desktop applications while maintaining the flexibility and managability allowed by Intranets.

    To see how, I will address each of the objections outlined above one by one.

    My application doesn't need the browser user interface. Your application need not look like an applet running within a browser. A simple JavaScript command allows complete control of Navigator's "chrome":

    window.open("myapp.html", "MyApp", "width=640,height=480");

    This line of JavaScript opens a "chromeless" Navigator window that looks and feels like an operating system-specific application. Navigator 4.0 can also capture the entire screen (the desktop) if need be. In addition, Java allows a developer to create a native operating system window which can be launched from a HTML web page.

    I need to work outside of the "sandbox." The Java "sandbox" isolates the executing program from the underlying operating system. Although this isn't a problem for many applications, it limits applications that need to interact with a special server or access the desktop hard drive.

    To address this, Netscape Navigator 4.0 employs acapabilities-based security model for Java. Using this model, developers package programs in JAR files and sign them with their digital certificate. Once a JAR file is signed, it can ask for specific capabilities, such as "allow me to read and write to the TEMP directory." The end-user or security administrator then decides whether the signer is trustworthy enough to allow the program these capabilities.

    My application is quite large and my end-users can't download it every time they want to use it. Navigator 4.0 allows a signed Java object to permanently install itself on the desktop computer using SmartUpdate. SmartUpdate can include your application's code, other code (including binaries) as well as make minor updates.

    I don't want to require that my end-users run Navigator to run my application. "Running Navigator" can be almost invisible to the end-user if you use the appropriate JavaScript code to control the look of the Navigator window in which you place your application. However, it is true that Navigator must be invoked in order for this to take place. To this, I have two comments.

    First, many users - about 63 million at last count - have Navigator installed on their machines. Chances are that your target audience will already be comfortable in the Navigator environment and will be accustomed to using the corporate Intranet or the Internet to locate information and applications.

    Second, eventually the point will be moot. The traditional "desktop" will disappear, to be replaced by a webtop. The webtop employs HTML, Java and JavaScript as the primary interface; through it, users select content and applications using hyperlinks instead of traditional desktop icons.

    Java applications deployed through Netscape Navigator 4.0 offer the power and flexibility of traditional desktop applications in a multi-platform, net-centric environment. They are more than the best of both worlds - they are the future of computing.

    About Steve Thomas
    Steve Thomas is the platform product manager at Netscape Comunications Corporation. For more information, see developer.Netscape.com.

  • LATEST JAVA STORIES & POSTS
    JavaOne 2008: A Developer's Perspective
    This is my third JavaOne. Many topics were discussed, friendships were made, new partnerships were started. I must say things have changed a lot and stayed the same yet again, here are my thoughts in no particular order, bear in mind that they do not represent the opinion of my c
    3rd International Virtualization Conference & Expo: Themes & Topics
    From Application Virtualization to Xen, a round-up of the virtualization themes & topics being discussed in NYC June 23-24, 2008 by the world-class speaker faculty at the 3rd International Virtualization Conference & Expo being held by SYS-CON Events in The Roosevelt Hotel, in mi
    A Lightweight Approach to SOA and BPM in Java Using jBPM
    SOA is mostly associated with technologies such as BPEL, SCA and Web Services. But does SOA really imply these technologies? In this session we will show how you can use the service oriented approach while staying inside the Java world. jBPM is a powerful lightweight framework th
    Case Study: Java and the Mac
    This is the story of a Mac application developer (okay - it's about two of them) who set out on a quest to find an application development tool based on Java so his boss would let him develop on the Mac platform, which he loved. There was only one catch - he had to find a tool th
    eApps Hosting Now Offers the GlassFish Java Application Server in VPS Hosting Plans
    eApps Hosting announced that the GlassFish Open Source Application Server for Java EE 5, from the GlassFish community project, is now available as a click installable application service in low cost Virtual Private Server (VPS) hosting plans. The eApps Hosting service has support
    The 4 Core Principles of Agile Programming
    One of the things I really enjoy at the moment is the recognition and adoption of agile programming as a fully fledged powerful way to deliver quality software projects. As its figurehead is a group of very talented individuals who have created the agile manifesto (http://agilema
    SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
    SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
    Click to Add our RSS Feeds to the Service of Your Choice:
    Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
    myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
    Publish Your Article! Please send it to editorial(at)sys-con.com!

    Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

    SYS-CON FEATURED WHITEPAPERS

    ADS BY GOOGLE
    BREAKING JAVA NEWS
    Five Sun Microsystems Women Honored with Prestigious Awards
    Sun Microsystems, Inc. (NASDAQ:JAVA) today announced that five Sun women have been awar