Exam Testing Objectives
Section 1: IDE Configuration
- 1.1 Demonstrate the ability to configure the functionality available in the IDE, including using enabling and disabling functionality and using the Plugin Manager.
- 1.2 Explain the purpose of the user directory and the netbeans.conf file and how these can be used to configure the IDE.
--cp:p additional-classpath prefixes specified classpath to the ides classpath
--cp:a additional-classpath appends specified classpath to the ides classpath
-Jjvm-flags Passes the specified flags directly to the JVM software.
- 1.3 Demonstrate the ability to work with servers in the IDE, such as registering new server instances and stopping and starting servers.
- 1.4 Describe how to integrate external libraries in the IDE and use them in coding and debugging your project.
1.5 Demonstrate knowledge of working with databases in the IDE, including registering new database connections and tables running SQL scripts.
1.6 Describe how to integrate and use different versions of the JDK in the IDE for coding, debugging, and viewing Javadoc documentation.
Section 2: Project Setup
2.1 Describe the characteristics and uses of a free-form project.
2.2 Demonstrate the ability to work with version control systems and the IDE. (Which VCS's are available, which ones you need an external client for, how to pull sources out of a repository, view changes, and check them back in).
2.3 Describe the ways in which you can change the build process for a standard project, such as configuring project properties and modifying the project's Ant build script.
2.4 Configure your project to compile against and run on a specific version of the JDK.
Section 3: Java SE Development
- 3.2 Describe how to manage the classpath of a Java SE project, including maintaining a separate classpath for compiling and debugging.
- 3.3 Demonstrate the knowledge of the NetBeans GUI Builder and the ability to lay out and hook up basic forms using it.
- 3.4 Demonstrate the ability to package and distribute a built Java Desktop project for use by another user.
Section 4: Java EE Web Development
4.1 Describe how to create a NetBeans project from the source code of an existing Web application.
4.2 Distinguish between a visual web application and web application.
(under Visual Web Application Development) http://www.netbeans.org/kb/trails/web.html
4.3 Demonstrate knowledge of which web frameworks are available in NetBeans IDE and how they are added to and used in a web application.
4.4 Describe how to monitor HTTP requests when running a web application.
4.5 Demonstrate a knowledge of basic tasks related to building and deploying web applications to a server, such as changing the target server and undeploying an application.
Section 5: Editing
5.1 Describe the purpose and uses of refactoring and demonstrate the ability to perform basic refactoring on Java source code.
5.2 Describe how to use the Options window to change the default appearance and behavior of the Source Editor.
The Options window enables you to change any of the IDE's configurable settings. The Options window offers two views for editing IDE settings.
Basic Options view (default). In the Basic Options view, you select a category at the top of the window to display its settings in the lower pane. Depending on the category, you can click on the tabs in the lower pane to access additional settings. When you change settings in Basic Options, the changes are not applied until you click OK.
Advanced Options view. In the Advanced Options view, select a node in the tree view in the left pane to display the property sheet in the right pane. The property sheet contains the names and values of the settings for the item selected in the left pane. When you change settings in the property sheet, the changes are applied immediately. The Advanced Options view enables you to access some settings not available in Basic Options. In the Advanced Options view you can apply specific settings globally or at the user level.
When you open the Options window, the default view is Basic Options. To switch between views, click the Advanced Options or Basic Options buttons in the Options window.
To edit IDE settings in the Options window:
Open the Options window by choosing Tools > Options from the main menu. (If you are running on Mac OS X, choose NetBeans > Preferences.)
If you want to edit settings in Advanced Options, click Advanced Options in the Options window.
Depending on which view you are in, select the category in the upper pane (Basic) or node in the left pane (Advanced) to display the configurable settings.
Modify the settings.
Close the Options window.
Editing Settings in Advanced Options
Editing property sheets When you are editing settings in Advanced Options, you can edit the property sheet in the following ways:
If the setting is a string, you edit the value inline and press Enter to save the change.
If a drop-down list appears when you select the option's node, click the arrow to select the value.
If an ellipsis (...) button appears when you select the option node, click the button to open the property's editor.
In Advanced Options, changes are applied immediately.
Levels of settings When you are in Advanced Options, you can store settings at two levels:
Default. Initial settings provided with the IDE installation. The IDE's default settings cannot be altered, however, they can be overriden by defining them at the User level.
User. Settings defined at the User level that override settings at the Default level.
By default the columns for User and Default are hidden. To display the User and Default columns, click << in the column heading. To hide the columns, click >>.
The following table defines the icons used in Advanced Options to indicate the levels at which settings are applied.
The settings for the corresponding options are defined at the level indicated in the column's title. Any changes made to those settings apply at that level.
The settings for the corresponding options are inherited from a higher level.
The settings for the corresponding options are ignored at the indicated level.
To define an option's value at the User level:
Select the node for the option you want to configure.
Click the cell in the User column for the options node you selected and choose Define Here.
The icon appears in the User column.
In the property sheet, configure the desired settings.
The new values for the selected options override the default values.
To revert to the default settings for an option:
Select the node for the option you want to configure.
Click the cell in the Default column for the options node you selected and Choose Revert Definition.
In the the dialog box, click Yes if you are sure you want to remove the selected option's User-level configuration.
The default values for the selected options are restored. The icon appears in the Default column and the icon appears in the User column.
When reverting to default settings, the IDE removes any values stored at the User level for the selected option.
5.3 Describe the ways that the IDE highlights errors in source code and the tools the IDE offers for correcting those errors.
5.4 Demonstrate the ability to use editor hints, such as implementing all the methods for an implemented interface.
5.5 Demonstrate the ability to use live code templates such as automatic generation of constructors, try/catch loops, and getters and setters.
Section 6: Testing, Profiling, and Debugging
6.1 Demonstrate the ability to work with JUnit tests in the IDE, such as creating JUnit tests and interpreting JUnit test output.
- 6.2 Describe how to debug a local (desktop) application, including setting breakpoints and stepping through code.
6.3 Describe the difference between local and remote debugging and describe how to debug a remote (web) application.
6.4 Describe the purpose of profiling applications and how to profile a local desktop application in the IDE.