|By Yakov Fain||
|October 4, 2012 06:09 PM EDT||
After spending three days at JavaOne I’m happy to report that Java remains the most stable and reliable platform.There are some new additions to the language and the JVM that will make Java more complicated. I’m talking about Nashorn, Jigsaw, Lambda, and Modular Java. I’ve attended 10 presentations and participated in three hands-on labs. My notes are below.
JavaFX is a library and a tool set for creating rich UI for desktop and embedding UI into chips of various devices. It’s not meant to be used for creation of rich Internet applications. The user interface is defined in the .fxml files. It’s standard xml with some import statements.
The Scene Builder tool allows you to drag and drop UI controls and CSS onto the scene. It uses regular CSS3 so Java developers better start learning it. The processing logic is written in Java with some additional API. You can package JavaFX code into .exe and .dmg installers.
Each .fxml file has a corresponding controller Java class that lists handlers for the events and other code. It seems that development of the new features of JavaFX is going slow – addition of the ComboBox control is a modest achievement. Still, developers show interest to JavaFX and the session I’ve attended had about 200 people in the room.
The Modular Java Platform
This project gives me goosebumps even though the goal is noble. For the last 17 years Java carried over the dead (a.k.a. deprecated) code from version to version. It gave stability and backward compatibility of the code. But the size of the JRE remained pretty big – 15Mb or so. Besides, your application may not even need all these jars that come with JRE. The modular Java Platform should simplify deployment to small devices, improve the download and startup time, eliminate the CLASSPATH (?!), and auto download and install on demand whatever modules are needed for your application. The project Jigsaw will become a reference implementation of the Modular Platform JSR.
The modular Java should solve the “JAR Hell” packaging problem. Instead of packaging JARS you should be able to group Java packages into modules and libraries. The new keywords will be introduced: module requires, provides, and more. The meaning of the keyword public will change. The public scope means “within the module” unless you export some classes to expose them to the external modules.
Modules could be packaged into libraries. The library dependencies are supposed to be resolved automatically (keeping my fingers crossed).
I realize that modularization of Java is extremely complicated task, and (the good news) it won’t be complete till Java 9. But Java developers may want to start sifting through the code of their applications to ensure that they use only the published API. But if you hacked JDK and used some internals, this code will break after deploying the modular Java platform in your organization. Consider looking for a new job unless you are searching for new challenges.
HTML5 Client and NetBeans
WebSockets – JSON – REST
The final release of the JAX-RS Processing (JSR 353) is scheduled for April 2013. It’ll support the low-level Streaming API (similar to StAX’s XMLStreamReader) as well as high-level Object Model API. The streaming api will dispatch events: start streaming, key name, value, start array et al. Currently, the JSON-P’s JSonBuilder is too verbose, but allows programmers to control the way each piece of data is added to JSON. The future Jason-B (for binding) spec will offer a simple way of turning a Java object to a JSON string similar to what Google’s GSON library does. But the Jason-B spec won’t make it into Java EE 7 – use the version developed by EclipseLink.
A senior Java Developer attends an in-depth presentation on WebSockets by Justin Lee
Imagine that you need to teach a hands-on class in the classroom with 100 attendees. Being an instructor myself I can assure you that it’s an extremely challenging task. I’ve attended three such labs. Each of the hundred laptops in the classroom had a pre-installed VM with the PDF describing the steps to be completed and supporting files. In such a setup the most important piece is well written document with instructions. Such manuals were great in two out of three classes I’ve attended, and I applaud these instructors. The third class was not prepared that well. The instructor simply said in the beginning, “This is a self-paced course. Just follow the instructions and let us know if you need any help”. Not even a 5-minute intro. Nothing. The first part required installing a number of software packages, and several installation instructions were simply missing. Attendees were helping each other explaining how they figured out what software was missing and the installation instructions were not provided. I left this class after playing catch for 20 minutes. Still, I’m grateful that Oracle offers such labs, which gave a jump start in learning new technologies to hundreds people.
I’ve seen a fair amount of live demos that crashed. It happens, especially when you are presenting on a beta quality software. The audience usually takes these crashes with understanding – we all are sitting in the same boat. But I’d like to say that there are presenters and there are rock star presenters. I’d like to mention here a name of a really great presenter – James Ward from Heroku. I know James for years. This guy lives and breathes software. When he presents – everything usually works. If something breaks, James knows and explains why it broke and how to fix it. This time I’ve attended his excellent presentation about the Play 2 framework – give it a serious consideration if you’re in the process of picking a framework for your Web application. Besides being a great presenter, no one can beat James in the amount of the information James can produce per second. He’ll be presenting at the Java SIG in New York in October – be there if you’re in town.
Wasting time at JavaOne presentations
This time I’ve seen a new way of wasting time at the presentations. Conference attendees learned the hard way that promised presentation materials may remain promises. They help themselves by taking pictures of the presentation slides using mobile phones. But this time I’ve seen a guy who was taking photos with his iPad, and after taking a snapshot he’d immediately edit it using some application installed on the iPad. There is no way that he could concentrate on what the speaker had to say. Was he even a Java programmer or was sent to take pictures for his boss? The funniest part was that the entire slide deck of this presentation was already uploaded to the JavaOne’s site. My kudos to Oracle for trying to make the presentation materials quickly available to the public. Go to http://www.oracle.com/javaone and select the menu Tools | Content Catalog. Lots of slide decks are already there, and in some cases you may even find the video recordings too.
I’ve attended a presentation on data collections. Believe it or not, but I’ve seen a person who knew the difference between dozens of Java collections. I’m not kidding. I’ve also learned that in addition to tons of JDK collections, there were a couple of more libraries: Guava collections by Google and collections developed by … Goldman Sachs. That’s right, the IT departments of this respected financial firm are known for creating proprietary general purpose frameworks and libraries.
Finally, my thanks to the GlassFish, Oracle Community leaders and third-party vendors who poured beer and whiskey into my glass – I’ve attended 6 parties in 3 days, where met a number of interesting people who love Java dearly. Those who attended JavaOne in the old days remember that was the private party by Tangosol was the most popular. I guess, this was the reason why Oracle acquired Tangosol five years ago. This year a vendor named Zero Turnaround had a party, which can pick up where the Tangosol left off. The beer and wine are the same at each of these events, but this was an invitation-only party and many well known people were there. I had to take a red eye home, and gave away my ticket to a free concert by Perl Jam.
"We have a tagline - "Power in the API Economy." What that means is everything that is built in applications and connected applications is done through APIs," explained Roberto Medrano, Executive Vice President at Akana, in this SYS-CON.tv interview at 16th Cloud Expo, held June 9-11, 2015, at the Javits Center in New York City.
Jul. 1, 2015 05:00 PM EDT Reads: 718
The Internet of Things is not only adding billions of sensors and billions of terabytes to the Internet. It is also forcing a fundamental change in the way we envision Information Technology. For the first time, more data is being created by devices at the edge of the Internet rather than from centralized systems. What does this mean for today's IT professional? In this Power Panel at @ThingsExpo, moderated by Conference Chair Roger Strukhoff, panelists addressed this very serious issue of profound change in the industry.
Jul. 1, 2015 03:30 PM EDT Reads: 1,017
Explosive growth in connected devices. Enormous amounts of data for collection and analysis. Critical use of data for split-second decision making and actionable information. All three are factors in making the Internet of Things a reality. Yet, any one factor would have an IT organization pondering its infrastructure strategy. How should your organization enhance its IT framework to enable an Internet of Things implementation? In his session at @ThingsExpo, James Kirkland, Red Hat's Chief Architect for the Internet of Things and Intelligent Systems, described how to revolutionize your archit...
Jul. 1, 2015 02:21 PM EDT Reads: 475
It is one thing to build single industrial IoT applications, but what will it take to build the Smart Cities and truly society-changing applications of the future? The technology won’t be the problem, it will be the number of parties that need to work together and be aligned in their motivation to succeed. In his session at @ThingsExpo, Jason Mondanaro, Director, Product Management at Metanga, discussed how you can plan to cooperate, partner, and form lasting all-star teams to change the world and it starts with business models and monetization strategies.
Jul. 1, 2015 11:30 AM EDT Reads: 2,235
To many people, IoT is a buzzword whose value is not understood. Many people think IoT is all about wearables and home automation. In his session at @ThingsExpo, Mike Kavis, Vice President & Principal Cloud Architect at Cloud Technology Partners, discussed some incredible game-changing use cases and how they are transforming industries like agriculture, manufacturing, health care, and smart cities. He will discuss cool technologies like smart dust, robotics, smart labels, and much more. Prepare to be blown away with a glimpse of the future.
Jul. 1, 2015 11:30 AM EDT Reads: 753
Internet of Things is moving from being a hype to a reality. Experts estimate that internet connected cars will grow to 152 million, while over 100 million internet connected wireless light bulbs and lamps will be operational by 2020. These and many other intriguing statistics highlight the importance of Internet powered devices and how market penetration is going to multiply many times over in the next few years.
Jul. 1, 2015 10:30 AM EDT Reads: 2,123
Internet of Things (IoT) will be a hybrid ecosystem of diverse devices and sensors collaborating with operational and enterprise systems to create the next big application. In their session at @ThingsExpo, Bramh Gupta, founder and CEO of robomq.io, and Fred Yatzeck, principal architect leading product development at robomq.io, discussed how choosing the right middleware and integration strategy from the get-go will enable IoT solution developers to adapt and grow with the industry, while at the same time reduce Time to Market (TTM) by using plug and play capabilities offered by a robust IoT ...
Jul. 1, 2015 09:45 AM EDT Reads: 1,931
Today air travel is a minefield of delays, hassles and customer disappointment. Airlines struggle to revitalize the experience. GE and M2Mi will demonstrate practical examples of how IoT solutions are helping airlines bring back personalization, reduce trip time and improve reliability. In their session at @ThingsExpo, Shyam Varan Nath, Principal Architect with GE, and Dr. Sarah Cooper, M2Mi’s VP Business Development and Engineering, will explore the IoT cloud-based platform technologies driving this change including privacy controls, data transparency and integration of real time context wi...
Jul. 1, 2015 08:00 AM EDT Reads: 898
SYS-CON Events announced today that BMC 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. BMC delivers software solutions that help IT transform digital enterprises for the ultimate competitive business advantage. BMC has worked with thousands of leading companies to create and deliver powerful IT management services. From mainframe to cloud to mobile, BMC pairs high-speed digital innovation with robust IT industrialization – allowing customers to provide amazing user experiences with optimized IT per...
Jun. 29, 2015 12:15 PM EDT Reads: 2,688
There will be 150 billion connected devices by 2020. New digital businesses have already disrupted value chains across every industry. APIs are at the center of the digital business. You need to understand what assets you have that can be exposed digitally, what their digital value chain is, and how to create an effective business model around that value chain to compete in this economy. No enterprise can be complacent and not engage in the digital economy. Learn how to be the disruptor and not the disruptee.
Jun. 29, 2015 11:00 AM EDT Reads: 2,187
The Internet of Things is not only adding billions of sensors and billions of terabytes to the Internet. It is also forcing a fundamental change in the way we envision Information Technology. For the first time, more data is being created by devices at the edge of the Internet rather than from centralized systems. What does this mean for today's IT professional? In this Power Panel at @ThingsExpo, moderated by Conference Chair Roger Strukhoff, panelists will addresses this very serious issue of profound change in the industry.
Jun. 29, 2015 09:45 AM EDT Reads: 2,534
Business as usual for IT is evolving into a "Make or Buy" decision on a service-by-service conversation with input from the LOBs. How does your organization move forward with cloud? In his general session at 16th Cloud Expo, Paul Maravei, Regional Sales Manager, Hybrid Cloud and Managed Services at Cisco, discusses how Cisco and its partners offer a market-leading portfolio and ecosystem of cloud infrastructure and application services that allow you to uniquely and securely combine cloud business applications and services across multiple cloud delivery models.
Jun. 28, 2015 11:00 AM EDT Reads: 2,234
In his General Session at 16th Cloud Expo, David Shacochis, host of The Hybrid IT Files podcast and Vice President at CenturyLink, investigated three key trends of the “gigabit economy" though the story of a Fortune 500 communications company in transformation. Narrating how multi-modal hybrid IT, service automation, and agile delivery all intersect, he will cover the role of storytelling and empathy in achieving strategic alignment between the enterprise and its information technology.
Jun. 27, 2015 10:00 AM EDT Reads: 2,257
Buzzword alert: Microservices and IoT at a DevOps conference? What could possibly go wrong? In this Power Panel at DevOps Summit, moderated by Jason Bloomberg, the leading expert on architecting agility for the enterprise and president of Intellyx, panelists peeled away the buzz and discuss the important architectural principles behind implementing IoT solutions for the enterprise. As remote IoT devices and sensors become increasingly intelligent, they become part of our distributed cloud environment, and we must architect and code accordingly. At the very least, you'll have no problem fillin...
Jun. 26, 2015 12:00 PM EDT Reads: 2,243
Growth hacking is common for startups to make unheard-of progress in building their business. Career Hacks can help Geek Girls and those who support them (yes, that's you too, Dad!) to excel in this typically male-dominated world. Get ready to learn the facts: Is there a bias against women in the tech / developer communities? Why are women 50% of the workforce, but hold only 24% of the STEM or IT positions? Some beginnings of what to do about it! In her Opening Keynote at 16th Cloud Expo, Sandy Carter, IBM General Manager Cloud Ecosystem and Developers, and a Social Business Evangelist, d...
Jun. 26, 2015 10:00 AM EDT Reads: 2,120
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, discussed 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 sectors.
Jun. 25, 2015 02:00 PM EDT Reads: 2,035
In his keynote at 16th Cloud Expo, Rodney Rogers, CEO of Virtustream, discussed the evolution of the company from inception to its recent acquisition by EMC – including personal insights, lessons learned (and some WTF moments) along the way. Learn how Virtustream’s unique approach of combining the economics and elasticity of the consumer cloud model with proper performance, application automation and security into a platform became a breakout success with enterprise customers and a natural fit for the EMC Federation.
Jun. 25, 2015 01:30 PM EDT Reads: 2,191
SYS-CON Events announced today that the "Second Containers & Microservices Conference" will take place November 3-5, 2015, at the Santa Clara Convention Center, Santa Clara, CA, and the “Third Containers & Microservices Conference” will take place June 7-9, 2016, at Javits Center in New York City. Containers and microservices have become topics of intense interest throughout the cloud developer and enterprise IT communities.
Jun. 22, 2015 02:15 PM EDT Reads: 2,832
SYS-CON Events announced today that the "First Containers & Microservices Conference" will take place June 9-11, 2015, at the Javits Center in New York City. The “Second Containers & Microservices Conference” will take place November 3-5, 2015, at Santa Clara Convention Center, Santa Clara, CA. Containers and microservices have become topics of intense interest throughout the cloud developer and enterprise IT communities.
Jun. 20, 2015 12:00 PM EDT Reads: 3,900
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...
Jun. 15, 2015 08:45 PM EDT Reads: 4,146