FINALITA' 

Il corso Java SE Programmer II, basato sull’ultima versione del linguaggio, ha l'obiettivo di offrire tutte le competenze necessarie per programmare in Java, prestando particolare attenzione alla creazione di applicazioni, eseguite su server o sistemi desktop utilizzando la piattaforma Java SE 7.

 

 DESTINATARI

Il corso è rivolto ai programmatori che abbiano già maturato la conoscenza del linguaggio Java SE Programmer I e che vogliano sviluppare le competenze avanzate per lo sviluppo object oriented sul linguaggio di programmazione.

 

 DOCENTI

I docenti sono qualificati e certificati ed in grado di trasmettere le conoscenze per approcciare la programmazione in ambito Java.

 

 DETTAGLI

Durata: il corso avrà una durata complessiva di 1 settimana, in modalità full time, dal lunedì al venerdì;

Sede: Roma (zona EUR);

Costo: Prezzo scontato 500€ + IVA (Prezzo di listino 999€);

 

 PROGRAMMA

Il programma del corso prevede una componente teorica e una serie di esercitazioni pratiche sugli argomenti trattati ed è il linea con il percorso di formazione ufficiale per conseguire la certificazione Oracle Certified Professional, Java SE 7 Programmer.
L'obittivo del corso è quello di fa acquisire ai partecipanti le conoscenze necessarie per la preparazione alla Certificazione OCP e le competenze per lo sviluppo di applicazioni eseguite su sistemi desktop e gestendo dati raccolti in file e/o database.

 

I. Java Class Design 

  • Use access modifiers: private, protected, and public
  • Override methods 
  • Overload constructors and methods 
  • Use the instance of operator and casting
  • Use virtual method invocation
  • Override the hashCode, equals, and toString methods from the Object class to improve the functionality of your class.
  •  Use package and import statements

 

 II. Advanced Class Design 
  • Identify when and how to apply abstract classes
  • Construct abstract Java classes and subclasses
  • Use the static and final keywords
  • Create top-level and nested classes
  • Use enumerated types
 

III.  Object-Oriented Design Principles 

  • Write code that declares, implements and/or extends interfaces
  • Choose between interface inheritance and class inheritance
  • Apply cohesion, low-coupling, IS-A, and HAS-A principles
  • Apply object composition principles (including has-a-relationships)
  • Design a class using a Singleton design pattern
  • Write code to implement the Data Access Object (DAO) pattern
  • Design and create objects using a factory pattern
  

IV. Generics and Collections

  • Create a generic class
  • Use the diamond for type inference 
  • Analyze the interoperability of collections that use raw types and generic types 
  • Use wrapper classes, autoboxing and unboxing
  • Create and use List, Set and Deque implementations
  • Create and use Map implementations
  • Use java.util.Comparator and java.lang.Comparable
  • Sort and search arrays and lists
 

V. String Processing 

  • Search, parse and build strings (including Scanner, StringTokenizer, StringBuilder, String and Formatter);
  • Search, parse, and replace strings by using regular expressions, using expression patterns for matching limited to: . (dot), * (star), + (plus), ?, \d, \D, \s, \S, \w, \W, \b. \B, [], ();
  • Format strings using the formatting parameters: %b, %c, %d, %f, and %s in format strings.
 

VI. Exceptions and Assertions 

  • Use throw and throws statements 
  •  Develop code that handles multiple Exception types in a single catch block
  •  Develop code that uses try-with-resources statements (including using classes that implement the AutoCloseable interface)
  • Create custom exceptions
  • Test invariants by using assertions
 
VII.  Java I/O Fundamentals 
 
  • Read and write data from the console;
  • Use streams to read from and write to files by using classes in the java.io package (including BufferedReader,                     BufferedWriter, File, FileReader, FileWriter, DataReader, ObjectOutputStream, ObjectInputStream, and PrintWriter);
 

VIII. Java File I/O (NIO.2) 

  • Operate on file and directory paths with the Path class;
  • Check, delete, copy, or move a file or directory with the Files class;
  • Read and change file and directory attributes, focusing on the BasicFileAttributes, DosFileAttributes, and PosixFileAttributes interfaces;
  • Recursively access a directory tree using the DirectoryStream and FileVisitor interfaces;
  • Find a file with the PathMatcher interface;
  • Watch a directory for changes with the WatchService interface.

 

IX.  Building Database Applications with JDBC 

  • Describe the interfaces that make up the core of the JDBC API (including the Driver, Connection, Statement, and ResultSet interfaces and their relationship to provider implementations); 
  • Identify the components required to connect to a database using the DriverManager class (including the jdbc URL);
  •  Submit queries and read results from the database (including creating statements, returning result sets, iterating through the results, and properly closing result sets, statements, and connections);
  •  Use JDBC transactions (including disabling auto-commit mode, committing and rolling back transactions, and setting and rolling back to savepoints);
  •  Construct and use RowSet objects using the RowSetProvider class and the RowSetFactory interface;
  •  Create and use PreparedStatement and CallableStatement objects.
 

X. Threads

  • Create and use the Thread class and the Runnable interface;
  • Manage and control thread lifecycle;
  • Synchronize thread access to shared data;
  • Identify code that may not execute correctly in a multi-threaded environment.

 

XI. Concurrency

  • Use collections from the java.util.concurrent package with a focus on the advantages over and differences from the traditional java.util collections;
  • Use Lock, ReadWriteLock, and ReentrantLock classes in the java.util.concurrent.locks package to support lock-free thread-safe programming on single variables;
  • Use Executor, ExecutorService, Executors, Callable, and Future to execute tasks using thread pools;
  • Use the parallel Fork/Join Framework.

 

XII. Localization

  • Read and set the locale by using the Locale object;
  • Build a resource bundle for each locale;
  • Call a resource bundle from an application;
  • Format dates, numbers, and currency values for localization with the NumberFormat and DateFormat classes (including number format patterns);
  • Describe the advantages of localizing an application
  • Define a locale using language and country codes