Welcome!

Java IoT Authors: Pat Romanski, Elizabeth White, Zakia Bouachraoui, William Schmarzo, 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.

Installation
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.

Summary
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
Tapping into blockchain revolution early enough translates into a substantial business competitiveness advantage. Codete comprehensively develops custom, blockchain-based business solutions, founded on the most advanced cryptographic innovations, and striking a balance point between complexity of the technologies used in quickly-changing stack building, business impact, and cost-effectiveness. Codete researches and provides business consultancy in the field of single most thrilling innovative te...
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...
In his session at 21st Cloud Expo, Raju Shreewastava, founder of Big Data Trunk, provided a fun and simple way to introduce Machine Leaning to anyone and everyone. He solved a machine learning problem and demonstrated an easy way to be able to do machine learning without even coding. Raju Shreewastava is the founder of Big Data Trunk (www.BigDataTrunk.com), a Big Data Training and consulting firm with offices in the United States. He previously led the data warehouse/business intelligence and Bi...
The Japan External Trade Organization (JETRO) is a non-profit organization that provides business support services to companies expanding to Japan. With the support of JETRO's dedicated staff, clients can incorporate their business; receive visa, immigration, and HR support; find dedicated office space; identify local government subsidies; get tailored market studies; and more.
With the introduction of IoT and Smart Living in every aspect of our lives, one question has become relevant: What are the security implications? To answer this, first we have to look and explore the security models of the technologies that IoT is founded upon. In his session at @ThingsExpo, Nevi Kaja, a Research Engineer at Ford Motor Company, discussed some of the security challenges of the IoT infrastructure and related how these aspects impact Smart Living. The material was delivered interac...
CloudEXPO has been the M&A capital for Cloud companies for more than a decade with memorable acquisition news stories which came out of CloudEXPO expo floor. DevOpsSUMMIT New York faculty member Greg Bledsoe shared his views on IBM's Red Hat acquisition live from NASDAQ floor. Acquisition news was announced during CloudEXPO New York which took place November 12-13, 2019 in New York City.
Atmosera delivers modern cloud services that maximize the advantages of cloud-based infrastructures. Offering private, hybrid, and public cloud solutions, Atmosera works closely with customers to engineer, deploy, and operate cloud architectures with advanced services that deliver strategic business outcomes. Atmosera's expertise simplifies the process of cloud transformation and our 20+ years of experience managing complex IT environments provides our customers with the confidence and trust tha...
Intel is an American multinational corporation and technology company headquartered in Santa Clara, California, in the Silicon Valley. It is the world's second largest and second highest valued semiconductor chip maker based on revenue after being overtaken by Samsung, and is the inventor of the x86 series of microprocessors, the processors found in most personal computers (PCs). Intel supplies processors for computer system manufacturers such as Apple, Lenovo, HP, and Dell. Intel also manufactu...
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...
Darktrace is the world's leading AI company for cyber security. Created by mathematicians from the University of Cambridge, Darktrace's Enterprise Immune System is the first non-consumer application of machine learning to work at scale, across all network types, from physical, virtualized, and cloud, through to IoT and industrial control systems. Installed as a self-configuring cyber defense platform, Darktrace continuously learns what is ‘normal' for all devices and users, updating its understa...