Presentation is loading. Please wait.

Presentation is loading. Please wait.

Java developer tools Emanuel Dohi Lars Larsson

Similar presentations


Presentation on theme: "Java developer tools Emanuel Dohi Lars Larsson"— Presentation transcript:

1 Java developer tools Emanuel Dohi (emanuel@cs.umu.se)‏ Lars Larsson (larsson@cs.umu.se)‏

2 What is an IDE? (Integrated Development Environment)‏ source code editor compiler build automation tools debugger version control system GUI builder class browser object inspector Etc…

3 IDE alternatives Eclipse http://www.eclipse.org/ NetBeans http://www.netbeans.org/ Both are free, have GUI-builder, debugger, CVS, mobility pack, can be used for Java and C/C++, can handle external compile/build/deploy such as ANT. They also have plugins for profiling and javadoc generation. Both are platform independent and can be used on both Linux and Windows… Another useful application is ESS-model. http://essmodel.sourceforge.net/

4 Comments as JavaDoc / Code style JavaDoc http://java.sun.com/j2se/javadoc/writingdoccomments/ /** The add function calculates c = a + b @param A first integer to add @param B second integer to add @return the integer value of A+B **/ int add(int A, int B) { return (A+B); } Code convention http://java.sun.com/docs/codeconv/

5 CVS, Debugging, Testing CVS - What is it for? For CVS access at computing science contact support@cs.umu.se and simply ask for one (including the usernames that should have access, i.e. your group). Debugging stepping in/out, breakpoints, watchers, etc… Unit testing http://www.junit.org/

6 Demo Creating a project in Eclipse Auto compilation / error and warning helper Class / function helper CTRL-ALT-SPACE / sysout / syserr / for Refactor Getters and Setters Auto comments Compile / Run / External builders (ANT)‏ Debugger CVS GUI with NetBeans


Download ppt "Java developer tools Emanuel Dohi Lars Larsson"

Similar presentations


Ads by Google