Andreas Enbohm Capgemini Sverige AB Java SE 7 (Dolphin) or ”The Future is Nigh”

Slides:



Advertisements
Similar presentations
New features in JDK 1.5 Can these new and complex features simplify Java development?
Advertisements

.NET Framework Overview
Java Beans & Serialization CS-328 Dick Steflik. Java Beans Java based component technology –originally developed to provide java with a component technology.
Overloading methods review When is the return statement required? What do the following method headers tell us? public static int max (int a, int b)
Principles of Object-Oriented Software Development The language Java.
2 2 The following is intended to outline our general product direction. It is intended for informational purposes only, and may not be incorporated into.
Copyright © 2003 ProsoftTraining. All rights reserved. Sun Certified Java Programmer Exam Preparation Guide.
Java Software Solutions Lewis and Loftus Chapter 2 1 Copyright 1997 by John Lewis and William Loftus. All rights reserved. Software Concepts -- Introduction.
Creating of Rich Client Applications using NetBeans 6 and Java Swing Miroslav Nachev.
Java Beans.
Lecturer PEN PHIROM Tel : Web site: Lecturer PEN PHIROM Tel :
Spring Overview, Application demo -Midhila Paineni 09/23/2011 Spring Overview, Application demo9/8/20151.
Configuration Management and Server Administration Mohan Bang Endeca Server.
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 18 Exception Handling.
Object persistence with Hibernate in Decision Deck 1.1 Gilles Dodinet 2 nd Decision Deck Workshop 2008, February.
Java Packages and Libraries M Taimoor Khan
Introduction to Java Programming. History F James Gosling and Sun Microsystems F Oak F Java, May 20, 1995, Sun World F HotJava –The first Java-enabled.
Component-Based Software Engineering Introduction to.NET Paul Krause.
.NET Framework Danish Sami UG Lead.NetFoundry
1 Module Objective & Outline Module Objective: After completing this Module, you will be able to, appreciate java as a programming language, write java.
Chapter 1: Introducing JAVA. 2 Introduction Why JAVA Applets and Server Side Programming Very rich GUI libraries Portability (machine independence) A.
CIS 644 Aug. 25, 1999 tour of Java. First … about the media lectures… we are experimenting with the media format please give feedback.
 No move to Java 7 until end of this year  IT deploy Java 7 everywhere  BE/CO remove it again!  So don’t rely on it being installed on a console 
1162 JDK 5.0 Features Christian Kemper Principal Architect Borland.
Module 3: Working with Components. Overview An Introduction to Key.NET Framework Development Technologies Creating a Simple.NET Framework Component Creating.
1 Cisco Unified Application Environment Developers Conference 2008© 2008 Cisco Systems, Inc. All rights reserved.Cisco Public Introduction to Etch Scott.
Summary We have barely scratched the surface, both in terms of Java as well as OO.
Jaroslav Šnajberk, Tomáš Potužák, Richard Lipka Department of Computer Science and Engineering Faculty of Applied Sciences University of West Bohemia,
Introduction to Java Beans CIS 421 Web-based Java Programming.
Lecture 2 Software Concepts Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung Institute of Technology.
13. JavaFX. 2 JavaFX Intro Sun's answer to –the popularity of scripting languages –problems with Java GUI AWT is very basic Swing is too complex, too.
Everything is an object (CH-2) Manipulating Objects with References. Manipulating Objects with References. String s; String s = “IS2550” String s = new.
EM 431 ASA and the new SQLJ standards Shannon White Software Developer iAnywhere Solutions
Java Beans. Definitions A reusable software component that can be manipulated visually in a ‘builder tool’. (from JavaBean Specification) The JavaBeans.
White Space Spaces, blank lines, and tabs are collectively called white space and are used to separate words and symbols in a program Extra white space.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Plug-in Architectures Presented by Truc Nguyen. What’s a plug-in? “a type of program that tightly integrates with a larger application to add a special.
Atos, Atos and fish symbol, Atos Origin and fish symbol, Atos Consulting, and the fish itself are registered trademarks of Atos Origin SA. August 2006.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 3 1COMP9321, 15s2, Week.
Java Software Solutions Lewis and Loftus Chapter 2 1 Copyright 1997 by John Lewis and William Loftus. All rights reserved. Software Concepts -- Introduction.
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 32 JavaBeans and Bean.
1 Java Server Pages A Java Server Page is a file consisting of HTML or XML markup into which special tags and code blocks are inserted When the page is.
Spring 2009 Programming Fundamentals I Java Programming XuanTung Hoang Lecture No. 8.
Object Oriented Programming Object and Classes Lecture 3 MBY.
Singleton Academy, Pune. Course syllabus Singleton Academy Pune – Course Syllabus1.
WEEK 2 1 Software Concepts -- Introduction Now we can begin to examine the basic ideas behind writing programs Chapter 2 focuses on: history.
J AVA T RAINING IN A HMEDABAD By TOPS Technologies 1 TOPS Technologies Java Course.
Today Threading, Cont. Multi-core processing. Java Never Ends! Winter 2016CMPE212 - Prof. McLeod1.
1 CSE 331 Summary of remaining Java features slides created by Marty Stepp based on materials by M. Ernst, S. Reges, D. Notkin, R. Mercer, Wikipedia
Beans Binding Framework & Swing Application Framework Geertjan Wielenga http//netbeans.dzone.com.
Chapter 32 JavaBeans and Bean Events
Intro to Java L. Grewe.
Before You Begin Nahla Abuel-ola /WIT.
Recap Modules: dependency management, revisioning, information hiding
Reflection API, JDBC, Hibernate, RMI
Data Modeling II XML Schema & JAXB Marc Dumontier May 4, 2004
JDK 1.6 change summary D. MANIKANDAN.
Technical Sessions Scripting/Groovy Simple App Framework Portlet Rest
Enterprise Java Bean. Overview of EJB View of EJB Conversation Roles in EJB, Types of Enterprise Beans Lifecycle of Beans Developing Applications using.
Functional Programming with Java
Introduction to C# AKEEL AHMED.
Notable Java 8 New Features – Not including Lambda S Marvasti
null, true, and false are also reserved.
Programming in Java Text Books :
Embracing Java 9 and beyond with Eclipse JDT
Building a program (Java libraries) - an example
F II 1. Background Objectives
Chap 1. Getting Started Objectives
Chap 4. Programming Fundamentals
Presentation transcript:

Andreas Enbohm Capgemini Sverige AB Java SE 7 (Dolphin) or ”The Future is Nigh”

© 2004 Capgemini - All rights reserved 2008, July – Andreas Enbohm Java SE 7  No JSR for Java 7!  Modularity - JSR 294 – Superpackages - JSR-277 Java Module System (OSGi, superjars)  Libraries - JSR NIO2 (permissions, file attributes) - JSR 310 – Date and Time (3:rd time …) - JSR 284 – Resource Consumption (like ARM) - Pruning

© 2004 Capgemini - All rights reserved 2008, July – Andreas Enbohm Super Packages ”Public is too public” superpackage jdk { member package java.util; member package java.io; member package sun.io; // Impl detail export java.util.*; // Public API export java.io.*; }

© 2004 Capgemini - All rights reserved 2008, July – Andreas Enbohm Java SE 7  No JSR for Java 7!  Modularity - JSR 294 Superpackages - JSR 277 Java Module System (OSGi, superjars)  Libraries - JSR 203 NIO2 (permissions, file attributes) - JSR 310 Date and Time (3:rd time, datum utan klockslag) - JSR 284 Resource Consumption Management (cpu time, open JDBC connections, like ARM)

© 2004 Capgemini - All rights reserved 2008, July – Andreas Enbohm Java SE 7  Swing - JSR 296 Swing Application Framework - JSR 295 Beans Bindings - JSR 303 Beans Validation = 2, max = 4)) - Java Media Component (quicketime, mpeg 4, native) - JavaFX  Types and Generics - Refined generics (puh!) - Type literals (generics at runtime) - Type Inference (String s = new String(”s”);-> s = new String) - JSR 208 Annotation on types

© 2004 Capgemini - All rights reserved 2008, July – Andreas Enbohm Java SE 7  Swing - JSR 296 Swing Application Framework - JSR 295 Beans Bindings (auto synch Model and View ) - JSR 303 Beans Validation = 1, max = 3) - Java Media Component (quicketime, mpeg 4, native)  Types and Generics - Refined generics (puh!) - Type literals (generics at runtime) - Type Inference (String s = new String(”s”);-> s = new String) - JSR 208 – Annotation on types

© 2004 Capgemini - All rights reserved 2008, July – Andreas Enbohm Swing application Framework  Application lifecycle handling; - launch() - startup() - exit() - shutdown()  public void openFile() { …}  Support for handling resources (formatted strings, images, colors, i18n)  Support for session states  Remove the ’italian-style-code’ which is needed in Swing applications (e.g. listener pattern)

© 2004 Capgemini - All rights reserved 2008, July – Andreas Enbohm Annotation on Types public int String name) { //No need to throw IllegalArgumentException! return name.length(); } public void int age) { this.age = age; }

© 2004 Capgemini - All rights reserved 2008, July – Andreas Enbohm Java SE 7  Language Proposals - Closures (N/A ?) - ARM blocks - Language level XML support - JavaBeans Properties (like Scala/C#, no need for get/set)  Misc. Language Changes - BigDecimal operator support (+-*/) - String in switch statements - improved catch-blocks (catch (AccesEx | IllegalStateEx)) - chained method invocations (foo.bar().baz(), bar(), baz() voids)

© 2004 Capgemini - All rights reserved 2008, July – Andreas Enbohm Closures System.out.print(“Prepare the lobster"); putInPot("lobster"); putInPot("water"); System.out.print(“Prepare the chicken"); putInFryPan("chicken"); putInFryPan("coconut"); function cook( i1, i2, f ) { System.out.print(“Prepare the " + i1); f(i1); f(i2); } cook( "lobster", "water", putInPot ); cook( "chicken", "coconut", putInFryPan );

© 2004 Capgemini - All rights reserved 2008, July – Andreas Enbohm Java SE 7  Language Proposals - Closures (N/A ?) - ARM blocks - Language level XML support - JavaBeans Properties (like Scala/C#, no need for get/set)  Misc. Language Changes - BigDecimal operator support (+-*/) - String in switch statements - improved catch-blocks (catch (AccesEx | IllegalStateEx)) - chained method invocations (foo.bar().baz(), bar(), baz() voids)

© 2004 Capgemini - All rights reserved 2008, July – Andreas Enbohm Java SE 7  JVM - invokedynamic (good for scriptlanguages builders) - tired compilation (improve JIT, do at startup) - G1 Garbage Collector (’collect where it is most needed’) - More script engines - Cheap concurrency -> Scala/Erlang Actors (continuation closure)