Skip Headers
Oracle® Java Micro Edition Software Development Kit Developer's Guide
Release 8 for Windows
E50624-01
  Go To Table Of Contents
Contents

Previous
Previous
 
Next
Next
 

11 Network Monitoring

The network monitor provides a convenient way to see the information your application is sending and receiving on the network. This is helpful if you are debugging network interactions or looking for ways to optimize network traffic.

MEEP applications can connect through HTTP and other protocols.

Monitoring Network Traffic

To activate network activity monitoring for an application:

  1. In the Projects window, right-click a project and select Profile.

  2. If this is the first time profiling this application, you are prompted to integrate the profile with the project. Click Yes to perform the integration.

  3. In the Profile window, select Network Monitor, and click Run.

  4. Start your application.

When the application makes a network connection, information about the connection is captured and displayed in the Network Monitor tab.

The top frame displays a list of connections. Click a connection to display its details in the bottom frame.

Under Hex View, raw connection data is shown as raw hexadecimal values with the equivalent text.

Filtering and Sorting Messages

Filters are used to examine a subset of the total network traffic.

Click on a table header to sort the message data:

Saving and Loading Network Monitor Information

To save your network monitor session, click the Save Snapshot button in the Network Monitor toolbar. Select a file name. The default file extension is NMD (network monitor data).

To load a network monitor session:

  1. Open the File menu and select Open File.

  2. Browse to find the necessary NMD file.


Note:

To avoid memory issues, the Hex view display is currently limited to 16 kilobytes of data.


Searching the Connection Data

To specify a string that you want to find in the available connection data, click the button with the magnifying glass labeled Find in results (Ctrl + F) above the table in the Network Monitor toolbar.

You can search the records up to the specified string or back to a previous string occurrence by clicking the Find Next Occurrence (F3) or Find Previous Occurrence (Shift+F3) buttons in the toolbar.

Clearing the Connection List

To remove all inactive protocol records from the network monitor, click the Clear button (the broom icon in the right part of the Network Monitor toolbar).