Wednesday Jun 22, 2016

A Two-Wheel Self-Balancing Robot: JBalancePI

Create a two-wheeled, self-balancing robot using Raspberry Pi 2 Model B with GPIO and I2C interfaces and Java 8 in part I of this new series by Jose Cruz. To control the robot's movement and balance, he uses three modules: a sensor that contains a three-axis gyroscope and an accelerometer, a pulse width modulation (PWM) servo driver, and a motor driver. These modules create a feedback control loop that balances the robot and automatically corrects its position. 

As Cruz explains, balancing a robot is an example of the classic inverted pendulum problem, in which a large mass is placed at the end of a pole. He provides an explanation of the mathematics that make this solution possible, and then he shows how to create the necessary Java ME 8 classes for controlling the robot. To learn more, read the article

Thursday Jun 16, 2016

Get Involved with Java Standards!

Joining the Java Community Process is made easier with the new release of JSR 364. Now individuals can join as associates and won’t need to have their employers sign off on the participation, explains Heather VanCura in this interview. The long-criticized membership fee is also gone. Watch the interview and learn how you can participate as a JUG, individual or a company.  Provide feedback by sending email to admin@jcp.org or via the JSR 364 project page 



Tuesday May 31, 2016

From Big Data to Insights

By Editor in Chief Andrew Binstock

Welcome to the May/June issue of Java Magazine in which we look at how big data is done today. An unusual aspect of the platforms that handle big data is that they almost all run on Java — a testimony to its suitability for enterprise-scale needs.


However, today many of the primary tools don't require enterprise size to be useful. Apache Spark, for example, can work effectively on small, human-size databases. We show how this is done with one developer's project of querying a database of first names to find one for his unborn child. But even if you run Spark in enterprise apps, you'll find that it is much easier to use than earlier tools that required extensive setup and fiddling with systems. Our lead article on Apache 101 shows just how simple it can be to work with big data and produce useful results.

We also look at handling large datasets the traditional ways in two articles: with high-volume JDBC and through enormous in-memory data structures. The latter article shows a clever way of storing tens of gigabytes in memory but off the heap.

For those readers who do unit testing on their code (almost everyone, I trust), we preview the new features coming up in JUnit 5.

The rest of the issue shows off Ceylon, a recently released JVM language from Red Hat; how to set up Java cloud apps; and, for beginners, how generics work in Java — all topped off by our famous language quiz, our no-holds-barred book review, and my editorial. Enjoy!

Note: In our quest to support more devices, we have moved away from the former Java Magazine app. Currently, the magazine is available on the web and in PDF. To get the PDF, access the web page from a laptop or desktop and use the download icon on the right side of the page.

We will shortly complete migration of our back issues. Thank you for your patience while this process completes. If you're desperate for a specific back issue, drop me a note. We'll find a way to get it to you.

Like what you see? Wish we'd cover something else? Please send along your feedback, which I read attentively. You can always reach me at javamag_us@oracle.com.

Thursday Dec 03, 2015

Press Your Button for Raspberry Pi

By Guest Blogger Roberto Marquez  

The Raspberry Pi is a great platform for creating your own interactive games.  Recently, I designed an application utilizing an arcade button attached to a GPIO pin.

The game uses Java Standard Edition for Embedded Devices as the implementation platform.  It uses JavaFX APIs and FXML to create the user interface which runs on the screen buffer.  This means no X windowing session is required to run the game on Raspberry Pi.  It also runs on desktops with the latest version of Java 8.

The game is similar to the TV game show ‘Press Your Luck’, but differs in several ways:
  • single or multiplayer (1-3 players)

  • winner is determined by the first player to reach a predetermined score

  • Whammys only remove half the current player's score, and not the whole thing

Here is a video demo:


Here is a wiring diagram of the project:


More assembly instructions and other details are available in the project guide.

Reach out the author:


Wednesday Oct 14, 2015

Java Champions Speaking at JavaOne 2015

Java Champions will present dozens of sessions this year again at JavaOne! They are an exclusive group of passionate Java technology and community leaders, nominated by the Java community. They are seasoned developers and architects with in-depth knowledge about development.  

These top speakers share their know-how in all the JavaOne tracks including client, core Java platform, Internet of Things, JVM languages, security, tools, server-side, cloud and methodology.  

This year, we created a dedicated page on the JavaOne site where you can easily find the sessions presented by Java Champions. You can find out about their sessions by day and read the session abstract.  JavaOne is your chance to learn from the greatest number of Java Champions! 

Wednesday Jul 29, 2015

Java Champions

Learn how to become one of the Champions in the Java world!  Java Champions are members of the community who are recognized as leaders, technical luminaries, and innovative technologists.  All of them are top contributors in the Java community. They are conference speakers, bloggers, community leaders, user group leaders and more. You may know some of them, check them out!

“The Java Champion program is crucial to Java because its members come from all corners of the Java community. Every new member adds a new facet to the group, enriching it with new perspectives.” explains Java Champion Andres Almiray  

In the interview below, Java Champion Arun Gupta gives great insights on the program and a lot of good advice on how to become a Java Champion 


Candidates are nominated by Java champions. You can self nominate but it helps to be nominated by a Java Champion. Learn more

Tuesday Jun 30, 2015

JavaOne Latin America Highlights

Well-attended by developers, JavaOne Latin America took place last week in São Paulo Brazil.  Amongst the myriad sessions, meetings, entertainment and parties, here are some highlights. 

The community keynote was themed with 20 years of Java and organized by two Java Champions Fabiane Nardon and Bruno Souza. They chronicled the deep involvement of the Brazilian community throughout the history of Java. Bruno Souza, a.k.a JavaMan, founded the Brazilian Java user group SouJava in 1999. Juggy, the Java Finch mascot, was born in 2004.   Fabiane Narbon with her team won the Duke’s Choice Award for Healthcare Information System in 2005. SouJava became the first Java user group member on the JCP executive committee in 2011. 

NightHacking interviews took central stage at the Java Hub. The interviews are being rolled out during the next two weeks. Now available are interviews about Java TV with Bruno Gualda and Thiago Silva, Java and IoT with Vinicius Senger, Java Embedded with Leonardo Lima and Java IoT Cloud with Marco Maciel 

The strategy keynote was packed to hear Vice President of Java SE Platform Georges Saab discuss Java 9 modularity. He encouraged developers to download and test the pre-release builds. “JUGs around the world have helped shape the future of Java EE by participating in the JCP and the Adopt-a-JSR program” explained Senior Director of Software Development Robert Clark. 

Tuesday Apr 14, 2015

Perspectives on Docker

Want to know why and how to use Docker? Docker is a popular tool to build and deploy applications across environments. In these three interviews, you will learn about the benefits of Docker, its integration with other tools, and teams using the tool for different applications.

Jfrog CTO and co-founder Yoav Landman explains the use of Docker with Chef, and Vagrant in the development of a Bintray application. 


Conference speaker Matthias Grüter explains why Docker works well with the JVM 


Conference speaker Roland Huss discusses the benefits of integration tests. 


Monday Apr 13, 2015

Devoxx France 2015 Explores The Future of Technology

2500 developers attended 4th Devoxx France this year, an increase of over a thousand attendees from last year. The organizers announced a new member of the Devoxx family: Devoxx Morocco, a conference that will take place in Casablanca during the third week of November.

In this 20th year of Java, the theme of Devoxx France 2015 was about innovations in technology over the next 20 years. In his keynote, Java architect Brian Goetz described a development approach that keeps up with the technical needs of developers. Java 9 will deliver a modular platform tuned to hardware requirements. CEO Quentin Adam of Clever Cloud considers that engineering roles are entering an age of specialization. Dan Allen, an open source advocate, author, and world renowned speaker, discussed the responsibility of developers to preserve digital information for future generations. CCO Stephan Tual discussed Ehereum, an open source and decentralized platform allowing the creation of P2P businesses with new infrastructure, communication and privacy.

Rodolphe Gelin, research director of Aldebaran, explains that Romeo, a new line of humanoid robots will become a companion capable of understanding emotions and anticipate situations in the every day life. “Robots are an additional platform for development” he commented. Pierre Yves Oudeyer, research director at INRA, discussed cutting-edge artificial intelligence research, in which robots are programmed to be curious and learn by experimenting like children. They become aware of themselves and their environment. They can even develop their own language. The humanoid robot Poppy is an open source robot for laboratories and research centers to collaborate on the artificial intelligence project. Eric Filiol, the head of ESIEA research lab called on developers’ civic responsibility to educate politicians who are passing laws about internet, and privacy without understanding technology. He made the room laugh when he suggested that “after Devoxx4Kids, we really need a Devoxx4politicians.”

All the keynote speakers agreed that no one can predict the disruptive technologies in the next 20 years like no one could have predicted the internet and its ubiquity in our lives today. Again this year was Seed Networking, where developers, startups and venture capitalists discuss business opportunities. New this year was the Café Philo to discuss about the digital world and the future of society. Devoxx4kids took place last Saturday. 50 kids were learning Java using Scratch and Lego Mindstorms.

Thursday Mar 19, 2015

Nighthacking at JavaLand

By Guest Blogger Stephen Chin

JavaLand is a community conference in Germany that is held in an amusement park. Come learn not only about Java and technology, but also about how geeks have fun!

We will have a live NightHacking stream running from the Java Community Area on Tuesday and Wednesday with an all-star interview line-up. Each day will also conclude with an exciting combined vJUG session, which you won’t want to miss!

Catch the action at http://nighthacking.com/, and follow the NightHacking Twitter handel for late-breaking updates.

Schedule (Time Zone is CET)



About

Insider News from the Java Team at Oracle!

duke
Links


Search

Archives
« June 2016
SunMonTueWedThuFriSat
   
3
4
5
6
10
11
12
13
17
18
19
20
23
24
25
26
27
28
29
30
  
       
Today