CHAPTER 7

7.1 .NET .NET is a "revolutionary new platform, built on open Internet protocols and standards, with tools and services that meld computing and communications in new ways." y .NET Features. Common Language Runtime (CLR) . Runs byte code in an Inter-Language (IL) format. Allows inter-language and inter-machine interoperability. y Rich base class library Set of components and services giving developers access to the features of runtime. y Ease of development of web-based services Provides an environment facilitating development and deployment of web based services. y New Programming Language called C# Derives from C and C++ with several additional features such as garbage collection. Provides SOAP capabilities Allows .NET components to exchange data messages with components on other platforms.

.NET and Jini y IL format lets developers use the language of their choice Removes Jini s limitation of using just Java for implementing services. y Support for SOAP Allows .NET components to communicate with components on other platforms. Provides an intrinsic XML-based serializer.

yMyISAM: This table type uses a flat file to store the data. MySQL does not have as many features as PostgreSQL. MySQL uses an abstraction layer to allow different methods to be used to store data within the same database.2 MySQL MySQL is an open source relational database management system which is quite popular for Light-weight web applications. It requires more space. and MySQL AB purchases additional licenses for their enterprise customers. It is therefore not ACID compliant. MyISAM does not support transactional operations. while identical tables hold the partitions. yInnoDB: This table uses a row-versioning in order to allow for transactional consistency. There is no transaction support. nor are transactions.7. but is sometimes used as a useful developer tool (sort of an SQL interface to shared memory segments). but appears to take up less disk space. yBDB: This storage engine uses the Berkeley Database Engine. It the oldest table type still supported. and while many of the more advanced features are not as mature. The back-end for this table was originally developed by Innobase (acquired recently by Oracle). The MERGE is just the parent table (where no data is actually stored). and auxiliary files for indexes and metadata. It does not perform as well as InnoDB under load. . Because there are no provisions for keeping data around after it is updated. It may be worth considering when concurrency is expected to be low but space is at a premium. It is licensed under the GPL. developed by Sleepycat Software (recently acquired by Oracle) as a back-end. yMERGE: This storage engine allows for partitioning of data across MyISAM tables. The main table types available in MySQL on Windows are : yARCHIVE: This storage engine uses a compressed flat file to store large amounts of information. No data is stored in a FEDERATED table itself. and using the wrong table type can cause some data integrity controls to silently fail. Indexes are not supported. Each table type has its own benefits and drawbacks. yFEDERATED: This storage engine allows for management of external data on other MySQL servers. yMEMORY: This storage engine forces an entire table to be stored entirely in memory and never written to disk. However one would expect it to perform Substantially better than PostgreSQL on Windows because of its thread-based architecture (PostgreSQL uses a process-based architecture instead).

and run by a browser y Applets run in a sandbox with numerous restrictions.class y Run the java interpreter: java foo y Java Virtual Machine y The . long. double. for example. UCSD Pascal This approach provides platform independence.java using an editor y Invoke the compiler: javac foo. they contain ³byte-codes´ to be executed by the Java Virtual Machine other languages have done this.g.class files generated by the compiler are not executable binaries so Java combines compilation and interpretation Instead. and greater security y Primitive data types are like C Main data types are int.java y This creates foo. they can¶t read files and then use the network y A servlet is designed to be run by a web server y An application is a conventional program Building Standalone JAVA Programs (on UNIX) y Prepare the file foo. short. Servlets and Applications y An applet is designed to be embedded in a Web page.7.3 JAVA Why Java? y It¶s the current ³hot´ language y It¶s almost entirely object-oriented y It has a vast library of predefined objects and operations y It¶s more platform independent Applets. char Also have byte. e. float boolean has values true and false . . boolean.