Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Modern Java Development

615 views

Published on

Java Programming modern style.

Published in: Engineering
  • Login to see the comments

Modern Java Development

  1. 1. Modern Java Development Peerapat Asoktummarungsri Contributor THJUG
  2. 2. Agenda Build Tool (Maven, Gradle) IDE (Netbeans, Intelli J) Annotation Processing (Lombok, …) No NullPointerException (Optional & Empty Collections) Logging Smart Syntax with Java 8 & Steam API Testing
  3. 3. Maven Command Line support (mvn package) One XML Configuration file (pom.xml) Standard Structure Dependency Management & Central Repository IDE Support A lot of Plugins (mvn format)
  4. 4. cli support
  5. 5. pom.xml
  6. 6. Directory
  7. 7. Mav compile (default) provided runtime test system Scope
  8. 8. http://mvnrepository.com/ Central Repo
  9. 9. Netbeans
  10. 10. Gradle Same feature with Maven Not XML Standard Android Project
  11. 11. Organize Import Variable Warning Format Code Auto Complete
  12. 12. Set & Get
  13. 13. a == null, throw NullPointerException execution only when a != null No null object with Optional
  14. 14. Avoid null with Empty collections
  15. 15. Readable & Performance better Any Params …
  16. 16. Lambda Function lambda function: { (a) -> b } (account) -> void
  17. 17. Q & A http://www.slideshare.net/nuboat

×