Dive into Java

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    7 Favorites

    Dive into Java - Presentation Transcript

    1. Dive Into Java A Roadmap to Effective Java Programming
    2. When do you KNOW a language?
      • When you know the syntax?
      • When you can write software with it?
      • When you know where’s the manual?
      • When you use the language for N years?
      • When you can consult others?
    3. NO
      • When you know the syntax?
      • When you can write software with it?
      • When you know where’s the manual?
      • When you use the language for N years?
      • When you can consult others?
    4. You KNOW a language when...
      • When you know the difference in syntax between versions
      • When you can write maintainable software with it efficiently
      • When you know how to use the manual
      • When you use the language actively for N years and keep up with it’s evolution
      • When you can consult others on advanced topics
    5. AND
      • When you know when , how and why you should use tooling and third party extensions (A good IDE, Build / Dependency М anagement, Frameworks, Libraries)
      • When you know and use it’s main concepts and methodologies in practice (For Java its Object Oriented Programming and Design Patterns)
      • Learning Java is learning…
      Java
    6. We’ll look a bit more at
      • OOP Principles / Design Patterns
        • Fundamentals
        • Difference from Procedural Programming (PL/SQL)
        • Java Specific stuff you MUST know
      • Tooling
        • What to use and what to avoid
        • IDE
        • Building / Dependency Management
      • Frameworks
        • Spring
        • Hibernate
    7. Object Oriented Programming
      • http://en.wikipedia.org/wiki/Object_oriented
      • A-Must Book: “ Design Patterns: Elements of Reusable Object-Oriented Software ” by “Gang of Four” ( Erich Gamma , Richard Helm , Ralph Johnson , John M. Vlissides )
      • Common mistakes PL/SQL programmers make
        • Thinking that PL/SQL skills are enough to code Java
        • Doing everything with IF/ELSE, WHILE, FOR, SWITCH.
        • Long methods. 30 lines is a long method. 300 is Sparta... And Sparta failed.
        • Creating Superobjects and Monolithic Entities.
    8. More Common Mistakes
      • import org .apache .xml .* ;
      • Ignoring Java Code Conventions: http://java.sun.com/docs/codeconv/
      • No comments or //-- useless /* comments */ instead of JavaDoc: http://java.sun.com/j2se/javadoc/writingdoccomments/
      • Pasting code from G o o g l e search results
      • Copy/Paste.
    9. Design Patterns
      • Why do we need Design Patterns?
      • Dependency Injection
      • Patterns of Enterprise Application Architecture
      • Enterprise Integration Patterns
      • Read Books!
    10. Tooling
      • vim?
      • JDeveloper?
      • NetBeans?
      • Eclipse?
      • IntelliJ IDEA?
    11. Tooling
      • vim? – it’s a Swiss Army Knife, but you need serious heavy artillery for Java.
      • JDeveloper?
      • NetBeans?
      • Eclipse?
      • IntelliJ IDEA?
    12. Tooling
      • vim? – it’s a Swiss Army Knife, but you need serious heavy artillery for Java.
      • JDeveloper? – It’s what Oracle wants you to use. And Oracle should keep it’s hands away from Java.
      • NetBeans?
      • Eclipse?
      • IntelliJ IDEA?
    13. Tooling
      • vim? – it’s a Swiss Army Knife, but you need serious heavy artillery for Java.
      • JDeveloper? – It’s what Oracle wants you to use. And Oracle should keep it’s hands away from Java.
      • NetBeans – OK. Has improved a lot, but...
      • Eclipse?
      • IntelliJ IDEA?
    14. Tooling
      • vim? – it’s a Swiss Army Knife, but you need serious heavy artillery for Java.
      • JDeveloper? – It’s what Oracle wants you to use. And Oracle should keep it’s hands away from Java.
      • NetBeans – OK. Has improved a lot, but...
      • Eclipse – Open Source, fast*, plugable
      • IntelliJ IDEA?
    15. Tooling
      • vim? – it’s a Swiss Army Knife, but you need serious heavy artillery for Java.
      • JDeveloper? – It’s what Oracle wants you to use. And Oracle should keep it’s hands away from Java.
      • NetBeans – OK. Has improved a lot, but...
      • Eclipse – Open Source, fast*, plugable
      • IntelliJ IDEA – shareware, but a good one
    16. Tooling
      • Building
        • Manual
        • Apache Ant
        • Maven 2
      • Dependency Management
        • Manual
        • Maven 2
      • Debugging
        • Manual
        • With IDE
      • Conclusion
        • Automate Everything !
        • Always use Maven 2
        • You may want to use Ant for specific low-level tasks
    17. Frameworks
      • What EVERY Java developer should know
        • Spring Framework ( www.springframework.org )
          • Full Stack. Lightweight J2EE.
        • Hibernate ( www.hibernate.org )
          • Database Persistence.
      • There’s more
        • For almost anything…
      • Avoid
        • Oracle Frameworks (like ADF )
        • Closed Source
    18. Don’t Get Rusty
      • Subscribe to RSS feeds!
        • http://www.dzone.com/links/tag/java.html
        • http://www.theserverside.com
        • http://www.infoq.com
        • http://www.javaworld.com
        • The Internet is full of more resources
      • Read Books!
        • Documentation at java.sun.com
        • “ Head First” series
        • Martin Fowler’s writings
        • “ Effective Java”
        • “ Java Concurrency in Practice”
        • Prefer reading NEW books (less than 3 years old), except for the true classics
      • Don’t read misguiding stuff!
        • “ Learn Java in 21 days”
        • “ Sam’s Teach Yourself Java in a week”
        • “ Java Tutorial” at oracle.com
        • Most solutions in various forums and Google search results are bad or outdated examples
    19. Where to start?
      • Download the latest Eclipse ( www.eclipse.org ), hit F1 and go through Java Development tutorial.
      • Download Maven 2 ( maven.apache.org ), Install Maven Integration in Eclipse ( http://code.google.com/p/q4e/wiki/Installation ), read the manuals, play around.
      • Read “Head First Java” ( http://knowfree.net/2008/03/03/head-first-java-2nd-edition-excellent-book-from-o-reilly.kf )
      • Read “Head First Design Patterns” ( http://www.freebookspot.com/Comments.aspx?Element_ID=2985 )
      • Try Spring Framework (add the dependency with Maven. Find the dependency at www.mvnrepository.com ). Read Spring documentation (especially parts about Dependency Injection) at www.springframework.org
      • Subscribe to RSS feeds mentioned earlier and follow what the community is up to
    20. Questions?

    + Tomas VaraneckasTomas Varaneckas, 10 months ago

    custom

    2949 views, 7 favs, 15 embeds more stats

    Java Jumpstart for experienced software developers

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 2949
      • 2006 on SlideShare
      • 943 from embeds
    • Comments 0
    • Favorites 7
    • Downloads 186
    Most viewed embeds
    • 647 views on http://paranoid-engineering.blogspot.com
    • 209 views on http://javathreads.de
    • 49 views on http://www.varaneckas.com
    • 14 views on http://osumu.wordpress.com
    • 6 views on http://www.net4java.com

    more

    All embeds
    • 647 views on http://paranoid-engineering.blogspot.com
    • 209 views on http://javathreads.de
    • 49 views on http://www.varaneckas.com
    • 14 views on http://osumu.wordpress.com
    • 6 views on http://www.net4java.com
    • 6 views on http://javaspell.blogspot.com
    • 2 views on http://www.brijj.com
    • 2 views on http://networked.blogspot.com
    • 2 views on http://cviserver.ddns.comp.nus.edu.sg
    • 1 views on http://www.mefeedia.com
    • 1 views on http://static.slideshare.net
    • 1 views on https://apps.j-schmitz.net
    • 1 views on http://localhost
    • 1 views on http://209.85.135.132
    • 1 views on http://varaneckas.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories