Java IoT Authors: Zakia Bouachraoui, Pat Romanski, Elizabeth White, Liz McMillan, Yeshim Deniz

Related Topics: Java IoT

Java IoT: Article

ProtoSpeed by Progess Software

ProtoSpeed by Progess Software

Progress Software recently released the second version of its ProtoSpeed distributed application debugging and monitoring tool for testing and deploying Internet or intranet applications. ProtoSpeed is actually a combination of three related but distinct components: a protocol interaction monitor/debugger, the JWatch remote Java applet debugger from Intermetrics and an environment for creating custom network monitoring applications.

ProtoSpeed 2.0 is available now for Windows 95 and Windows NT, with a version for Solaris in beta testing. I reviewed the Windows version on an NT 4.0 system. ProtoSpeed installs quickly from the supplied CD-ROM. The only problem I had with installation was the step in configuring the location of my Java Development Kit. If you have multiple Java Development Kits installed on your machine, you must configure the location of your preferred JDK (version 1.1.2 or newer) manually. In my case I had Symantec Cafe 1.8 and Symantec Visual Cafe 2.5 installed. Through some trial and error I discovered that I needed to specify the path to the VisualCafePDE/Java folder in order to use the JDK that was supplied with Visual Cafe. Once this problem was resolved, the rest of the installation proceeded smoothly.

Application Traffic Viewing
The unique aspect of ProtoSpeed, and perhaps its most common use, is monitoring and debugging the information transferred between a client and a server. Typically, client/server developers use LAN protocol analyzers that eavesdrop on the network to monitor client/server interaction. Rather than eavesdropping, ProtoSpeed uses a server proxy to monitor the traffic between the client and server. A proxy is a server that intercepts all Internet requests, passes each request to the intended Internet server, receives the response and, in turn, forwards the response to the original requester. With the rise of corporate intranets and the firewalls to isolate them from the general Internet, most client applications now include support for proxies. A different proxy is required for each application protocol. ProtoSpeed supports the most common Internet application protocols, including HTTP for Web servers, FTP for file transfer, and SMTP, POP3 and IMAP4 for e-mail systems. You can run several different proxies at once for different protocols or ports. For example, if you are testing an e-mail package, you can run both an SMTP proxy and a POP3 proxy at the same time.To use ProtoSpeed for Internet protocol debugging, you must configure your clients to use ProtoSpeed's server proxy. Complete instructions are included for configuring Netscape Communicator and Microsoft Internet Explorer browsers. You will need to consult your user manual for other clients, such as e-mail and FTP programs, to find the steps to configure them to use a proxy. Because the proxy receives and forwards each packet, you can set breakpoints that are triggered when a certain type of packet is received. When a breakpoint is triggered, the packet flow between client and server is suspended, and you can view or modify the packet contents before resuming operation. ProtoSpeed provides easy-to-use breakpoint dialog windows for each supported protocol. Using these dialogs you can select almost any possible packet condition. Figure 1 shows a breakpoint set for an HTTP interaction.

A big plus for ProtoSpeed over LAN analyzers and other protocol monitors is the extensive set of data content viewers for the complex data types often found in the protocol data streams. You can view ActiveX objects, Java class files, JAR and CAB archives, ZIP files, images and MIME attachments. Support for these most common data types makes inspection of downloaded Java applets and ActiveX objects for potential security problems a breeze. You can also easily use ProtoSpeed to debug problems with cookies, understand the loading order of items on a Web page, check the format of posted data and monitor for rejected requests and other error conditions. Figure 2 shows an HTTP packet trace when accessing the Java Developer's Journal home page.

Remote Java Debugger
To go along with its Internet protocol debugger, Progress Software bundles the JWatch distributed Java debugger from Intermetrics into its ProtoSpeed package. With this debugger you can debug multiple applications or applets, local and remote, running in a browser, outside a browser or on a server. The distributed Java debugger provides a source-level debugger and also the ability to debug Java programs where you do not have the source, such as applets downloaded off the Web.

The debugging functions commonly available in an integrated development environment debugger are also available in ProtoSpeed's debugger. You can display thread groups, threads, stack frames, variables, packages, classes and methods. You can set breakpoints, single-step, run, pause and kill threads. If source code is available, it's displayed allowing line-by-line debugging. There can be multiple windows, each focusing on a different thread, or multiple windows for the same source file.

The remote Java debugger component of ProtoSpeed is compatible with Sun's JDK version 1.1.2 or newer, and can debug applets and applications running under either the Sun JVM (e.g., under AppletViewer) or Microsoft's JVM that is part of Internet Explorer.

Custom Network Event Monitoring
The most advanced feature of ProtoSpeed is its Network Event Manager. This manager lets you take advantage of ProtoSpeed's interception of network traffic to write your own packet monitoring code. As each packet is received and processed by ProtoSpeed, your handler is called to continue processing. These handlers can be running on the same machine as ProtoSpeed or on a remote machine. They can be written in Java or other languages such as Visual Basic. While quite powerful, this feature is probably beyond the needs of most developers.

ProtoSpeed is one of the best client/server traffic monitoring tools available. It is an essential tool for network developers, network managers or anyone else needing a clear understanding of exactly what information is being exchanged between their clients and servers.

More Stories By Jim Mathis

Jim Mathis is a freelance Java and JavaScript consultant and a communications systems architect. Jim is a contributing writer to Java Developer's Journal and has been active in the Internet community from its very beginnings and wrote one of the first implementations of TCP/IP.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

IoT & Smart Cities Stories
Moroccanoil®, the global leader in oil-infused beauty, is thrilled to announce the NEW Moroccanoil Color Depositing Masks, a collection of dual-benefit hair masks that deposit pure pigments while providing the treatment benefits of a deep conditioning mask. The collection consists of seven curated shades for commitment-free, beautifully-colored hair that looks and feels healthy.
The textured-hair category is inarguably the hottest in the haircare space today. This has been driven by the proliferation of founder brands started by curly and coily consumers and savvy consumers who increasingly want products specifically for their texture type. This trend is underscored by the latest insights from NaturallyCurly's 2018 TextureTrends report, released today. According to the 2018 TextureTrends Report, more than 80 percent of women with curly and coily hair say they purcha...
The textured-hair category is inarguably the hottest in the haircare space today. This has been driven by the proliferation of founder brands started by curly and coily consumers and savvy consumers who increasingly want products specifically for their texture type. This trend is underscored by the latest insights from NaturallyCurly's 2018 TextureTrends report, released today. According to the 2018 TextureTrends Report, more than 80 percent of women with curly and coily hair say they purcha...
We all love the many benefits of natural plant oils, used as a deap treatment before shampooing, at home or at the beach, but is there an all-in-one solution for everyday intensive nutrition and modern styling?I am passionate about the benefits of natural extracts with tried-and-tested results, which I have used to develop my own brand (lemon for its acid ph, wheat germ for its fortifying action…). I wanted a product which combined caring and styling effects, and which could be used after shampo...
The platform combines the strengths of Singtel's extensive, intelligent network capabilities with Microsoft's cloud expertise to create a unique solution that sets new standards for IoT applications," said Mr Diomedes Kastanis, Head of IoT at Singtel. "Our solution provides speed, transparency and flexibility, paving the way for a more pervasive use of IoT to accelerate enterprises' digitalisation efforts. AI-powered intelligent connectivity over Microsoft Azure will be the fastest connected pat...
There are many examples of disruption in consumer space – Uber disrupting the cab industry, Airbnb disrupting the hospitality industry and so on; but have you wondered who is disrupting support and operations? AISERA helps make businesses and customers successful by offering consumer-like user experience for support and operations. We have built the world’s first AI-driven IT / HR / Cloud / Customer Support and Operations solution.
Codete accelerates their clients growth through technological expertise and experience. Codite team works with organizations to meet the challenges that digitalization presents. Their clients include digital start-ups as well as established enterprises in the IT industry. To stay competitive in a highly innovative IT industry, strong R&D departments and bold spin-off initiatives is a must. Codete Data Science and Software Architects teams help corporate clients to stay up to date with the mod...
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
Druva is the global leader in Cloud Data Protection and Management, delivering the industry's first data management-as-a-service solution that aggregates data from endpoints, servers and cloud applications and leverages the public cloud to offer a single pane of glass to enable data protection, governance and intelligence-dramatically increasing the availability and visibility of business critical information, while reducing the risk, cost and complexity of managing and protecting it. Druva's...
BMC has unmatched experience in IT management, supporting 92 of the Forbes Global 100, and earning recognition as an ITSM Gartner Magic Quadrant Leader for five years running. Our solutions offer speed, agility, and efficiency to tackle business challenges in the areas of service management, automation, operations, and the mainframe.