12 November 2008

SCSNI Exam Testing Objectives

Very useful faq that can be used with many of the sections down here.
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.
You can pass startup parameters to the IDE launcher using the IDE-HOME/etc/netbeans.conf file. The launcher reads this file prior to parsing the command-line options, including any parameters you have added.
--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.

On properties on project node

  • Section 3: Java SE Development

    • 3.1 Demonstrate the ability to create NetBeans projects from the source code of an existing Java SE program.
    • 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.
    Netbeans help under "Using the Options Window"
    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.
    • 6.2 Describe how to debug a local (desktop) application, including setting breakpoints and stepping through code.

11 November 2008

Sun Certified Specialist NetBeans IDE

The SCSNI is a certification exam for the NetBeans IDE.
The topics range from profiling, VCS, debugging, creationg of desktop/web applications and others...

Its a really nice exam, even though the beta exam was very extensive and tiring to say at least.

I have collected few links as a study guide and also created a document, google docs, with the topics and links for tutorials on each subject. I prefer tutorials than the help pages since its kinda boring to be reading just the topics on the help.

Another thing is that experience with the IDE is required. I dont think that just few reading, like with every certification exam, would make you pass... And since there are no books yet to this exam the best place to find sources is the NetBeans page.

Here are the links:
In my opinion, the combination of these 2 links and the one that I created will work pretty well...
Any questions or suggestions feel free to contact me...

Good luck with the studies.