I am interested in developing a Network Appliance for Home using X10 Automation. To address this problem I need an Application Server that is easy to setup, maintain, and plugs into X10 Home Automation which will allow me to develop web access for administration and usage. The details of the specifications got quite lengthy and would be exhausting in this article, so I will present just the highlights.
This discussion covers the selection criteria as well as currently available application servers that I have found which could deliver my goal. I do not consider my list complete, and welcome alternative application server choices. I did not include Java Servers on OS/2 like Resin in this roundup. I believe in the KISS principle and I hope that some time soon someone else will cover this area of interest.
With these, I've narrowed my choices to Communigate Pro, Caravan and Apache 2. I could select any of the three technologies, however, I had to make a decision, do I want to learn yet another scripting language or do I want to be up and running? OK, I can tolerate a some minor scripting language variations, however I want to be up and running.
All three are supported on IBM OS/2 and eComstation plus Linux and Windows. In our current situation, we are fortunate that these vendors have presented these offerings and should thank the developers for their hard work.
Open standards made the web what it is today, CGI and other scripting interfaces can be useful, Caravan offers a Plug In method to allow you to run an external program, so as a result, I can interface with REXX to run X10 Automation for OS/2 (http://home.att.net/~ASchw/house2.html) from Lone Peak Automation. If I have Rexx, then I can use PERL, PHP and other scripting to access or push data, permitting access to MySQL, Postgres SQL and other databases if need be, however I am finding that the internal database is fast enough for my needs. This all opens the door to a considerable base of existing free Perl and PHP code for site development.
ODBC access is the gateway of my daily life at my place of work. ODBC can be slow, however with it, I can plug in from any office application and manipulate my data. Postgres SQL provides ODBC access right out of the ZIPFile, Caravan and MySQL and other databases will require exporting data or additional client software as in Oracle NET client and ODBC.
Caravan's integrated database is web driven for setup and configuration. Coding samples are clear and workable. MySQL and Postgres SQL have numerous PHP code snippets available and complete web sites such as PHPNuke/PHPWebSite that use MySQL or Postgres SQL as the back end.
All three deliver to varying degrees the ability to send messages and they all require additional configuration or modules. PHP mail needs sendmail active and configured on the server if using any canned PHP scripts, in the Linux world this is provided in most default installations.
For those developing a black box solution or embedded system, Caravan and all the others could meet your needs depending on scale and expense. The network pipe, hardware, CPU, RAM, and disk will be major factors to consider. CommuniGate Pro has IMAPI support which is unique, however, this is not in my scope of requirements.
Type in the default id and password, change the password, then start developing your tables and pages.
cd C:\
unzip CGatePro-OS2-platform-version.zip
CMD /C C:\STALKER\CommuniGate\Startup.CMD start
This line will ensure that CommuniGate Pro server is started automatically when the OS/2 system starts.
CMD /C C:\STALKER\CommuniGate\Startup.CMD start
Proceed with Initial Configuration.
Administration for Caravan and CommuniGate Pro were easiest and most efficient via the web interfaces. Apache had a number of third party tools that enhanced it, I like Serverconfig/2 for configuration and Analog/2 for system log analysis.
For a home user the cost is, FREE. For commercial/industrial use please contact the respective vendors for current pricing. Apache, PHP, MySQL and PGSQL are free, and you may even compile your own version.
Hey, I forgot InetPowerSever (http://www.inetpowerserver.com/) IPS http/ftp/smtp/pop server and Web/2 (http://dink.org)! I just did not schedule enough time. If someone wishes to use IPS or Web/2 instead of Apache. The key is to find the solution that fits your needs.
In all cases, the vendors and developers have shown a commitment to the OS/2 platform. It is now up to "US" the "OS/2 and eComstation" community to use the tools these people have created. It will be interesting to see if we can make use of them to create our own, black box solutions or embedded devices for home or commercial or industrial use, or better yet, full scale implementations. Give vendors your feedback for desired new features and most of all buy maintenance, and upgrades. Please also advise them of any deficiencies, as it will improve the overall application and perception of the product.
It is not just a matter of the vendors being committed to the platform of OS/2 or eComstation, it is the community at large.
Over the next few weeks, this Home Network Appliance Project will be underway thanks to the research I have done. More postings to the OS/2 community and newsgroups will occur over the next few weeks.
"May your experiences be Warped!"
This article is courtesy of www.os2ezine.com. You can view it online at http://www.os2ezine.com/20030416/page_6.html.