Tuesday, October 30, 2018

Java and the Internet of Things

Examples of how Java is shaping the Creator Movement and the Internet of thing

The recent MakerCon Conference, organized by Oracle, along with Maker Faire 2014, has made it clear that the Maker Movement, a vital source of hardware innovation, is igniting and opening rich possibilities for Java developers. The combination of Maker Maker's ingenious smart devices and embedded software technology is fundamental to the development of the connected world, the Internet of Things (IoT) and machine-to-machine (M2M) technology. As embedded devices become cheaper, more powerful and more connected, and as the Internet of things grows, Java developers are receiving strong support from Oracle as they face new challenges and radical opportunities. Java is better equipped to serve as a unified standardized platform for the Internet of things. For this purpose, a great effort to unify the Java platform is underway - specifically, Java ME with Java SE - to reduce the Java SE for the integrated space and smaller devices.

The Internet of Things and the rise of an M2M ecosystem are in the process of convergence with cloud computing and big data, demanding an integrated platform that runs from the device to the data center with Java. Oracle offers an integrated, secure and complete platform for the entire Internet architecture of Things in all vertical markets, with these main resources:

• Real-time response capabilities for millions of device endpoints

• Fastest time to market

• End-to-end security

• Integration with IT systems

• A coordinated global ecosystem of partners

• Lifecycle solution management and end-to-end compatibility

Java remains the number one choice among developers and the world's leading development platform, with nearly 9 million Java developers worldwide.

What is the Maker movement?

The Maker Movement, with its focus on hardware innovation, has strong precedents in the history of the United States, perhaps more recently in the arts and crafts movement, the Do-It-Yourself (DIY) movement associated with Stewart Brand and the Whole Earth Catalog, originated in the world 1960s, and stereotyped garage creators with big dreams - best exemplified by Steve Jobs and Steve Wozniak, of Apple's fame.

Wikipedia summarizes the manufacturer culture as "a technological extension of the DIY culture", with typical interests, including "engineering-oriented activities, such as electronics, robotics, 3-D printing and the use of CNC tools (computer numerical control). "As the most traditional activities, such as metallurgy, carpentry and traditional arts and crafts, with emphasis on new and exclusive applications of technologies. The convergence of several historical forces - for example, the availability of tools and the Internet, including virtual communities, improved visualization and new software applications - is fueling the Maker Movement, which branches from northern California throughout the United States and Europe and East Asia.

The Maker movement now has magazines, blog sites, substantial literature, annual events and several hundred thousand people around the world participating in manufacturer activities each year. It has all the characteristics of a genuine movement, including a manifesto written by Mark Hatch of TechShop, which emphasizes nine key concepts: doing; the fee; give to; to learn; tool up; touch; take part; Support, support; and change.

In summary, the manifesto states that "doing" is fundamental to human expression and feeling, and sharing what you do is necessary to complete that totality. Giving what you did, or at least giving knowledge about how it was done, is a way of giving a part of yourself to the world. Establishing a path of learning throughout life is a key to human happiness. "Getting ready" is essential to being a successful creator - manufacturers are lucky because the tools have never been cheaper or more powerful. A spirit of play is fundamental to creative creation. In addition, the manifesto states that participation in the producer community will facilitate growth and, finally, that manufacturers must be ready, willing and prepared to change as technology accelerates.

 

Java finds the Maker movement

For many Java developers, the rise of the Maker movement presents an opportunity to renew their creative passions and explore new ways to apply their skills. The Java champion Vinicius Senger of Brazil is an example of this. Software developer for more than 20 years, Senger is the founder of Globalcode (his Portuguese homepage, which can be autotranslated by Google), the largest educational center in Brazil specializing in software development. He also started a company dedicated to residential automation and open source educational robotics and was the winner of the 2011 Duke's Choice Award for his jHome project, which offers a residential automation API based on Java EE.

Senger is confident that the application of Java to M2M and IoT technology will have a great impact. "Bringing M2M and IoT for the Internet is going to change our lives, for example, in the health area, we now have clothes that monitor people when they sleep in. E-cigarettes can one day be connected to social networks on the Internet to help people to stop smoking, something we could not have imagined ten years ago The constant monitoring of the heart on the Internet is now a reality.

For Senger, the Internet of things reaches his personal life. "I have a sailing boat, and now my boat is part of the Internet so I can control it and know if someone is tying the engine, I have friends who like wine and now they monitor the wine and accompany the humidity, something goes wrong with refrigeration "

The sky is the limit for Senger. "Every market has opportunities with M2M and IoT," he observes. "It's a very exciting time in the industry because we have many new devices, new computers and new boards, the market is growing so fast and there are so many opportunities and technologies to play.

So, what is the role of Java in all this? "Java was born to do that kind of thing," says Senger. "In the last ten years, Java has been all about providing corporate solutions, selling items on the Internet and banks, but Java was initially designed as a programming language to connect things like appliances, we're going back to Java for fifteen years., And Java creators are very happy with this development, Java is the best platform for the Internet of things because it is flexible for computers of different sizes.This is a good time for Java developers, according to Senger. to work with the embed is that there are so many possibilities. I like horses and I like wine - there are opportunities to find horses and wine. I like information about home and robotics, so I found an opportunity there, because the Internet of things, Java developers can put their passion into their work. "

Senger strongly supports Oracle's attempts to get involved with the Java community. "Oracle is making VM work very well on different types of computers and cards, like the Raspberry Pi," observes Senger. "He's doing a great job with tools like NetBeans, his work with the integrated space and the IoT community has been excellent, Oracle is serving the Java and Maker communities well.

User experience and the Internet of things

Noel Portugal, the main developer of the Oracle user experience, is confident that the Internet of Things will have a strong impact on the way we live, with sensors and devices connected in our homes and workplaces, which allows us to take more and more accessible data. advantage. According to Portugal, the status quo of the user experience (UX) is changing.

For Portugal, being a designer means having the ability to create something that did not exist before or replicate something, but in a new way. "I've always been very curious and obsessed with action and reaction," says Portugal. "You do one thing, and another happens, I was excited to know that I could shoot something with a computer, so learning about microcontrollers and onboard devices has been very inspiring for me. Many manufacturers come from the software community. of software and not an electronic engineer - much of what manufacturers are learning now is already known by electronic engineers.New tools are available that allow software developers to design devices and make them work.

That's where embedded Java enters history. "The Java team has worked with the built-in community to ensure that the software works well with Raspberry Pi," says Portugal. "Therefore, we created Oracle Java SE Embedded in Raspberry Pi."

What is it that Java developers who want to write on the Internet about what Oracle is doing to facilitate?

"Java Internet Powers, our banks and retail companies - is behind the scenes everywhere," says Portugal. "So, we can apply the same architectures, security and communication protocols that we use in the company to a built-in device, I used Arduino, but it would be difficult to start a Web server with it, but with the Raspberry Pi, I can run a server or, for example, using general-purpose I / O, where I can connect sensors, the point is that developers can translate their Java development knowledge into the enterprise for integrated things. "

Make Robots with Java

Dan Royer, from Marginally Clever, exemplifies the game between the maker spirit and Java. "I love making robots," exclaims Royer, "and create different types, I use Java in practically everything I do, because he takes care of many things for me, I do not have to do any memory management and the documentation is really complete. Joy to work with Java. "

Royer's most popular product, Makelangelo, is an art creation robot that allows users to take a picture of the Internet or a phone and convert it in two seconds with Java software that communicates the GCode (the language of 3D printers to send a message to the Arduino platform, which then moves the motors that circulate around a board.All styles of image conversion and 3D management, together with other programs, use Java.

Interested in learning Java? Join now:” java training in chennai “

Creating prosthetic hands

Ali Lemus, a Java developer in Guatemala, is working on a low cost prosthetic hand. The simple mechanical version costs less than $ 50, while a more sophisticated bionic version, based on Java, which is based on artificial intelligence (AI) and machine learning, sells for less than US $ 150.

By exerting tension with a shoulder, it is possible to move a prosthetic hand to grasp objects. "For more complex actions, we incorporate a Raspberry Pi that comes preloaded with embedded Java," explains Lemus. "It uses artificial neural network sensors to read muscle data and then analyze the data, we have other microcontrollers that Java also works with, the flexibility of Java and its libraries make it an excellent combination."

Lemus is creating a switch that will allow users to move between the mechanical and bionic versions of the hand. "It's great to be able to grab and open things," says Lemus. "But, if you want to paint, then you need the bionic version." After two or three months of using the mechanical version, the person will be able to move back and forth with flexible sensors.The more the person to use, the better the AI machine will work. "
Interested in learning Java? Join now:” java training in bangalore

A GUI driver based on JavaFX 2

Riley Porter, founder of Synthetos, uses JavaFX 2 to make CNC GUI (Computer Numeric Control) controllers for the TinyG motion controller for robots that make 3-D printers, among other things. A Python developer and trade malware expert, Porter learned JavaFX to the GUI. "It's very difficult to create distributed binaries that work on all platforms," explains Porter. "I use Java SE 7 and JavaFX because I like its ability to do FXML design with weakly coupled UIs, my partner changes a lot on the backend, so I need to be able to check the card and figure things out. Data connection - I like being able to dynamically update things with connections so you do not have to worry about updates or observables. "

Conclusion

With so much innovation happening so quickly, we can expect important changes in our daily lives in the coming years, if not months, as Java and the Creator Movement become better acquainted.




No comments:

Post a Comment

From Java 8 to Java 11

Switching from Java 8 to Java 11 is more complicated than most updates. Here are some of my notes on the process. Modules Java 9 i...