Monday May 18, 2015

Oracle Java 8 ME Embedded + Raspberry Pi + Sensors = IoT World

In Part 1 of his series on using Java ME 8 to control Internet of Things (IOT) devices--such as LEDs, relays, LCDs, sensors, motors, and switches--connected to a Raspberry Pi, Jose Cruz explained how to work with devices that use a simple general-purpose input/output (GPIO) interface. GPIO devices can be used as either a digital input or digital output, can be disabled or enabled, and can be used to drive interrupt lines. Part 1 explored how to connect and control a flame sensor, a movement sensor, and a motion sensor.

In Part 2 of his series, Jose describes how to connect and control devices that use an inter-integrated circuit bus (I2C) interface, which is a multimaster, multislave, single-ended serial computer bus that  enables you to read or write data beyond just changes in logic states.  

Following Jose's instructions, you'll learn how connect a servo driver; a temperature and humidity sensor; a light and object proximity sensor; and a digital compass to the Raspberry Pi. Then, you'll see how to develop Java ME 8 classes that allow you to gather data from, write data to, and control these devices. The code for the classes is very similar, so once you understand it, you'll be able to create new classes that control additional I2C devices to create your very own IoT world. 

Thursday May 14, 2015

New Java Champion: Mohamed Taman

Congratulations to the new Java Champion Mohamed Taman!

Mohamed is Chief of Architects & Software Development Manager at e-finance, living in Cairo, Egypt. His experience includes Java development in web, mobile, and IoT for industries including financial, banking, tourism, government and healthcare. He worked previously for Pfizer, Intercom, an Enterprise Gold IBM partner, Silicon Expert and Oracle. He has worked with various technologies including front-end, backend, mid-tiers and large-scale system integration.

Mohamed is a Java Community Process member, JSR 377, 363, and 354 expert group member, and the first African and Middle Eastern person to join the executive committe at Java Community Process organization representing Morocco JUG. He helped define Java SE, EE, ME, Embedded standards for the Java ecosystem. Mohamed works on many JSRs especially Java EE 7, 8 umbrella JSRs / Glassfish 4.5 evaluation and testing. 

Mohamed is also extremely active in the JUG community, being a leader and member of Adopt-A-JSR, Adopt-OpenJDK, and FishCAT programs. He is also the founder of the EGJUG JCP group, which are a group of professionals working on the adopt-a-jsr program. All of Mohamed’s work with the JCP culminated in him winning the 2014 Duke's Choice Award and the 11th annual JCP award in 2013 as outstanding adopt-a-JSR participant.

He was a system architect, providing the technology behind the United Nations High Commissioner for Refugees (UNHCR) and the World Food Programme (WFP). His work in this project resulted in him being  awarded with the 2014 Duke’s choice award for best architecture. 

He is a frequent speaker at Java/Oracle user groups and worldwide conferences including JavaOne, Devoxx UK 2015, JDC Egypt, Tunis JUG Day, JEEConf, jMaghreb, 33’s Degree, RigaDevDay 2015, DWX 2015 and Mobile Congress Dubai 2015, and VoxxedDays Algeria.

His blog: http://tamanmohamed.blogspot.com
LinkedIn: http://eg.linkedin.com/in/mohamedtaman/
Slide share: http://www.slideshare.net/tamanm
Prezi: https://prezi.com/user/mohamedtaman/

Wednesday May 13, 2015

Reactive Java EE

Want to know how to create efficient, high-throughput, and low-latency systems? In the reactive Java EE online session, you will learn how to use event-driven programming and asynchronous processing. Java EE Evangelist Reza Rahman will explore how Java EE as a whole responds to  the “reactive” requirements using features and APIs like JMS, MDB, EJB @Asynchronous, JAX-RS/Servlet/WebSocket async, CDI events, Java EE concurrency utilities and more. He will also show how to easily scale using Java SE 8 Lambdas and Completable Futures. Join him for this session at the next Virtual Technology Summit (VTS). 

We are celebrating 20 years of Java and innovations with Reactive Java EE, Java 8 Lambdas and IoT projects. The VTS is an interactive, online event, sponsored by the Oracle Technology Network (OTN). VTS is free, but you must register.  Join us for this exclusive event in APAC time zone, May 19 - 3:00 pm to 6:30 pm AU/SYD


Tuesday May 12, 2015

Java 9 Schedule

Chief Java Architect Mark Reinhold recently proposed a new schedule for Java 9 milestones, now on the JDK 9 project page 
  • 10 December 2015: Feature Complete
  • 04 February 2016: All Tests Run
  • 25 February 2016: Rampdown Start
  • 21 April 2016: Zero Bug Bounce
  • 16 June 2016: Rampdown Phase 2
  • 21 July 2016: Final Release Candidate
  • 22 September 2016: General Availability
For more information about why these dates were chosen, see his post.

Java 9 will introduce a modularized JDK, which means developers will be able to load smaller amounts of code when running applications that donít require the entire environment. This will enable Java to scale from small devices to large software systems while providing a secure platform.

The following JDK enhancement proposals (JEPs) outline how modularity will be implemented in JDK 9:
  • JEP 200: defines a modular structure for the JDK.
  • JEP 201: reorganizes the JDK source code into modules, enhances the build system to compile modules, and enforces module boundaries at build time.
  • JEP 220: restructures the JDK and Java runtime environment (JRE) images to accommodate modules and to improve performance, security, and maintainability.
For a list of other JEPs targeted to Java 9, see the JDK 9 project page. Also see the JSR 376 project page, which introduces the module system for the Java platform.

Friday May 08, 2015

Java DevOps at the swampUP

By Steven Chin 

The folks at JFrog definitely know how to put on events in style. For several years they have had an exclusive cruise at JavaOne for “Frogs and Friends”, and this year they stepped it up with a full day DevOps-focused conference in Napa, the heart of wine country.

The JFrog swampUP was definitely a meeting of the minds with a great cast of Java and DevOps Rock Stars milling around and chatting about state-of-the-art tooling in Java. Was great catching up with Carl Quinn of Java Posse fame and now at a very cool tech job with Riot Games. Guillaume Laforge was slightly jetlagged, but that didn’t stop him from ranting on the future of Groovy, which is now an Apache hosted project. And it was great to meet Seth Chisamore, the release engineering lead at Chef. I also happened to bump into Easy Bay JUG leader Chris Richardson and GR8Conf Organizer Søren Berg Glasius, so there was no shortage of expert hecklers to go around.

The final keynote was given by Jagan Subramanian from Oracle who showed Artifactory running on big iron with some very impressive server setup.  The Oracle repository has grown to double-digit terabytes in size, which in itself is impressive.  However, the real story behind this is the network traffic, where they have done some clever hardware engineering tricks to keep things running smoothly all the way through the network switches in the data center.

I also presented an updated version of my “Confessions of an Agile Methodologist” talk that I got the JavaOne Rock Star award for. Believe it or not, in a previous life I was a DevOps/Agile guru, and a very early adopter of JFrog Artifactory. I am proud to say that they still have the best repository manager out there! 


Thursday May 07, 2015

Java Lego Workshop 4 Kids

By Stephen Chin

This past weekend I did a Lego workshop for the local Devoxx4Kids bay area chapter.  There were 35 excited kids from ages 8-14 who had their first taste of programming.  While they expected to simply play with Legos for a few hours, they ended up hacking their first Java code in Eclipse.

The kids did a great job, and all the groups were able to get some basic Java code working on the Lego Mindstorms EV3 platform.  They were using LeJOS, which is a great way to code for and deploy to the Lego intelligent brick using a robust programming language.  Here is a video of one of the completed projects (sorry for my shaky camera work):

And finally the full slide show with build instructions, which can be downloaded from SlideShare:

Wednesday May 06, 2015

Think Functional With Java 8

Want to master parallel programming in Java 8? The syntax of Lambda Expressions is fairly simple. How Lambdas and the Streams work together is not as straightforward. Both features introduce a functional style of programming into Java for the first time.  In his Virtual Technology Summit session, Simon Ritter will explain how to rethink the way you program with functional programming and Java in mind.  He will use real world examples to show how to write functional code in Java and what things to avoid. Join him for this session at the next Virtual Technology Summit (VTS).  

We are celebrating 20 years of Java and innovations with Reactive Java EE, Java 8 Lambdas and IoT projects. The VTS is an interactive, online event, sponsored by the Oracle Technology Network (OTN). VTS is free, but you must register.  Join us for one of these exclusive events in your time zone:  

EMEA - May 12 - 9am to 12:30pm GMT
APAC - May 19 - 3pm to 6:30pm AU/SYD

Register now. The event is free 


Tuesday May 05, 2015

Improving the Performance of Java EE Applications

In a recent article for Java Magazine, Josh Juneau makes a strong case for incorporating performance tuning into the development lifecycle. In addition to preventing 'nightmare' scenarios in which the application development team must make critical performance tuning changes directly to a live production environment while 'under the gun,' proactively tuning applications for performance before they are released to production can help you plan for user capacity. Also, because the top performance problems experienced with Java EE applications are often related to configuration and environment issues, proactive tuning can make troubleshooting easier by differentiating problems in the code from problems with configuration or the environment.

Josh provides valuable information about how to code for performance and tune the environment. In addition, he discusses how to use profiling tools, such as NetBeans profiler and Apache JMeter, to plan for capacity by forecasting how an application will perform in production under a normal or heavy load of users.

Finally, because further improvements can often be made to an application in production--even if you proactively tune during development--Josh provides some tips for reactive performance tuning. 

Wednesday Apr 29, 2015

Lessons Learned from UML NetBeans Plugin Development

By Guest Blogger Zoran Sevarac

The Open Source Software Development Center at University of Belgrade has released a new version of a UML plugin for NetBeans called easyUML. This plugin was created to facilitate the use of UML tools for teaching software design, but it is also a handy tool for developers. It helps developers with commonly used features by adding an easy-to-use UI.

 EasyUML supports class diagrams and the following features:
Drawing class diagrams
Generation of Java code from class diagrams
Reverse engineering from Java code to class diagrams

The easyUML plugin is available for installation directly from NetBeans IDE Update Center, or as a  download from NetBeans Plugin portal.
Complete source code is available from SVN repository on java.net

The developers who participated in this project were software engineering students from University of Belgrade. This is a very good model for collaboration between universities and open source projects which can help overcome the gap between academia and requirements in the software industry. 
Quick demo and installation instructions are available in this YouTube video

Pictures below show the main application window with all its components common to IDE: diagram view, palette, properties view, explorer view and project view.

Tuesday Apr 28, 2015

Java SE 8 OCP Certification Available Now

Java SE 8 OCA Programmers, move to Oracle Certified Professional, Java SE 8 Programmer by passing Java SE 8 Programmer II (1Z1-809) now. Beta testing is currently under way for this exam at the greatly discounted rate of USD$50.

Preparing for this certification exam introduces you to the most significantly updated version of Java yet. Learn to use lambdas in your day-to-day programming – thus reducing your development time and allowing for greater flexibility in your programming.

While training is not required for this certification, we strongly urge you to complete the recommended training course Java SE 8 Programming. This instructor-led training takes what you learn from reading the materials and teaches you to use the concepts effectively in real-world scenarios.

Visit pearsonvue.com/oracle and register for exam 1Z1-809. You can get all preparation details, including exam objectives, number of questions, time allotments, and pricing on the Oracle Certification Website.

QUICK LINKS:

About

Insider News from the Java Team at Oracle!

duke
Links


Search

Archives
« July 2015
SunMonTueWedThuFriSat
   
2
3
4
5
6
9
11
12
13
17
18
19
20
22
24
25
26
27
28
29
30
31
 
       
Today