FOSSLC is a non-profit organization that specializes in technology and know-how to record conferences with excellent quality. Click on the icons below to view great videos from communities we are actively involved with:

 

Java

Content related to the Java programming language.

Bye, bye, NPE

in ECE, ECE2011, Programming, Java, Eclipse
JavaEclipse

Despite all advances in the software field, the most common bug is still the most embarrassing bug that OOP has to offer: NullPointerException.

The main weapon in fighting NPEs is known for quite some time: annotating your types with either @Nullable or @NonNull. It has also been shown how appropriate defaults enable you to omit more than 2/3 of all required annotations without loss of precision. Still, null annotations haven't yet made their way into mainstream development with Java, and so we keep developing new NPEs every day.

This talk will present an initiative to enhance the Eclipse Java Compiler with the capability to perform comprehensive analysis of null problems in your code using null annotations. Current plans state that this support shall be released as part of Juno. The new analysis together with the corresponding new quick assists will allow you to adopt null annotations at any level and gradient: from making a few API contracts explicit and checkable up-to eventually providing guarantees that a fully annotated program will never throw NPE.

Until the Juno release the new functionality is made available as a separate download that has been developed using OT/J as the implementation language. A look behind the scenes will reveal how Object Teams has once again kept the promise of extreme modularity: We need tight integration for extending a complex application (the Eclipse Java Compiler) with a complex new feature (annotation based null analysis). OT/J is a champ for integration. We didn't want to compromise the separation of concerns and again OT/J is our friend: the new feature is a cleanly separated and concise module with all the benefits for development, building and deployment.

Event: 
ECE2011
Speaker: 
Stephan Herrmann

Practical Migration to Java 7 - Small Codeexamples

in ECE, ECE2011, Video, Java, Eclipse
JavaEclipse

Java 7 is finally there. Time to look at what we have with Project Coin and where it could help. Imagine, you are using Java 7 in your daily work. Where do you start? Which are the parts you start looking at? This session is going to look into some real life projects and examine the places where Java 7 could help.

The goal of Project Coin was to determine what set of small language changes should be added to JDK 7. A few finally made it into it:
Strings in switch, Binary integral literals and underscores in numeric literals, Multi-catch and more precise rethrow, Improved type inference for generic instance creation (diamond), try-with-resources statement and Simplified varargs method invocation. I will look into some real life examples and show how to apply the new features to enhance your code.

Event: 
ECE2011
Speaker: 
Markus Eisele

Java 7 - State of the Enterprise

in ECE, ECE2011, Video, Java, Eclipse
JavaEclipse

With Java 7 being GA you can start thinking about putting it to work in the Enterprise. But what are the challenges? How does the adoption path look like? What are the reasons you should do it and when? This session looks at the details about putting Java 7 into production. Tells you about things to keep in mind and gives a brief overview about how Enterprises would put it into production.

Event: 
ECE2011
Speaker: 
Markus Eisele

Simplifying REST in Java EE with Eclipse

in ECE, ECE2011, Video, Java, Eclipse, Web Programming
JavaEclipse

REST is a technique for providing light weight Web Services and in Java EE the Java API for RESTful Services (JAX-RS) provides the service framework. The Java Persistence API (JPA) provides the data access and Java Architecture for XML Binding (JAXB) handles marshalling the persistent entities into and out of XML. Sound great! There are a number of issues developers have to deal with when using them together. In this session we'll look at how to build RESTful services with Eclipse WTP using these standard technologies, their integration points and where the pain points are, and how to avoid them using EclipseLink's advanced REST/JAXB/JPA integrations features.

Event: 
ECE2011
Speaker: 
Shaun Smith
Doug Clarke