Java 8 was released quite a while ago and we are now close to release of Java 9. There are discussions of Java 10 features also. There are many who are still stuck with older versions for various reasons. Many people claim that their code supports Java 8 but they aren't really using the powerful features of Java 8 like lambda expressions, Streams API and the new Date / Time API. This session does a quick recap of the powerful and unique features of Java 8. Tips and techniques to identify areas of code fit for refactoring to Java 8, will be shown. Eclipse can be leveraged to refactor code to use features like lambdas and streams. Pros and Cons of these features would be covered so that an informed decision can be taken whether to refactor or not.

 
 

Outline/Structure of the Talk

  • Benefits of Migration to Java 8
  • Recap of Java 8 Features - Lambda Expressions, Streams API, Date / Time API
  • Expectation Setting
  • Lambda Expressions - Automatic Refactoring
  • Streams API - Automatic Refactoring
  • Eclipse for faster refactoring
  • Performance Advantage
  • Examples of old and Java 8 code samples.

Learning Outcome

Attendees would get to know about the powerful and high performance features of Java 8 like Lambda expressions, Streams API. They would get to know the advantages of migrating to Java 8 and use the Java 8 feature properly. Eclipse can be used to perform quite a lot of refactoring automatically. Attendees would understand the pros & cons of moving to Java 8 and can take an informed decision to move to Java 8.

Target Audience

Developers, Architects

schedule Submitted 6 years ago

  • kumaraswamy Gowda
    keyboard_arrow_down

    kumaraswamy Gowda - Build RESTful application with simplified approach to Expose and Test

    20 Mins
    Talk
    Intermediate

    Creating REST services has been a need in most of the organization with clients being a Web or Mobile app consuming the same set of services. In this session, learn how to create RESTful services using Eclipse, that caters to different clients. Exposing the services is as important as building them. Understand how to make your service discoverable in an efficient manner across cross functional teams, users along with an ability to test it in much simplified manner using Swagger APIs.

  • Naresha K .
    Naresha K .
    Consultant
    Independent
    schedule 6 years ago
    Sold Out!
    20 Mins
    Demonstration
    Intermediate
    The Eclipse Foundation project Vert.x is a toolkit for developing polyglot reactive applications on the JVM. One can develop applications on Vert.x using not only JVM languages like Groovy, Ceylon but also languages like JavaScript and Ruby. Vert.x leverages event-driven and non-blocking techniques with the intention to help developers write high performant applications that are resource efficient.
     
    In this presentation, I will demonstrate the Vert.x way of architecting and developing applications. I will develop a few Verticles talking to each other through the event bus and expose the functionality through HTTP. I will use Groovy for most of my code examples along with JavaScript and Java to demonstrate the polyglot options.
  • Manoj NP
    keyboard_arrow_down

    Manoj NP / Sasikanth Bharadwaj - JDT Embraces Java 9 - An insider's perspective

    20 Mins
    Talk
    Intermediate

    Eclipse Java Development Tooling or JDT has its own Java compiler at its core, aptly called the JDT Core consisting of the Java compiler and various tools including java model, search infrastructure, content assist, Abstract Syntax Tree Tools etc.  Java 9 is the latest entry in the Java world bringing along-with it a "module" of changes - so to speak.  Any change in the language standards affects JDT directly. While some of the earlier language specification changes affected only the compiler, Java 9, in contrast, has a direct impact on user who uses Eclipse IDE for creating and managing Java Projects. Java 9  introduces the concept of "Modules" which affects JDT from the compiler level to the project dependency layer affecting a normal user. Support for this feature will be dealt with, in detail, in this talk.

    This talk would start with a brief overview of the Java 9 features especially the "module" feature that have direct impact on Eclipse users,  describe the JDT support for features, touch upon some of the design aspects, and would conclude with a demo of Eclipse JDT for Java 9.

  • Ramlakshmanan
    keyboard_arrow_down

    Ramlakshmanan - Am I reading GC logs correctly?

    Ramlakshmanan
    Ramlakshmanan
    Founder
    Tier1app
    schedule 6 years ago
    Sold Out!
    45 Mins
    Tutorial
    Beginner

    Abstract

    There are several formats for garbage collection logs. Depending on the Java vendor (Oracle, IBM, HP,...), Java version (5, 6, 7, 8, 9), GC algorithm (serial, parallel, CMS, G1), and JVM options (-X..) garbage collection log format varies. Analyzing all these formats is not trivial. In this session, you will not only learn how to analyze different GC log formats but also how to troubleshoot complex memory problems with help of GC logs. We will walk-through some of the serious troubled real-world GC logs and troubleshoot them.

     

  • Rajesh Sola
    keyboard_arrow_down

    Rajesh Sola - Gateway design with Eclipse Kura - Taking to new heights

    Rajesh Sola
    Rajesh Sola
    Core Faculty
    CDAC,Pune
    schedule 6 years ago
    Sold Out!
    90 Mins
    Tutorial
    Intermediate

    This talk cum tutorial aims at introducing Eclipse Kura, OSGi based framework for IOT gateway design.It starts with kura architecture and key elements like bundles, services, web admin interface etc. and a tour of available APIs,services for hardware interfacing, wireless connectivity,cloud connectivity and industrial & automotive protocols.The next part proceeds with case study of building custom services,for eg:- adding client support for HTTP REST, InfluxDb in kura.Later few bridging scenarios will be covered on interfacing local networks with IOT Platforms like ThingSpeak, OpenSensors.io etc using these services and also storing data points in a time series at edge/gateway side using InfluxDb as an example.

  • Gurpreet Sachdeva
    keyboard_arrow_down

    Gurpreet Sachdeva - Towards a More Secure JDK

    Gurpreet Sachdeva
    Gurpreet Sachdeva
    Director - Technology
    Aricent
    schedule 6 years ago
    Sold Out!
    20 Mins
    Talk
    Advanced

    The last few years have seen new computing trends like increased use of mobile devices, big data and a world connected with internet. This has made Java applications vulnerable to threats and attacks. With time, holes get exposed in cryptographic algorithms and security protocols. They then need to be replaced with stronger alternatives. This session will show how safety mechanisms have been built into JDK to automatically protect applications from weak algorithms and protocols such as MD2, MD5, RC4, weak RSA/DSA keys and SSLv3. A wide variety of security controls have been made available which range from automatic defenses to user friendly APIs. Several new security controls have been introduced in Java 8 and Java 9 platforms like SHA-3 hash algorithms, OCSP stapling for TLS and DRBG SecureRandom implementation. This session will benefit Java developers by introducing them of the many defenses present and available in the Java ecosystem.

  • Gurpreet Sachdeva
    keyboard_arrow_down

    Gurpreet Sachdeva - Lambdas Revisited

    Gurpreet Sachdeva
    Gurpreet Sachdeva
    Director - Technology
    Aricent
    schedule 6 years ago
    Sold Out!
    45 Mins
    Talk
    Advanced

    Java 8 was released in March 2014 with lambda expressions as its flagship feature. Many people have used them to write more concise and flexible code. Lambda expressions can be combined with the Streams API to express rich data processing queries. Many popular programming languages already had support for "lambdas" aka "closures". Interestingly, many of these languages run on the JVM and Java as the most prominent language running on the JVM did not want to be left behind. Java has provided support for lambdas using an elegant mechanism of "invokedynamics". In addition to this the streams API provided support for concurrent execution of instructions to suit new age parallel pipelined microprocessors. This session does a recap of Lambdas and Streams and their benefits with some practical examples. It then goes on to see how the community has taken these concepts. The excellent support provided by Eclipse for Lambdas will also be covered.

  • Deepali Kishnani
    keyboard_arrow_down

    Deepali Kishnani / Harkirat Singh Lamba - Natural Language Based Query Engine for Eclipse Modeling Framework

    20 Mins
    Demonstration
    Beginner

    Searching in big databases is the need of the hour. With ever growing applications and customer base, quicker search over the data helps you survive. Modeling Frameworks sit at the core of modern software. The increasing complexity of business requirements are reflected in the increasing complexity of the modeling framework. What if you could query the complex models within seconds? This is just one use case of VIATRA Query.

    VIATRA Query is an Eclipse project. Initially conceived by the Budapest University of Technology and Economics, VIATRA is an Event-driven and Reactive Model Transformation Platform.  We have used VIATRA Query to create a small search engine for Ecore models of EMF using Natural Language Based Rule Engine and would like to share our experience with it.

    VIATRA Query enables the user to query the EMF models without having to manually traverse them. Complex queries can be converted into patterns. Parameters to models can be passed at runtime, something which is crucial to any query engine. The idea of creating a search engine using VIATRA Query opens up new and innovative ideas of working with Eclipse Modeling Framework. To know more about the algorithm behind this technology or how we made it work, please join us at the Eclipse 2017 Summit!

  • Gunnar Wagenknecht
    keyboard_arrow_down

    Gunnar Wagenknecht - Eclipse Bundle Recipes

    20 Mins
    Talk
    Beginner

    The Eclipse Platform is based on OSGi and OSGi is a model to modularize Java applications at runtime. Unfortunately, not all Java libraries provide the necessary metadata required for OSGi. Thus, if developers want to consume a library, they have to generate the OSGi metadata themselves. This problem is solved by the Eclipse Bundle Recipes project. It provides a library of templates (the “recipes”) and tools that can be used to create OSGi bundles. You have a library that you'd like to use in your OSGi project? Then stop by in this session and see if the Eclipse Bundle Recipes (EBR) project already has a recipe for your. You will learn how easy it is to consume libraries from Maven repositories and turn them into OSGi bundles. We will also demonstrate how the recipes and build system can be deployed in to create bundles at large scale and consumed in your builds. Last but not least, we will also show you how to contribute recipes to the EBR project.

help