Welcome!

Java IoT Authors: Yeshim Deniz, Pat Romanski, Liz McMillan, Zakia Bouachraoui, Carmen Gonzalez

Related Topics: Java IoT

Java IoT: Article

WebSite Professional

WebSite Professional

WebSite Professional from O'Reilly & Associates is an award-winning Web server which runs on Windows 95 and NT 3.51 or higher. The Professional edition is the high-end version of the Standard WebSite server. In addition to the usual Web server functionality it includes many exciting features such as enhanced security, a new WebSite Application Programming Interface (WSAPI) and the Cold Fusion database application development tool. Other tools included with the product are the SpyGlass Enhanced Mosaic browser, HotDog HTML Editor, MapThis! image map editor, WebView for graphically managing your Web, and WebIndex and WebFind for indexing and searching your web.

Installation & Documentation
WebSite Professional comes packaged with three manuals: Getting Started, WebSite Professional Basics, and WebSite Professional Advanced Topics. These are excellently written manuals and provide detailed information for all experience levels of user. The WebSite Professional Advanced Topics manual covers everything you need to know about using enhanced security features, such as SSL and S-HTTP, Cold Fusion, the three CGI interfaces and the WebSite API named WSAPI.

To install WebSite Professional, O'Reilly recommends a 486 (or higher) Intel-based CPU with VGA video display adapter, CD-ROM drive, 40MB free disk space, and 16MB RAM for Windows 95 or 32MB RAM for Windows NT (3.51 or higher). I installed it on a machine running Windows NT 4.0 Server. The installation was easy to follow and used the InstallShield product to guide me through the process. During the process, you are prompted for information which includes your name, company name, product serial number and the destination directory for the software. If you choose to install all the components from the CD, including the Mosaic browser, HotDog HTML Editor and Cold Fusion, you'll require approximately 28MB of disk space.

Under NT, you can choose to run the Web server as an application or as an NT service. If you run WebSite as an application, you can choose to have it start automatically at login or manually. Alternatively, if you run it as an NT service, you can choose to have it run invisibly or to display an icon on the right-hand side of the taskbar. You can right-click on this icon to gain access to the WebSite server properties window (Figure 1).

To test your Web server installation and access the online documentation all you need to do is choose the Enhanced Mosaic icon from the WebSite Professional folder (or any other browser) and enter http://localhost/wsdocs for the URL. This will bring up the index.htm page which contains links to WebSite's online resources and demonstrations.

WebSite Pro Server
After you have installed WebSite Professional, you can perform most of the administration of the Web server by using the Server Admin application, which is accessible either from the Start icon on the taskbar or from the WebSite icon (if present). Within the Server Admin application, you can access a variety of tab pages for common tasks, such as setting up users and groups, defining URL and content type mappings, access control, logging, directory listing properties, CGI properties and so on. Figure 1 shows the General page in Server Admin.

Access Control can be established by defining users and groups and granting or denying them access to certain URLs. You can also apply IP address or hostname filtering as part of your access control. The design of the Server Admin application makes this kind of configuration easy to perform. One disadvantage is that you have to go through this process independently of the user accounts that you have set up under Windows NT Server.

WebSite has two types of automatic directory listing. (The automatic directory listing will be created whenever the URL refers to a mapping that doesn't have a default page such as index.htm.) The first one is a simple list which just gives the file names under the specified URL. The second type is called an extended listing. With this type of listing you can add header and footer descriptions to the listing. You can also have textual descriptions besides each file. The textual descriptions can come from a text file or can be pulled from the HTML document's <TITLE> tag. Figure 2 shows WebSite's extended directory listing.

Logging is performed to three files: the Access Log, Error Log and Server Log. These logs are written as ASCII text files to a location on your Web server's hard disk although you can also store the logs on a network drive. The Access Log records the URLs that are requested by people visiting your site and can be written in the Windows Log Format, NCSA/CERN Common Log Format or the NCSA/CERN Combined Log Format. The Error logs record any errors that occur on your server, such as invalid URL paths or requests for parts of the Web that are denied by server configuration. The Server Log records the time the server is started and stopped and any fatal errors that occur on the server.

Registering MIME types with WebSite is a breeze compared to some other Web servers which require you to edit the Windows 95 or NT registry. You simply go to the Mapping tab page and enter the file extension and the MIME type. For example, to register a PowerBuilder Window Plug-In, I would enter .pbd and application/powerbuilder.

WebSite supports HTTP 1.1 PUT so that you can remotely place Web pages onto the Web server by using tools such as Netscape Navigator Gold. The Publishing Control page within Server Admin allows you to apply user authentication to any URL in your web.

A nice feature of WebSite is that they have provided a WebServer object which is integrated into the Windows NT Performance Monitor. This object has a variety of counters which can be monitored, including the number of requests per second and the amount of data being received and sent.

Remote Administration of WebSite is accomplished by using Server Admin to make changes to the remote system's registry. This can be done both on a LAN and over the Internet provided that you've already completed some operating system and network configuration beforehand.

The SpyGlass Mosaic browser supplied with WebSite is an enhanced version of the browser originally developed at the National Center for Supercomputing Applications at the University of Illinois, Urbana-Champaign.

Security Features
The enhanced security features in WebSite Professional include support for the Secure Sockets Layer (SSL) version 2.0 and Secure HTTP (S-HTTP) protocols. With these two protocols in effect you can be assured of the privacy, integrity and authenticity of the transactions between your Web server and your customers or employees browsers. You can set SSL security on an entire URL path via the Server Admin application. S-HTTP security is applied on a per HTML document or CGI program basis. Before you can implement enhanced security on your Web server, you need to request and install a public key certificate from a Certification Authority such as VeriSign. WebSite makes it easy to administer your certificates with its Certificate Manager application. This application includes a wizard which will guide you through the steps involved in requesting a certificate. The WebSite Certificate Manager application is secured with a password to prevent unauthorized access to its certificate database. The WebSite Central Web site, http://website.ora.com/, contains an example so that you can see WebSite Pro running SSL.

Administrative Tools
Besides the Server Admin application, WebSite includes other useful administration tools, such as WebView, WebIndex and WebFind. I'll cover these tools here.

WebView
WebView provides a handy tool for viewing the Web pages that are installed on the Web server. This way you can see at a glance how your Web site is laid out and can check for any broken links. Figure 3 shows the WebView tool displaying the hyperlink view of a Web site. Any broken links appear as red crosses in the display. WebView allows you to view a Web site in other styles as well. These include filename, title, label and URL views. The title view displays the text contained within the <TITLE> tag of the HTML documents.

WebView is a powerful tool and contains other features, including access to the Server Admin, WebIndex and MapThis! applications, a variety of property sheets, and a set of four WebView Wizards. The WebView wizards are as follows:

  • Find Form Wizard
  • Home Page Wizard
  • Under Construction Wizard
  • What's New Wizard

    The property sheets include General, Access, Diagnostics and Activity information as well as a Secure HTTP properties sheet where you can define security properties for URL paths of the selected document. A QuickStats summary report (shown in Figure 2) gives a quick report on the overall activity on your Web site.

    WebIndex and WebFind
    WebSite provides indexing and search tools by way of WebIndex and WebFind respectively. The WebSite Pro administrator can use WebIndex to create one or more keyword indexes on all or part of the Web. This is achieved by selecting the URLs which contain the documents to be indexed and then specifying certain configuration options prior to creating the index. For example, you can specify words to ignore when creating the index either from WebSite's own internal list or your own custom list. You can also create multiple indexes and then merge them into a single large index. WebFind is a forms-based CGI program that end-users of your Web site can use to enter single or multiple search strings which will return an HTML page with a hyperlinked list of matches.

    Web Development Tools
    HogDog HTML Editor
    The HotDog HTML Editor included with WebSite is a code-based editor which means that you actually view the HTML syntax and then need to switch to a browser in order to preview your page. HotDog has a toolbar icon which allows you to quickly preview the image in your preferred browser. Other toolbar icons allow you to create HTML forms and tables via wizards which guide you through the process. The HotDog Editor has many useful features, including a tag list window which displays the most common HTML tags and allows you to click on a tag in order to insert it into your document.

    Map This!
    The Map This! image map editor is provided to help you create image maps for your Web pages. Image maps provide a way for a single graphic within a Web page to provide access to multiple URLs. They're a great way to enhance a Web page, particularly a home page. To create an image map all you do is define the shapes and locations of sections of the image that you want to define for particular URLs. The shapes supported by MapThis! include rectangles, circles, ovals, points and polygons. You can save your map files into either the National Center for Supercomputing Applications (NCSA) or Client Side Image Map (CSIM) formats. These are standard industry formats that are supported across multiple Web servers. (Client Side Image Maps are read by browsers which support this extension to HTML 2.0. It allows the user of the browser to see the URLs displayed at the bottom of the screen as they move the mouse over the image's hotspots).

    WebSite Server-Side Java SDK
    WebSite includes a Server-Side Java SDK. This SDK allows you to develop Windows CGI programs using Java. The SDK includes a set of foundation classes, a launcher named javaw.exe, and code examples. The class library and launcher support the 1.3 specification of Windows CGI. The class library is a package named WebSite.WinCGI and includes twelve classes shown in Table 1.

    The SDK makes it easy to write server-side Java applications with its built-in capabilities for form processing and exception handling. The online and written examples show how the Java program can examine user-input in a form and return the contents back to the browser.

    Cold Fusion
    Another tool provided with WebSite Professional is the standard edition of Cold Fusion from Allaire Corporation. Cold Fusion provides an easy way to add database functionality to your Web site without requiring extensive coding. Cold Fusion runs as a process on the server and uses CGI or WSAPI to communicate with the Web server. It uses DBML (DataBase Markup Language) and template files to dynamically generate HTML pages and return them to the server and then the browser. Cold Fusion can communicate with any ODBC data sources such as Access, Excel, Oracle 7, Paradox and Microsoft SQL Server. The WebSite Professional Advanced Topics manual devotes several chapters to explaining how to use Cold Fusion with WebSite.

    Other Development Tools
    A recent addition to WebSite Professional is the WebSite Application Programming Interface (WSAPI). This allows a C/C++ developer to extend the capabilities of WebSite Professional with access to over forty server-internal functions. WSAPI also includes a compatibility interface for Microsoft/Process Software's Internet Server Application Programming Interface (ISAPI) and a FaultGuard protection scheme which is designed to protect the server from programming errors in WSAPI extensions.

    To round off its support for Web development, WebSite supports Server Side Includes (with a page counter), a Perl 5 SDK (Perl 5 ported to Win32), a Visual Basic Toolkit and built-in FrontPage support. The product documentation explains how all these technologies can be utilized with Website and even provides a paper entitled "SSI, CGI, or API? Choosing the Right Tool for the Job," which can help you evaluate the pros and cons of each technique for extending a Web server.

    Conclusion
    WebSite Professional is a tremendous product! It wins high marks all around for its ease-of-use, technical functionality, documentation, administration and Web development tools. It therefore wins the JDJ World Class Award with flying colors!

    Be sure to check out the WebSite Central page for more information about this exciting product. A trial copy of the standard edition of WebSite is available for download from O'Reilly's Web site at http://software.ora.com/, although it does not include the features for enhanced security, WSAPI or the Cold Fusion product, which are available in the Professional edition.

  • More Stories By Nick Evans

    Nick Evans is a Senior Associate with Coopers & Lybrand Consulting in Dallas and specializes in client/server and Internet consulting for Fortune 500 clients. He is a Certified PowerBuilder Developer and Microsoft Certified Professional and writes for several computer industry magazines. Nick is the author of an upcoming book from Powersoft Press on Internet application development using PowerBuilder 5.0.

    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
    Dion Hinchcliffe is an internationally recognized digital expert, bestselling book author, frequent keynote speaker, analyst, futurist, and transformation expert based in Washington, DC. He is currently Chief Strategy Officer at the industry-leading digital strategy and online community solutions firm, 7Summits.
    Digital Transformation is much more than a buzzword. The radical shift to digital mechanisms for almost every process is evident across all industries and verticals. This is often especially true in financial services, where the legacy environment is many times unable to keep up with the rapidly shifting demands of the consumer. The constant pressure to provide complete, omnichannel delivery of customer-facing solutions to meet both regulatory and customer demands is putting enormous pressure on...
    IoT is rapidly becoming mainstream as more and more investments are made into the platforms and technology. As this movement continues to expand and gain momentum it creates a massive wall of noise that can be difficult to sift through. Unfortunately, this inevitably makes IoT less approachable for people to get started with and can hamper efforts to integrate this key technology into your own portfolio. There are so many connected products already in place today with many hundreds more on the h...
    The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addr...
    Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
    Charles Araujo is an industry analyst, internationally recognized authority on the Digital Enterprise and author of The Quantum Age of IT: Why Everything You Know About IT is About to Change. As Principal Analyst with Intellyx, he writes, speaks and advises organizations on how to navigate through this time of disruption. He is also the founder of The Institute for Digital Transformation and a sought after keynote speaker. He has been a regular contributor to both InformationWeek and CIO Insight...
    Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
    To Really Work for Enterprises, MultiCloud Adoption Requires Far Better and Inclusive Cloud Monitoring and Cost Management … But How? Overwhelmingly, even as enterprises have adopted cloud computing and are expanding to multi-cloud computing, IT leaders remain concerned about how to monitor, manage and control costs across hybrid and multi-cloud deployments. It’s clear that traditional IT monitoring and management approaches, designed after all for on-premises data centers, are falling short in ...
    In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, discussed how Dice leverages data insights and tools to help both tech professionals and recruiters better understand how skills relate to each other and which skills are in high demand using interactive visualizations and salary indicator tools to maximize earning potential. Manish Dixit is VP of Product and Engineering at Dice. As the leader of the Product, Engineering and Data Sciences team at D...
    Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more busine...