Thursday Oct 29, 2015

A New Way to Program in Java EE 8

By Roger Smith

Cloud Services for Developers

I sat in today on an engaging session with Java EE expert David Blevins, who is a newly crowned Java Champion for his work in Open Source and Java EE for more than 10 years. As a member of the EJB, CDI, JMS, Java EE Security JSRs, and Java EE 6, 7 and 8 Expert Groups, he’s worked hard to make Java EE as simple, testable and lightweight as Java SE.

The next Java EE 8 edition, due in 2017, will focus on HTML5, cloud enablement, use of the model-view-controller framework and improved security. Another important selling point will be ease of use, which was the theme of much of Blevins's talk.

According to Blevin, the first era of Java EE was XML-driven where we used "tons and tons of deployment descriptors." The second era of Java EE, brought about by Java 5, was annotation-driven and very declarative by nature. With the advent of Java 8 features such as lambdas and method references, "we'll have the opportunity to take a look at all the Java EE APIs again and rewrite them to fundamentally reduce the ceremony we have to deal with when we write applications," he said. "I have some predictions: Java EE will shift from declarative to the programmatic since annotations are very declarative approach. With lambdas and method references, the approach is more to do it all at runtime."

He walked through a code example that highlighted a security example where one EJB was annotated as a Manager and another as Employee. "With lambdas and method references, you'll be able create a Manager EJB and an Employee EJB, and to test and run your code under many different security identities."

The impact of these kinds of capabilities in the new Java EE release means that there will be a shift in emphasis in Java EE programming from the Component-side to the Caller-side and that logic will become more mobile, Blevin concluded.

He also said that Java Community Process is a now an open process, which it wasn't a few years ago, and developers can now have an open say in the Java EE specification in JSR 366.

"If you don't vote, don't complain."

Thursday Oct 22, 2015

Free San Francisco Architecture walking Tour

By Debbie Omariba 

Want a free architecture tour of San Francisco ? Architect Eduardo Babadopulos has offered to take fellow JavaOne attendees on a walking tour, to the historic buildings of San Francisco's Financial District. In addition to being an architectural expert, Eduardo also works as a freelancer with interior architecture and landscape photography. Points of interest on this tour include:

    •    The Hallidie Building built around 1917-1918, which features glass walls.
    •    The Crown Zellerbach Building  the first significant building to go up in San Francisco after the Great Depression  and as such was the first international style building in San Francisco.
    •    The Shell building developed in 1930, was one of the tallest office structures in San Francisco, and remains one of the city’s most distinctive business addresses.
    •    Cross Sutter and Montgomery streets simultaneously by J-walking (diagonally crossing an intersection), an act that is allowed here, but usually considered a criminal offense.

The tour will take place after the Java Keynote on Sunday the 25th at 4:30pm. The meeting point will be the Hallidie Building, located on 130 Sutter St, San Francisco, CA 94104. Meet your fellow Java enthusiasts and discover San Francisco with this free walking tour.

Wednesday Oct 21, 2015

Drones and 3D Printing at JavaOne

In this interview, Michael Hoffer lets you discover the world of 3D modeling and printing. But what has 3D printing to do with Java? Michael is the one who bridged that gap by creating the Java Constructive Solid Geometry(JCSG), an open source and free tool to model 3D printable objects. If you join us at JavaOne, you can make your own model and then print it. You will also discover the robots that Michael created with 3D printed parts. He will be onsite answering questions. All this is at the Java Hub.

Another cool demo this year at JavaOne is Mark Heckler’s autonomous drone. He describes here how to create an autonomous drone with affordable technologies and open source libraries. He used Java embedded, the cheap credit card size Raspberry Pi for his self flying drones. If you are at JavaOne, you will have the chance to meet him at the Java Hub.

Tuesday Oct 20, 2015

What's New in JPA

Josh Juneau, in his "What's New in JPA" article, examines some of the top new features in Java Persistence API (JPA) 2.1. Using examples from a real-world application, Juneau focuses on three main areas that benefit from new JPA features:

  • Database schemas and type mapping
  • Invocation of database constructs
  • The SQL realm--specifically, querying, updating, and removing data from an underlying datastore

In spite of the fact that it was a minor release, he concludes that many of the new features in JPA 2.1 "pack a punch," can vastly improve developer productivity, and establish Java EE 7 as one of the most productive platforms available. Read the article.

Thursday Oct 15, 2015

Brewing Java with the Raspberry PI

Combine your love for coffee with programming! If you're a coffee lover--or even if you aren’t— a scientific approach to brewing the perfect cup offers insight into what you can do with embedded Java. Watch the demo and taste the coffee at the Java Hub during JavaOne 2015!

How do you build embedded applications connected to appliances? When do you use asynchronous communication?  Stephen Chin, lead Java community manager at Oracle, explains those challenges in his "Brewing Java with the Raspberry Pi” article. Using a coffee brewing application, Stephen shows how to use the Raspberry Pi to communicate with a USB scale and calculate the perfect amount of coffee to use for a given amount of water for the desired strength of a cup.

For this project he used: 
- usb4java, a Java library for accessing USB devices 
- JSR 80 (Java API) 
- Java SE Embedded 8 that came pre-loaded on the Raspberry Pi 
- Water heater, scale and the perfect recipe 

Read his article.

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 Oct 07, 2015

New Java Champion Edson Yanaga

Congratulations to the new Java Champion: Edson Yanaga 

Edson (@yanaga) is a software craftsman, who considers his craft his life’s mission. Frequent speaker and track lead at international conferences, he presents about Java, ALM, cloud computing, DevOps and software craftsmanship. Agile early-adopter and practitioner since 2004, he's also an open source user, advocate and developer.

He has been teaching software development techniques, domain-driven design, computer networks, distributed systems, DevOps practices and Java technologies in undergraduate and graduate programs for almost 15 years. Recently, he joined the JUG Tour as a speaker, visiting 17 cities around Brazil in 20 days for the 20 years of Java celebration. Occasional blogger and writer, he contributed to RebelLabs and published three articles in Oracle Java Magazine. 

He is part of the software craftsman movement to improve the quality of software and teaches innovative ways of crafting software. He often provides consultant services to help teams implement DevOps methodology. He is an occasional open source contributor to many different projects including Spring Data, Spring Webflow, SQLDroid and others, and responsible for some projects available on Maven central.

Edson in collaboration with Bruno Souza presented several Webinars, conference sessions and a series of articles in Oracle Java Magazine focusing on career development. He is now organizing a new track dedicated to professional development at venues like The Developer's Conference.

Edson is a frequent, international speaker at JavaOne San Francisco, JavaOne Latin America, Microsoft TechEd Europe, QCon, The Developer’s Conference, Campus Party, JUDCon and FISL. He is also responsible for the technical content about Java deployment options on Azure available in Portuguese at the Microsoft Virtual Academy. He also has published a book for undergraduate courses about databases in Portuguese.

Tuesday Oct 06, 2015

JCP at JavaOne 2015

By Heather VanCura  

From original post: Learn the Latest from the JCP at JavaOne 2015 San Francisco

It is that time of year again!  Time to attend the JavaOne conference in San Francisco.  Learn what's happening with the JCP program, JCP.Next, Adopt-a-JSR, meet the 13th Annual JCP Award nominees and potential new JCP Executive Committee (EC) members. There will be plenty of opportunities on Sunday through Thursday during JavaOne 2015. We look forward to seeing you there (full article).

[Read More]

About the Latest Issue of Java Magazine!

How are engineers changing the way they test applications? This new issue of the Java Magazine focuses on test-driven development. Some companies like Atlassian are moving the quality assurance responsibility entirely to developers.  The advanced features of JUnit, a simple framework to write repeatable tests, can greatly increase developer testing abilities. User interfaces require specialized testing tools; for example, TestFX is designed to test JavaFX applications. Browser based applications can be tested with Selenium against multiple web browser types and versions.

The articles about testing are:

  • Test JavaFX apps with TestFX 
  • Eight Greatly Underused Features of JUnit 
  • Building and Automating a Functional test Grid 
  • Stress Testing Java EE Applications 
  • Think Like a Tester and Get Rid of QA 

In addition, you will find the articles about: 

  • Kotlin: A Low Ceremony, High-Integration Language 
  • Functional Programming in Java 
  • Contexts and Dependency Injection 
  • A First Look at Microservices 
  • More Ideas to Boost Your Developer Career 
The magazine is available for free! 

Thursday Oct 01, 2015

New Oracle University Java Courses!

The Java EE 7: Back-End Server Application Development training was recently added to Oracle University. The course teaches you how to build and deploy enterprise applications that comply with Java Platform, Enterprise Edition 7 Full Profile. You will learn to develop applications with the following technologies: Enterprise JavaBeans (EJB), Java Persistence API (JPA), JDBC, Java Transaction API (JTA), Contexts and Dependency Injection (CDI), Java Message Service (JMS), Bean Validation, Batch API, Timer services, Java EE Concurrency and more. This new class is available online

Java University at JavaOne offers deep dive training about the popular Java technology. The sessions include: 
  • Architect and Design Secure Robust Enterprise Java
  •  Applications for the Cloud and Beyond
  • Creating Engaging Games with Java FX 8: A Case Study
  • JavaScript for Java Developers: Develop Web Applications
  • Recommended Practices for Java Performance Tuning
  • Stay Current with Java SE 8: Java Oracle Certified Professional Exam Cram
  • The Latest and the Greatest of RESTful Web Services
  • Using the Power of JSF 2.X, HTML5, WebSocket, and JSON
  • Using the Power of Java 8 Lambda Expressions and Streams
Receive a free 30-day Oracle Learning Streams subscription trial when you attend the Oracle University Preconference Training event. Terms and Conditions apply.

Learn more by visiting the Oracle University and Java University pages and add a session to your conference pass today!


Insider News from the Java Team at Oracle!



« November 2015