modern java development

20
Modern Java Development Peerapat Asoktummarungsri Contributor THJUG

Upload: peerapat-asoktummarungsri

Post on 15-Apr-2017

504 views

Category:

Engineering


0 download

TRANSCRIPT

Modern Java Development

Peerapat Asoktummarungsri Contributor THJUG

AgendaBuild Tool (Maven, Gradle)

IDE (Netbeans, Intelli J)

Annotation Processing (Lombok, …)

No NullPointerException (Optional & Empty Collections)

Logging

Smart Syntax with Java 8 & Steam API

Testing

MavenCommand Line support (mvn package)

One XML Configuration file (pom.xml)

Standard Structure

Dependency Management & Central Repository

IDE Support

A lot of Plugins (mvn format)

cli support

pom.xml

Directory

Mavcompile (default)

provided

runtime

test

system

Scope

http://mvnrepository.com/

Central Repo

Netbeans

Gradle

Same feature with Maven

Not XML

Standard Android Project

Organize Import

Variable Warning

Format Code

Auto Complete

Set & Get

a == null, throw NullPointerException

execution only when a != null

No null object with Optional

Avoid null with Empty collections

Readable & Performance better

Any Params …

Lambda Functionlambda function: { (a) -> b }

(account) -> void

Q & A

http://www.slideshare.net/nuboat