|By John Fronckowiak||
|July 1, 1997 12:00 AM EDT||
What Is The AFC?
I know that football season is right around the corner, but you're not going to find an in-depth analysis of football's weaker conference here. The Application Foundation Classes, or AFC, are Microsoft's answer to the Abstract Windowing Toolkit (AWT). The AFC builds on the AWT foundation to provide more user-friendly controls for your applications. The AFC is currently available only as a preview release and requires a Java 1.02 or 1.1 compatible compiler and Virtual Machine.
Last month, I showed you how to obtain, install and use the latest Java SDK 2.0 from Visual J++. You'll need to get the Java SDK 2.0 to begin using the Application Foundations Classes. The Java SDK 2.0 currently is available in a preview release. Check out the Microsoft Java SDK Web site at http://www.microsoft.com/java for the latest information.
The Application Foundation Classes are provided in three packages:
The User Interface package is the heart of the AFC. The focus here will be on how to begin to integrate the User Interface package into your own applications. I'll take a closer look at the FX and Resource packages in the near future.
The Application Foundation Classes are built on the foundation laid by the AWT. If you're already familiar with using the AWT, much of what you already know will remain familiar. Figure 1 illustrates the Application Foundation Class Hierarchy. The class names preceded by an asterisk (*) are AWT classes. As you can see, all of the Application Foundation Classes are extended from these base AWT classes. Figure 2 illustrates the class hierarchy of the user interface elements provided by the Application Foundation Classes. Many of these elements will be familiar to those familiar with AWT (i.e., button, check boxes, radio button) while others were not previously available (i.e., tree control, marquee).
AWT and AFC Compared
Before you think, "Here goes Microsoft again, trying to usurp yet another piece of the Java world", let's take a closer look. The Application Foundation Classes are built upon and extend the AWT, making it possible to mix both user interface models in your applications, which helps to preserve your user interface investment in your current applications and ease the transition over to a new programming model. Other user interface class models usually force a developer to choose between the AWT and another library.
Like the AWT, the Application Foundation Classes are written completely in Java, making them completely cross platform-independent. They provide new and better scroll bars and sliders, a tree control, a tab display, the ability to move through the user interface using just the keyboard and a file system explorer. The Application Foundation Classes permit the development of applications with user interfaces that are familiar to users of traditional Windows-based applications.
How To Use The AFC
Building Java applications with the Application Foundation Classes is no different from building your applications using the AWT. Instead of using the Applet and Frame classes, the UIApplet and UIFrame classes are substituted instead. Since the UIApplet and UIFrame classes are extended from the AWT Applet and Frame classes, it is possible to mix both AWT and Application Foundation Classes components. Listing 1 demonstrates how to create a shell AFC applet. Listing 2 demonstrates how to call the HTML necessary to call the shell applet. The AFC can also be used to create standalone applications. Listing 3 demonstrates how to create a standalone shell application using the Application Foundation Classes. Remember, you-ll need to have the Microsoft Java SDK 2.0 preview version installed and have your Visual J++ environment configured to use the pre-release version of the compiler. I described how to configure your Visual J++ environment to use the new version of the compiler in detail last month. In its current release, the Application Foundation Classes support both the traditional event handling model as used in these examples and the event delegation model supported by Java 1.1.
The Application Foundation Classes are available as part of the Microsoft Java SDK 2.0 on the Microsoft Java Web site, http://www.microsoft.com/java. If you're looking to use the Application Foundation Classes on non-Windows based platforms, the classes are also provided separately. Since the new compiler and the Application Foundation Classes are still pre-release versions, a few bugs still exist and they aren't optimized yet for full production use. The final version of the Application Foundation Classes is scheduled to ship with Internet Explorer Version 4.0 later this year.
It's clear that the Application Foundation Classes will play an increasingly important role in the development of Java applications from a Microsoft perspective. It's uncertain if the Application Foundation Classes will win over the hearts and minds of all Java developers - given the current state of relations between Microsoft, Sun and JavaSoft. The Application Foundation Classes do provide a number of user interface elements that allow developers to create applications with familiar user interfaces (at least to Windows users). I'm sure that when the Application Foundation Classes and the Java SDK 2.0 are released in their final form, Microsoft will provide Visual J++ wizards which help to automate the process of creating applications and applets which use the Application Foundation Classes.
Microsoft currently does not plan on releasing the source code for the Application Foundation Classes. The plan is to make up for the lack of source code with documentation and support. This stance may hurt the Application Foundation Classes- chances of gaining wider acceptance; stay tuned though, this story is just beginning.
Next Month: Using Application Foundation Class User Interface Controls.
Hadoop as a Service (as offered by handful of niche vendors now) is a cloud computing solution that makes medium and large-scale data processing accessible, easy, fast and inexpensive. In his session at Big Data Expo, Kumar Ramamurthy, Vice President and Chief Technologist, EIM & Big Data, at Virtusa, will discuss how this is achieved by eliminating the operational challenges of running Hadoop, so one can focus on business growth. The fragmented Hadoop distribution world and various PaaS solutions that provide a Hadoop flavor either make choices for customers very flexible in the name of opti...
May. 24, 2015 12:30 AM EDT Reads: 3,833
In the consumer IoT, everything is new, and the IT world of bits and bytes holds sway. But industrial and commercial realms encompass operational technology (OT) that has been around for 25 or 50 years. This grittier, pre-IP, more hands-on world has much to gain from Industrial IoT (IIoT) applications and principles. But adding sensors and wireless connectivity won’t work in environments that demand unwavering reliability and performance. In his session at @ThingsExpo, Ron Sege, CEO of Echelon, will discuss how as enterprise IT embraces other IoT-related technology trends, enterprises with i...
May. 24, 2015 12:00 AM EDT Reads: 4,324
With major technology companies and startups seriously embracing IoT strategies, now is the perfect time to attend @ThingsExpo in Silicon Valley. Learn what is going on, contribute to the discussions, and ensure that your enterprise is as "IoT-Ready" as it can be! Internet of @ThingsExpo, taking place Nov 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 17th Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal an...
May. 23, 2015 11:00 PM EDT Reads: 2,725
Wearable devices have come of age. The primary applications of wearables so far have been "the Quantified Self" or the tracking of one's fitness and health status. We propose the evolution of wearables into social and emotional communication devices. Our BE(tm) sensor uses light to visualize the skin conductance response. Our sensors are very inexpensive and can be massively distributed to audiences or groups of any size, in order to gauge reactions to performances, video, or any kind of presentation. In her session at @ThingsExpo, Jocelyn Scheirer, CEO & Founder of Bionolux, will discuss ho...
May. 23, 2015 09:00 PM EDT Reads: 5,203
The true value of the Internet of Things (IoT) lies not just in the data, but through the services that protect the data, perform the analysis and present findings in a usable way. With many IoT elements rooted in traditional IT components, Big Data and IoT isn’t just a play for enterprise. In fact, the IoT presents SMBs with the prospect of launching entirely new activities and exploring innovative areas. CompTIA research identifies several areas where IoT is expected to have the greatest impact.
May. 23, 2015 09:00 PM EDT Reads: 4,839
Every day we read jaw-dropping stats on the explosion of data. We allocate significant resources to harness and better understand it. We build businesses around it. But we’ve only just begun. For big payoffs in Big Data, CIOs are turning to cognitive computing. Cognitive computing’s ability to securely extract insights, understand natural language, and get smarter each time it’s used is the next, logical step for Big Data.
May. 23, 2015 08:00 PM EDT Reads: 2,138
The 4th International Internet of @ThingsExpo, co-located with the 17th International Cloud Expo - to be held November 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA - announces that its Call for Papers is open. The Internet of Things (IoT) is the biggest idea since the creation of the Worldwide Web more than 20 years ago.
May. 23, 2015 07:00 PM EDT Reads: 1,746
We are reaching the end of the beginning with WebRTC, and real systems using this technology have begun to appear. One challenge that faces every WebRTC deployment (in some form or another) is identity management. For example, if you have an existing service – possibly built on a variety of different PaaS/SaaS offerings – and you want to add real-time communications you are faced with a challenge relating to user management, authentication, authorization, and validation. Service providers will want to use their existing identities, but these will have credentials already that are (hopefully) i...
May. 23, 2015 07:00 PM EDT Reads: 4,275
17th Cloud Expo, taking place Nov 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy. Meanwhile, 94% of enterprises are using some form of XaaS – software, platform, and infrastructure as a service.
May. 23, 2015 05:00 PM EDT Reads: 2,463
The Industrial Internet revolution is now underway, enabled by connected machines and billions of devices that communicate and collaborate. The massive amounts of Big Data requiring real-time analysis is flooding legacy IT systems and giving way to cloud environments that can handle the unpredictable workloads. Yet many barriers remain until we can fully realize the opportunities and benefits from the convergence of machines and devices with Big Data and the cloud, including interoperability, data security and privacy.
May. 23, 2015 04:00 PM EDT Reads: 4,787
The 17th International Cloud Expo has announced that its Call for Papers is open. 17th International Cloud Expo, to be held November 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA, brings together Cloud Computing, APM, APIs, Microservices, Security, Big Data, Internet of Things, DevOps and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding business opportunity. Submit your speaking proposal today!
May. 23, 2015 02:00 PM EDT Reads: 4,353
The Internet of Things is tied together with a thin strand that is known as time. Coincidentally, at the core of nearly all data analytics is a timestamp. When working with time series data there are a few core principles that everyone should consider, especially across datasets where time is the common boundary. In his session at Internet of @ThingsExpo, Jim Scott, Director of Enterprise Strategy & Architecture at MapR Technologies, discussed single-value, geo-spatial, and log time series data. By focusing on enterprise applications and the data center, he will use OpenTSDB as an example t...
May. 23, 2015 02:00 PM EDT Reads: 6,423
SYS-CON Events announced today that MetraTech, now part of Ericsson, has been named “Silver Sponsor” of SYS-CON's 16th International Cloud Expo®, which will take place on June 9–11, 2015, at the Javits Center in New York, NY. Ericsson is the driving force behind the Networked Society- a world leader in communications infrastructure, software and services. Some 40% of the world’s mobile traffic runs through networks Ericsson has supplied, serving more than 2.5 billion subscribers.
May. 23, 2015 01:00 PM EDT Reads: 1,564
Scott Jenson leads a project called The Physical Web within the Chrome team at Google. Project members are working to take the scalability and openness of the web and use it to talk to the exponentially exploding range of smart devices. Nearly every company today working on the IoT comes up with the same basic solution: use my server and you'll be fine. But if we really believe there will be trillions of these devices, that just can't scale. We need a system that is open a scalable and by using the URL as a basic building block, we open this up and get the same resilience that the web enjoys.
May. 23, 2015 01:00 PM EDT Reads: 6,981
Container frameworks, such as Docker, provide a variety of benefits, including density of deployment across infrastructure, convenience for application developers to push updates with low operational hand-holding, and a fairly well-defined deployment workflow that can be orchestrated. Container frameworks also enable a DevOps approach to application development by cleanly separating concerns between operations and development teams. But running multi-container, multi-server apps with containers is very hard. You have to learn five new and different technologies and best practices (libswarm, sy...
May. 23, 2015 12:00 PM EDT Reads: 2,112
SYS-CON Events announced today that DragonGlass, an enterprise search platform, will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. After eleven years of designing and building custom applications, OpenCrowd has launched DragonGlass, a cloud-based platform that enables the development of search-based applications. These are a new breed of applications that utilize a search index as their backbone for data retrieval. They can easily adapt to new data sets and provide access to both structured and unstruc...
May. 23, 2015 12:00 PM EDT Reads: 1,929
Converging digital disruptions is creating a major sea change - Cisco calls this the Internet of Everything (IoE). IoE is the network connection of People, Process, Data and Things, fueled by Cloud, Mobile, Social, Analytics and Security, and it represents a $19Trillion value-at-stake over the next 10 years. In her keynote at @ThingsExpo, Manjula Talreja, VP of Cisco Consulting Services, will discuss IoE and the enormous opportunities it provides to public and private firms alike. She will share what businesses must do to thrive in the IoE economy, citing examples from several industry sector...
May. 23, 2015 12:00 PM EDT Reads: 2,160
All major researchers estimate there will be tens of billions devices - computers, smartphones, tablets, and sensors - connected to the Internet by 2020. This number will continue to grow at a rapid pace for the next several decades. With major technology companies and startups seriously embracing IoT strategies, now is the perfect time to attend @ThingsExpo, June 9-11, 2015, at the Javits Center in New York City. Learn what is going on, contribute to the discussions, and ensure that your enterprise is as "IoT-Ready" as it can be
May. 23, 2015 11:15 AM EDT Reads: 2,145
An entirely new security model is needed for the Internet of Things, or is it? Can we save some old and tested controls for this new and different environment? In his session at @ThingsExpo, New York's at the Javits Center, Davi Ottenheimer, EMC Senior Director of Trust, reviewed hands-on lessons with IoT devices and reveal a new risk balance you might not expect. Davi Ottenheimer, EMC Senior Director of Trust, has more than nineteen years' experience managing global security operations and assessments, including a decade of leading incident response and digital forensics. He is co-author of t...
May. 23, 2015 11:00 AM EDT Reads: 5,655
The Internet of Things is a misnomer. That implies that everything is on the Internet, and that simply should not be - especially for things that are blurring the line between medical devices that stimulate like a pacemaker and quantified self-sensors like a pedometer or pulse tracker. The mesh of things that we manage must be segmented into zones of trust for sensing data, transmitting data, receiving command and control administrative changes, and peer-to-peer mesh messaging. In his session at @ThingsExpo, Ryan Bagnulo, Solution Architect / Software Engineer at SOA Software, focused on desi...
May. 23, 2015 11:00 AM EDT Reads: 4,011