<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-20988267</id><updated>2011-12-14T20:56:38.792-06:00</updated><title type='text'>Java Relational Database Cloudscape IBM</title><subtitle type='html'>The relational database Cloudscape IBM, is a commercial version of Apache Derby database of open code. It is a relational database management system written in Java language with the next characteristics: multi-user, standard design, small size, and it can be embedded in Java applications and servers.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://embeddeddatabase.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20988267/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://embeddeddatabase.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Cruz Castillo</name><uri>http://www.blogger.com/profile/08742572839614569240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://1.bp.blogspot.com/-JPXtzWGbT4g/TtRJ8Rup5NI/AAAAAAAAABQ/FMR_loZGsZY/s220/Photo-1.PNG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-20988267.post-113921785108221750</id><published>2011-11-28T11:13:00.002-06:00</published><updated>2011-11-28T20:21:23.561-06:00</updated><title type='text'>Java Relational Database Cloudscape IBM</title><content type='html'>&lt;div style="clear: both;"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;INTRODUCTION.&lt;br /&gt;&lt;/strong&gt;&lt;a href="http://www-306.ibm.com/software/data/cloudscape/"&gt;Cloudscape IBM&lt;/a&gt; is a &lt;a href="http://en.wikipedia.org/wiki/Relational_database"&gt;relational database&lt;/a&gt; management system written in &lt;a href="http://java.sun.com/"&gt;Java&lt;/a&gt; language, that support the &lt;a href="http://www.onjava.com/pub/a/onjava/excerpt/javaentnut_2/index1.html"&gt;JDBC API&lt;/a&gt; and follow the &lt;a href="http://en.wikipedia.org/wiki/SQL"&gt;SQL&lt;/a&gt; standards. Cloudscape IBM can run in Unix/Linux OS, Solaris OS or Windows OS.&lt;br /&gt;Cloudscape IBM is a commercial version of the relational database core &lt;a href="http://db.apache.org/derby/"&gt;Apache Derby&lt;/a&gt; of open code. Cloudscape/Derby supports single connection or multiple connection and each connection represents a transaction to the database. Cloudscape/Derby can operate in stand alone environment or in client/server environment.&lt;br /&gt;Cloudscape/Derby is written as a library of Java class and it can be embedded in an application Java, therefore this is installed as part of the application and it does not require additional configuration.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;OPERATION MODES.&lt;br /&gt;&lt;/strong&gt;Cloudscape/Derby can be installed in two operation modes:&lt;br /&gt;&lt;strong&gt;&lt;em&gt;a) Embedded mode:&lt;/em&gt; &lt;/strong&gt;In this mode the Java application and Cloudscape/Derby run in the same Java Virtual Machine. This mode is for applications of stand alone user.&lt;br /&gt;&lt;strong&gt;&lt;em&gt;b) Network server mode:&lt;/em&gt;&lt;/strong&gt; In this mode Cloudscape/Derby processes requests to the application from different Java Virtual Machines. This mode is for applications client/server. For example, Cloudscape/Derby would run in an application client/server with server software like Apache Geronimo.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;INSTALLATION.&lt;br /&gt;&lt;/strong&gt;To use Cloudscape/Derby is necessary:&lt;br /&gt;1) Install &lt;a href="http://java.sun.com/j2se/1.5.0/download.jsp"&gt;J2SE (Java 2 Platform, Standard Edition)&lt;/a&gt;. Derby works with any certified Sun or IBM J2SE's of 1.3 or higher.&lt;br /&gt;2) Install &lt;a href="http://www-306.ibm.com/software/data/cloudscape/"&gt;Cloudscape IBM 10.1&lt;/a&gt;&lt;br /&gt;3) Develop and run a database java application considering the operation mode of Cloudscape (embedded mode or Network server mode.) Therefore, there are embedded applications or client/server applications.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;COMMENTS.&lt;br /&gt;&lt;/strong&gt;1. When you download the software on the Internet such as &lt;a href="http://java.sun.com/j2se/1.5.0/download.jsp"&gt;J2SE&lt;/a&gt; (JDK) of Sun Microsystems or IBM, and &lt;a href="http://www-306.ibm.com/software/data/cloudscape/"&gt;Cloudscape IBM 10.1&lt;/a&gt; , you should consider the type of OS that you are using.&lt;br /&gt;2. The environment variables of the OS must be configured, so &lt;a href="http://java.sun.com/j2se/1.5.0/download.jsp"&gt;J2SE&lt;/a&gt;, &lt;a href="http://www-306.ibm.com/software/data/cloudscape/"&gt;Cloudscape IBM&lt;/a&gt;, &lt;a href="http://www-306.ibm.com/software/data/cloudscape/"&gt;Cloudscape Workbench&lt;/a&gt;, and &lt;a href="http://www.eclipse.org/"&gt;Eclipse&lt;/a&gt;, operate correctly. Please, consult the corresponding manuals for a correct installation.&lt;br /&gt;3. When you installed Cloudscape IBM 10.1, there are applications examples, one for embedded mode (simple) and two for Network server mode (Network Server Sample Programs), and you can do tests with these.&lt;br /&gt;&lt;br /&gt;Note: In my personal case, I am beginner in Java programming and Cloudscape, however I am very interesting to know more about these topics. For the previous reason, I looked for a short way to reach the objective of learning Cloudscape, a Java database and I have found a safe way using VMware Workstation 5.5.&lt;br /&gt;With the project "Laboratory of database with &lt;a href="http://www-306.ibm.com/software/data/cloudscape/"&gt;Cloudscape IBM 10.1&lt;/a&gt; and &lt;a href="http://www.vmware.com/"&gt;VMware Workstation 5.5&lt;/a&gt;", I will try to reach the objective of learning a Java embedded database.&lt;br /&gt;Each week (Monday), I will add new information to the "Laboratory of database."&lt;br /&gt;I wish that this information will be useful for other users of the Internet with interest in the topic of Java databases. If you wish to make some observations, they are welcome.&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="color: #3333ff;"&gt;--------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="color: #3333ff;"&gt;Here, we start the "Laboratory of database with &lt;a href="http://www-306.ibm.com/software/data/cloudscape/"&gt;Cloudscape IBM 10.1&lt;/a&gt; and &lt;a href="http://www.vmware.com/"&gt;VMware Workstation 5.5&lt;/a&gt;. I will add new activities each week.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="color: #3333ff; font-size: 130%;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="color: #3333ff; font-size: 130%;"&gt;&lt;strong&gt;FIRST WEEK:&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;&lt;em&gt;1. Some of Theory.&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;I understand that an application language permits to build specific applications. Also I understand that a real application consists of accomplishing calculations, manipulating information and managing data. On the other hand, it is known that an application language is not designed specifically to manipulate stored data under the control of a database management system.&lt;br /&gt;In relation to Java, I understand that it is a language oriented to objects to build applications to the Web and SQL is a data language to accede to the relational databases, that by itself tends to be insufficient to write real applications.&lt;br /&gt;&lt;br /&gt;Checking the Cloudscape example programs, I evaluated that I have not enough knowledge about Java and SQL working together. For this reason, I went to the library on last Thursday, in Mexico City, and I found an excellent book about the topic. If someone has interest to consult it, the book is "Understanding SQL and Java Together. A Guide to SQLJ, JDBC, and Related Technologies" by Jim Melton and Andrew Eisenberg of Academic Press. The authors mention Cloudscape as a real example of Java and SQL working together. In this case Java is the host programming language and SQL is the data sublanguage. Also, the authors indicate that exist several forms of using the traditional programming languages, together with SQL.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. Embedded SQL.&lt;/strong&gt; The SQL statements are embedded in a programming language. When they are found during the normal flow of the program, they are executed invoking the functionalities of the database .&lt;br /&gt;&lt;strong&gt;2. Language of modules.&lt;/strong&gt; It allows to join the SQL statements in modules of "pure SQL" that contain procedures including the SQL statements. These procedures are invoked through the use of "call sentences" of the host programming language.&lt;br /&gt;&lt;strong&gt;3. Dynamic SQL.&lt;/strong&gt; Though, it is invoked through embedded normal statements or language of modules, Dynamic SQL permits the execution of SQL statements even when they are not known during the writing process of the application, the statements are implemented partial or totally on the way.&lt;br /&gt;&lt;strong&gt;4. Interfaces at call level.&lt;/strong&gt; They permit to invoke functionalities of SQL from the applications through the call to functions and procedures, some of those process SQL statements and other encapsulate actions that are required frequently, within simple invocations of the interface.&lt;br /&gt;&lt;br /&gt;With the previous theory and returning to the project &lt;strong&gt;"Laboratory of database with Cloudscape and VMware"&lt;/strong&gt; would be interesting to develop an application of each kind described previously and to prove it functionally. Other issue interesting would be to prove applications with Cloudscape in heterogeneous environments with a server and workstations in order to prove and develop real applications.&lt;br /&gt;&lt;br /&gt;To make the activities described in the previous paragraph with physical infrastructure, implies to have a network with server and workstations, to have personal specialized to support the hardware and software of the net, to request authorizations to install applications in server and workstations, to work inside of the work schedules of the net, etc. In short, very few people have access to these facilities.&lt;br /&gt;&lt;br /&gt;The great solution is to use VMware Workstation 5.5 with Cloudscape IBM 10.1 because you do not need net wiring, you do not need personal specialized, you do not need authorizations, you do not need special schedules, to prove or develop applications in heterogeneous environments.&lt;/div&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;&lt;em&gt;2. What do you need to use VMware Workstation 5.5.?&lt;/em&gt; &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;1. PC or Laptop with:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Operating system (Windows 2000 or Windows XP)&lt;/li&gt;&lt;li&gt;15 GB. of free space in the hard drive&lt;/li&gt;&lt;li&gt;PC minimal memory of 384 MB (better if it is greater)&lt;/li&gt;&lt;li&gt;All the other devices of a normal PC.&lt;/li&gt;&lt;/ul&gt;&lt;div align="justify"&gt;Also is possible to use Linux but I don’t know it. If someone do this, I would add the information in the blog.&lt;/div&gt;&lt;div align="justify"&gt;2. A boot CD with an OS (I recommend to use Windows 2000 professional because it is easy to install in a virtual machine.)&lt;br /&gt;&lt;br /&gt;3. &lt;a href="http://www.vmware.com/"&gt;VMware Workstation 5.5 software&lt;/a&gt; to install in your PC or Laptop.&lt;br /&gt;&lt;br /&gt;4. Software to install in the virtual machines such as &lt;a href="http://java.sun.com/j2se/1.5.0/download.jsp"&gt;J2SE of Sun Microsystems&lt;/a&gt;, &lt;a href="http://www-306.ibm.com/software/data/cloudscape/"&gt;Cloudscape IBM 10.1&lt;/a&gt;, &lt;a href="http://www-306.ibm.com/software/data/cloudscape/"&gt;Cloudscape Workbench&lt;/a&gt;, &lt;a href="http://www.eclipse.org/"&gt;Eclipse&lt;/a&gt;, &lt;a href="http://winzip.com/ddchomea.htm"&gt;WinZip&lt;/a&gt;, &lt;a href="http://www.adobe.com/products/acrobat/readstep2_allversions.html"&gt;Acrobat Reader&lt;/a&gt;, and some other software.&lt;br /&gt;&lt;br /&gt;5. Design and test the simplest applications to understand the concepts (Here, would be excellent the support of expert programmers of the Cloudscape Community.) &lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-size: 130%;"&gt;3. Below, I present 5 basic but important questions and their corresponding answers.&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;strong&gt;1. How does VMware Workstation 5.5 work?&lt;br /&gt;&lt;/strong&gt;VMware Workstation 5.5 is an application that creates virtual machines inside of a physical PC, selecting presetting menu options by mouse’s clicks. I will guide you step by step, since there are different options.&lt;/div&gt;&lt;strong&gt;2. What characteristics does the virtual machine have?&lt;br /&gt;&lt;/strong&gt;Each virtual machine has its own devices (they can be configured too) such as:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Memory&lt;/li&gt;&lt;li&gt;Hard drive&lt;/li&gt;&lt;li&gt;CD – ROM&lt;/li&gt;&lt;li&gt;Floppy&lt;/li&gt;&lt;li&gt;Ethernet card&lt;/li&gt;&lt;li&gt;USB Controller&lt;/li&gt;&lt;li&gt;Audio&lt;/li&gt;&lt;li&gt;Processor&lt;/li&gt;&lt;/ul&gt;&lt;div align="justify"&gt;&lt;strong&gt;3. What Operating System can be installed in a virtual machine?&lt;br /&gt;&lt;/strong&gt;We can install all versions of Windows OS, many versions of Linux, Netware and other OS. Please see the VMware Workstation 5.5 Manual to see more information.&lt;br /&gt;In my case, I have installed Windows 2000 professional in my real PC and I will install Windows 2000 professional in the virtual machines.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4. How the software downloaded of the Internet will be installed in the virtual machines?&lt;/strong&gt;&lt;br /&gt;I recommend you that the software (J2SE, Cloudscape IBM, Cloudscape Workbench, Eclipse and some other software that is needed) will place in one folder with the name that you decide in your PC.&lt;br /&gt;In future activities, you will install the software that you have in your PC folder to a virtual machine by means of a shared folder. This is important and we will explain it later on.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;5. How will we implement the Laboratory of database with Cloudscape and VMware?&lt;br /&gt;&lt;/strong&gt;a) Install &lt;a href="http://www.vmware.com/"&gt;VMware Workstation 5.5&lt;/a&gt; in your PC.&lt;br /&gt;b) Create 1 virtual machine with VMware Workstation 5.5.&lt;br /&gt;c) Install software to the virtual machine (Windows 2000 professional, &lt;a href="http://java.sun.com/j2se/1.5.0/download.jsp"&gt;J2SE&lt;/a&gt;, &lt;a href="http://www-306.ibm.com/software/data/cloudscape/"&gt;Cloudscape IBM&lt;/a&gt;, &lt;a href="http://www-306.ibm.com/software/data/cloudscape/"&gt;Cloudscape Workbench&lt;/a&gt;, &lt;a href="http://www.eclipse.org/"&gt;Eclipse&lt;/a&gt;, &lt;a href="http://www.winzip.com/ddchomea.htm"&gt;WinZip&lt;/a&gt;, &lt;a href="http://www.adobe.com/products/acrobat/readstep2_allversions.html"&gt;Acrobat Reader &lt;/a&gt;and some other software.)&lt;br /&gt;d) Create 3 clones of the first virtual machine.&lt;/div&gt;&lt;div align="justify"&gt;e) Setting up the 4 virtual machines (embedded, localhost, client, and server.)&lt;br /&gt;f) Test applications with Cloudscape in different heterogeneous environments, configuring the virtual machines (teams and networking) to reach the learning objectives of the Laboratory.&lt;/div&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: #3333ff; font-size: 130%;"&gt;ACTIVITIES OF THE FIRST WEEK:&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div align="justify"&gt;1. Place the downloaded software of the Internet in a folder of your real PC with the name that you decide.&lt;br /&gt;&lt;br /&gt;2. Install &lt;a href="http://www.vmware.com/"&gt;VMware Workstation 5.5&lt;/a&gt; in your real PC. In the VMware terminology, the real PC is named host machine and a virtual PC is named virtual machine. From now on, we will talk about host machine and virtual machines only.&lt;br /&gt;The installation is very simple, please follow the instructions. When the installation ends, there is an VMware icon on the desktop of your host machine. Click on the VMware icon and start VMware Workstation 5.5. in your host machine.&lt;br /&gt;&lt;br /&gt;3. Consult the help menu of VMware Workstation 5.5 to answer the following questions.&lt;br /&gt;a) What characteristics and what OS must have the host machine to run VMware Workstation 5.5 ?&lt;/div&gt;&lt;div align="justify"&gt;b) What is a virtual machine, which are its characteristics and what kind of OS can be installed in it?&lt;br /&gt;c) How can you create a virtual machine?&lt;br /&gt;d) How can you install an OS in a virtual machine?&lt;br /&gt;e) How can you install software in a virtual machine?&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;Bye for now, we will see the next week!&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="color: #3333ff;"&gt;--------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="color: #3333ff;"&gt;Monday, February 13, 2006&lt;/span&gt;&lt;/div&gt;&lt;span style="color: #3333ff; font-size: 130%;"&gt;&lt;strong&gt;SECOND WEEK:&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;Hello friends of the Cloudscape IBM database!&lt;br /&gt;I wish that you had had a good week. &lt;/span&gt;&lt;span style="color: #3333ff;"&gt;&lt;br /&gt;We start here, again.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We have two manuals to consult in the VMware help menu:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;em&gt;The VMware Workstation User's Manual&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;em&gt;The VMware Guest Operating System Installation Guide&lt;/em&gt;. The guide to install an OS in a virtual machine.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align="justify"&gt;Additionally, when you are setting an option in VMware, you have a help tag that points directly to the specific theme.&lt;/div&gt;&lt;div align="justify"&gt;We will see 5 activities this week.&lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;&lt;em&gt;1. Description of the VMware workstation 5.5 window&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Please click on VMware icon of the host machine.&lt;br /&gt;&lt;br /&gt;We have our first window of VMware workstation. The window has 5 principal areas:&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;Above, &lt;strong&gt;The principal menu bar&lt;/strong&gt;. Please see the different options.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Down, next to the menu, there are &lt;strong&gt;Different tools&lt;/strong&gt; such as turn on or turn off a virtual machine, quick switch, etc.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Left, there is the &lt;strong&gt;Favorites column&lt;/strong&gt;. Here we will see the names of the virtual machines or teams. When you have different virtual machines and teams, you can select one virtual machine or team, here.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Right, &lt;strong&gt;Work area&lt;/strong&gt;. Here, we will see the screen of a virtual machine. In this moment we see 3 icons with the options: New Virtual machine, New team and Open Existing VM or Team.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Down of favorite column and Work area, there is a &lt;strong&gt;Messages bar&lt;/strong&gt;. Sometimes there are not messages. When you are working with a virtual workstation or a team and you note a strange behavior of VMware, here there is a message about a specific action to take.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;Some important menu options are:&lt;br /&gt;&lt;div align="justify"&gt;&lt;strong&gt;Edit &amp;gt; Virtual Network settings…&lt;/strong&gt; Here, you can see the different options of virtual networks.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Edit &amp;gt; Preferences&lt;/strong&gt;. Here, you can see the global configuration of VMware like the default directory of virtual machines or teams, Memory to run the virtual machines, etc.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;VM &amp;gt; Clone…&lt;/strong&gt; Here, there is a wizard that will help you to create a copy of a virtual machine&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;VM &amp;gt; Settings…&lt;/strong&gt; Here, there are different options to configure the devices of a virtual machine and other options like shared folders.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Team &amp;gt; Settings…&lt;/strong&gt; Here, we can set the type of connection of each virtual machine of a team. Also, we can define the time to start each virtual machine of the team.&lt;br /&gt;&lt;br /&gt;I use Windows 2000 in my host machine and Windows 2000 in my virtual machines but is possible other combinations like Windows XP in the host machine and Windows 2000 in the virtual machine, etc. Also is possible to use Linux in host machine or virtual machine.&lt;br /&gt;&lt;br /&gt;The name of a virtual machine includes the name of the OS more additional words.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;&lt;em&gt;2. This is the Work Plan:&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;We will create 4 virtual machines with the next names:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Windows 2000 with Cloudscape (embedded mode)&lt;/li&gt;&lt;li&gt;Windows 2000 with Cloudscape (NetworkServer mode-localhost)&lt;/li&gt;&lt;li&gt;Windows 2000 with Cloudscape (NetworkServer mode-client)&lt;/li&gt;&lt;li&gt;Windows 2000 with Cloudscape (NetworkServer mode-server)&lt;/li&gt;&lt;/ol&gt;&lt;div align="justify"&gt;Remember, if you use a different OS, the names of your virtual machines will include the name of your OS.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;First&lt;/strong&gt;, we will create the first virtual machine with its OS, in this second week.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Second&lt;/strong&gt;, we will install the software on the first virtual machine (J2SE, Cloudscape, Workbench Cloudscape, Eclipse, WinZip, Acrobat Reader and some other software), the next third week.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Third&lt;/strong&gt;, we will have the first virtual machine with all software installed and configured the environment variables correctly, to work for Cloudscape embedded mode. After, we will generate clones of the first virtual machine to the other 3 virtual machines (each clone takes 10 minutes to create), the next third week.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Then&lt;/strong&gt;, we will adapt the environment variables of the clones to NetworkServer mode-localhost, NetworkServer mode-client, and NetworkServer mode-server. Also, we will create teams and networking with the virtual machines. All these, the next fourth week.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Finally&lt;/strong&gt;, we will test Cloudscape IBM with different applications in heterogeneous environments (stand alone, teams and networking), in this way:&lt;/div&gt;&lt;div align="justify"&gt;a) Understanding and running a program to Cloudscape in embedded mode, the next fifth week.&lt;/div&gt;&lt;div align="justify"&gt;b) Understanding and running programs to Cloudscape in NetworkServer mode (localhost), the next sixth week.&lt;/div&gt;&lt;div align="justify"&gt;c) Understanding and running programs to Cloudscape in NetworkServer mode (client-server team), the next seventh week.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;&lt;em&gt;3. Okay. We go to create the first virtual machine.&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;On VMware workstation 5.5 window:&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on &lt;strong&gt;File &amp;gt; New &amp;gt; Virtual Machine&lt;/strong&gt; and we have the New Virtual Machine Wizard, then click &lt;strong&gt;next&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;Typical&lt;/strong&gt; and click &lt;strong&gt;next&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;Guest Operating System&lt;/strong&gt; and &lt;strong&gt;Version&lt;/strong&gt; (in my case Windows 2000 professional, but can be other). Click &lt;strong&gt;next&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;virtual machine name&lt;/strong&gt; and &lt;strong&gt;location&lt;/strong&gt;. Please type &lt;strong&gt;Windows 2000 with Cloudscape (embedded mode)&lt;/strong&gt;. Location is good. Click &lt;strong&gt;next&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;Network type&lt;/strong&gt;, choose &lt;strong&gt;NAT&lt;/strong&gt; and click &lt;strong&gt;next&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;Disk capacity&lt;/strong&gt;, by default is 8 GB, but change to &lt;strong&gt;4 GB&lt;/strong&gt; (it is enough to our software), please do not select allocate all disk space now. Click &lt;strong&gt;end&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align="justify"&gt;We have created our first virtual machine with the name &lt;strong&gt;Windows 2000 with Cloudscape (embedded mode).&lt;/strong&gt; It has not an OS yet.&lt;br /&gt;&lt;br /&gt;In the work area of VMware workstation, there is information about the virtual machine such as the virtual machine name, commands, devices and notes. The commands and devices options can be configured.&lt;br /&gt;&lt;br /&gt;Please, double click on hard disk SCSI device and you can see the characteristics of this device. As example and because is better option, we will change the hard disk SCSI to hard disk IDE of our first virtual machine.&lt;br /&gt;&lt;br /&gt;In the principal menu of VMware workstation:&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on &lt;strong&gt;VM &amp;gt; Settings…&lt;/strong&gt; and we have a Virtual Machine Settings window with the devices&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click &lt;strong&gt;add button&lt;/strong&gt; and we have an Add Hardware Wizard&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click &lt;strong&gt;next&lt;/strong&gt;, and we have a new window with Hardware Type to add&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;Hard Disk&lt;/strong&gt; and click &lt;strong&gt;next&lt;/strong&gt;. We have a new window to Select a Disk&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;Create a new virtual disk&lt;/strong&gt; and click &lt;strong&gt;next&lt;/strong&gt;. We have a new window to Select a Disk Type&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;Select IDE&lt;/strong&gt; and click &lt;strong&gt;next&lt;/strong&gt;. We have a new window to Specify Disk Capacity&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;4 GB&lt;/strong&gt; and &lt;strong&gt;Split Disk into 2 GB files&lt;/strong&gt;. Click &lt;strong&gt;next&lt;/strong&gt;, and we have a new window with the Filename default. It is good&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click &lt;strong&gt;end&lt;/strong&gt; and we return to the Virtual Machine Settings window, but now we have 2 hard disks (a SCSI Hard Disk and an IDE Hard Disk)&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on &lt;strong&gt;SCSI Hard Disk&lt;/strong&gt; to select this, and in the same window, click on &lt;strong&gt;remove button&lt;/strong&gt;. The SCSI Hard Disk is removed&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;At this time, we have one Hard Disk and it is IDE&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click &lt;strong&gt;OK button&lt;/strong&gt; in the Virtual Machine Settings window and we finish this activity&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;&lt;em&gt;4. Now, we will install the OS in the virtual machine.&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;With the virtual machine turn off, insert a bootable CD with an OS in the CD drive of your host machine to install it in the virtual machine that we have created (In my case, I have installed Windows 2000, but you can install another.)&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Turn on the virtual machine and follow the instructions to install the Guest OS in the virtual machine. This activity takes 1 hour with Windows 2000 more or less.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;When you finish, you have the first window of your virtual machine with an OS installed. There is a strange behavior with the mouse because you need to install VMware tools in your virtual machine with an OS installed.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align="justify"&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-size: 130%;"&gt;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-size: 130%;"&gt;5. As a final point, install the VMware Tools in the virtual machine with an OS installed.&lt;br /&gt;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;With the virtual machine running the Guest Operating System:&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;VM &amp;gt; Install VMware Tools&lt;/strong&gt; of the principal menu of VMware Workstation 5.5.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Please, follow the instructions and when it process ends, you will have a better behavior of the mouse and video of the virtual machine.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align="justify"&gt;&lt;strong&gt;&lt;span style="color: #3333ff; font-size: 130%;"&gt;ACTIVITIES OF THE SECOND WEEK:&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div align="justify"&gt;Please, try to practice the next activities:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;The movement of the mouse inside of the screen of the virtual machine and outside of this. When you need to use the &lt;strong&gt;CTRL-ALT-DEL&lt;/strong&gt; keys, inside of the virtual machine, it is &lt;strong&gt;CTRL-ALT-INS&lt;/strong&gt; and outside of the virtual machine, it is &lt;strong&gt;CTRL-ALT-DEL&lt;/strong&gt;.&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Turn on and turn off the virtual machine.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: #3333ff;"&gt;Bye for now. We will see the next week!&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;--------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;Monday, February 20, 2006&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;THIRD WEEK:&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;Hello fans of the Cloudscape IBM database!&lt;br /&gt;This week is full of activities.&lt;br /&gt;We start here, again.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;&lt;em&gt;1. OS installation in a virtual machine.&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;Please &lt;strong&gt;Turn off&lt;/strong&gt; the virtual machine.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Place the &lt;strong&gt;bootable CD with an OS&lt;/strong&gt; in your CD drive. In my case, I will install Windows 2000 but you can install other.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;Turn on&lt;/strong&gt; the virtual machine.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Start the installation program of Windows 2000.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;When you need to type information inside of the virtual machine screen to install the OS, click the mouse inside of the &lt;strong&gt;Work area&lt;/strong&gt; (screen) of the virtual machine. The cursor disappears and you can type inside of the virtual machine. You will do this, several times.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;When you need to use the mouse again, click &lt;strong&gt;CTRL-ALT&lt;/strong&gt; and the cursor appears again. You will do this, several times.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;When the program installation asks if you want format the hard disk, select &lt;strong&gt;yes&lt;/strong&gt;. There is not problem because the hard disk is of the virtual machine. You do not format the hard disk of the host machine.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Start the copy of OS files to the hard disk of the virtual machine.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;The process continues. The virtual machine turns off and turns on several times, automatically. You have not problem because all the process is inside of the virtual machine. It does not affect the host machine.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;When the process ends, we have the first window with an OS.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Install &lt;strong&gt;VMware Tools&lt;/strong&gt;. Choose &lt;strong&gt;VM &amp;gt; Install VMware Tools...&lt;/strong&gt; and follow the instructions. Please, select &lt;strong&gt;Typical set up type&lt;/strong&gt;. When the installation ends, you must restart the virtual machine.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Now, the mouse’s cursor works fine inside and outside of the virtual machine, and the graphic behavior of the virtual machine is better. &lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-size: 130%;"&gt;2. Shared Folder configuration to install other software in the virtual machine.&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;VM &amp;gt; Settings…&lt;/strong&gt; and we have Virtual Machines Setting window.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;Options tag&lt;/strong&gt; and we have a list to set.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;Shared Folders&lt;/strong&gt;, go right and click on &lt;strong&gt;Add… button&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Start the &lt;strong&gt;Add Shared Folder Wizard&lt;/strong&gt;, click &lt;strong&gt;next&lt;/strong&gt;, and we have new window.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Type &lt;strong&gt;the shared folder name&lt;/strong&gt;. It can be any name. I named the shared folder &lt;strong&gt;deposit-1&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on &lt;strong&gt;Browse… button&lt;/strong&gt; to localize the folder in the host machine, where you stored the software to install in the virtual machine (&lt;a href="http://www.winzip.com/ddchomea.htm"&gt;WinZip&lt;/a&gt;, &lt;a href="http://www.adobe.com/products/acrobat/readstep2_allversions.html"&gt;Acrobat Reader&lt;/a&gt;, &lt;a href="http://java.sun.com/j2se/1.5.0/download.jsp"&gt;J2SE&lt;/a&gt;, &lt;a href="http://www-306.ibm.com/software/data/cloudscape/"&gt;Cloudscape IBM&lt;/a&gt;, &lt;a href="http://www-306.ibm.com/software/data/cloudscape/"&gt;Cloudscape workbench&lt;/a&gt;, &lt;a href="http://www.eclipse.org/"&gt;Eclipse&lt;/a&gt; and other software). I named the folder &lt;strong&gt;Open Software&lt;/strong&gt; but the name can be any name. We need &lt;strong&gt;WinZip&lt;/strong&gt; to unzip some files and &lt;strong&gt;Acrobat Reader&lt;/strong&gt; to read the Cloudscape manuals.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click &lt;strong&gt;next&lt;/strong&gt; and there is other window with attributes.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;Enable this share&lt;/strong&gt; and click &lt;strong&gt;end button&lt;/strong&gt;, and we have the shared folder with the name, host folder and status.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on &lt;strong&gt;OK button&lt;/strong&gt; in the Virtual Machine Settings window and we end this activity.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;strong&gt;Notes:&lt;/strong&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;div align="justify"&gt;When you want power off the virtual machine, please check that you have shut down your guest operating system before powering off.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;When you click on an icon, sometimes is one click and other times is double click.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div align="justify"&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;&lt;em&gt;3. Installation of other software in the virtual machine.&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;We go to install software such as &lt;strong&gt;&lt;a href="http://www.winzip.com/ddchomea.htm"&gt;WinZip&lt;/a&gt;&lt;/strong&gt; to unzip the files, &lt;strong&gt;&lt;a href="http://www.adobe.com/products/acrobat/readstep2_allversions.html"&gt;Acrobat Reader&lt;/a&gt;&lt;/strong&gt; to read the Cloudscape manuals, &lt;strong&gt;&lt;a href="http://java.sun.com/j2se/1.5.0/download.jsp"&gt;J2SE&lt;/a&gt; of Sun Microsystems&lt;/strong&gt;, &lt;strong&gt;&lt;a href="http://www-306.ibm.com/software/data/cloudscape/"&gt;Cloudscape IBM&lt;/a&gt;&lt;/strong&gt;, &lt;a href="http://www-306.ibm.com/software/data/cloudscape/"&gt;&lt;strong&gt;Workbench&lt;/strong&gt; &lt;strong&gt;Cloudscape&lt;/strong&gt;&lt;/a&gt;, &lt;strong&gt;&lt;a href="http://www.eclipse.org/"&gt;Eclipse&lt;/a&gt;&lt;/strong&gt;, and some other software. Remember, all installation activities are with the Guest Operating System of the virtual machine. The installations do not affect the host machine.&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;Power on&lt;/strong&gt; the virtual machine and &lt;strong&gt;start&lt;/strong&gt; the guest operating system (in may case Windows 2000 but it can be other.)&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on &lt;strong&gt;My network sites&lt;/strong&gt; icon of Windows 2000 desktop, and we have a new window.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on &lt;strong&gt;The whole network&lt;/strong&gt; icon, and we have a new window.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on &lt;strong&gt;complete content link&lt;/strong&gt;, and we have a new window with two icons.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on &lt;strong&gt;VMware Shared Folders&lt;/strong&gt; icon, and we have a new window.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on &lt;strong&gt;\ \.host&lt;/strong&gt; icon, and we have other window.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on &lt;strong&gt;\ \.host\Shared Folders&lt;/strong&gt; and we have the &lt;strong&gt;deposit-1&lt;/strong&gt; folder.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on &lt;strong&gt;deposit-1&lt;/strong&gt; folder and we have the software to install in the virtual machine.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Now we start the software installation.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on the &lt;strong&gt;WinZip&lt;/strong&gt; application icon and follow the instructions to install it.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on the &lt;strong&gt;Acrobat Reader&lt;/strong&gt; application icon and follow the instructions to install it (In my case, I have a CD with Acrobat Reader. I place the CD in the CD drive of the host machine. Click on &lt;strong&gt;My PC&lt;/strong&gt; icon of the virtual machine screen. Click on &lt;strong&gt;CD drive&lt;/strong&gt; icon. Click on &lt;strong&gt;Acrobat Reader&lt;/strong&gt; application and follow the instructions to install it.)&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on the &lt;strong&gt;J2SE&lt;/strong&gt; application icon and follow the instructions to install it. You must configure the system environment variables (&lt;strong&gt;PATH&lt;/strong&gt; and &lt;strong&gt;CLASSPATH&lt;/strong&gt;) of the virtual machine to operate correctly J2SE. Please see the installation file of the application.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on the &lt;strong&gt;Cloudscape IBM&lt;/strong&gt; application icon and follow the instructions to install it. After, you must configure the environment system variables PATH and CLASSPATH to Cloudscape embedded mode of the virtual machine. See the note at the end of this activity.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on the &lt;strong&gt;Workbench Cloudscape&lt;/strong&gt; application icon and follow the instructions to install it.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on the &lt;strong&gt;Eclipse&lt;/strong&gt; application icon and follow the instructions to install it.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;You would install other software if you want, considering the capacity of Virtual machine hard disk.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;strong&gt;Note:&lt;/strong&gt; &lt;br /&gt;&lt;div align="justify"&gt;&lt;strong&gt;Windows 2000 with Cloudscape (embedded mode)&lt;/strong&gt; virtual machine must have the system variables configured, considering the &lt;strong&gt;derby.jar&lt;/strong&gt; and &lt;strong&gt;derbytools.jar&lt;/strong&gt; files. For more information, see the &lt;strong&gt;Getting Started with Cloudscape IBM manual&lt;/strong&gt; (pages 5 to 14) and the &lt;strong&gt;Table 1&lt;/strong&gt; later on, in this third week.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;&lt;em&gt;4. Creating the 3 clones of the first virtual machine.&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt;We invest a lot of work to create the first virtual machine, but now is time to save time and we will create the other 3 virtual machines copying the first virtual machine across the clone option. Each clone takes 10 minutes to create.&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;Select the virtual machine named &lt;strong&gt;Windows 2000 with Cloudscape (embedded mode)&lt;/strong&gt; in the Favorites column.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;VM&lt;/strong&gt; in the principal menu and we have other menu window.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;Clone…&lt;/strong&gt; and start Clone Virtual Machine Wizard.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click &lt;strong&gt;next&lt;/strong&gt; and we have the Clone source window.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;From current state&lt;/strong&gt; option.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click &lt;strong&gt;next&lt;/strong&gt; and we have the Clone Type window.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;Create a full clone&lt;/strong&gt; option.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click &lt;strong&gt;next&lt;/strong&gt; and we have the &lt;strong&gt;Name of the New Virtual Machine&lt;/strong&gt; window.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Type in the &lt;strong&gt;virtual machine name &lt;/strong&gt;option, the name of our second virtual machine that is &lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode – localhost.)&lt;/strong&gt; Remember, the name can change if you use other OS in your virtual machine.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;The &lt;strong&gt;Location&lt;/strong&gt; option is good.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click &lt;strong&gt;end button&lt;/strong&gt; and we have a VMware Workstation window with the status of cloning. It takes 10 minutes approximately.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;When the &lt;strong&gt;cloning…&lt;/strong&gt; finishes, we have the Clone Virtual Machine Wizard with the status of clone done.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Click &lt;strong&gt;done button&lt;/strong&gt; and we have our second virtual machine with the name &lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode – localhost.)&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Repeat the previous 13 steps to create the other two virtual machines with the names, &lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode – client)&lt;/strong&gt; and &lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode – server.)&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;When you finish this activity, you have 4 independent virtual machines with the names:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Windows 2000 with Cloudscape (embedded mode)&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode – localhost)&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode – client)&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode – server)&lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div align="justify"&gt;Now, the 4 virtual machines have the environment system variables (PATH and CLASSPATH) configured to embedded mode. We must configure the last 3 virtual machines in agreement with its name. Please see the next table.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;TABLE 1. The .jar files considering Cloudscape operation mode. &lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;EMBEDDED MODE:&lt;/strong&gt; Is necessary the&lt;strong&gt; derby.jar &lt;/strong&gt;and&lt;strong&gt; derbytools.jar &lt;/strong&gt;files.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;NETWORKSERVER MODE (Localhost):&lt;/strong&gt; Is necessary the &lt;strong&gt;derby.jar&lt;/strong&gt;, &lt;strong&gt;derbynet.jar&lt;/strong&gt;, &lt;strong&gt;derbyclient.jar&lt;/strong&gt;, &lt;strong&gt;db2jcc.jar&lt;/strong&gt; and &lt;strong&gt;db2jcc_license_c.jar&lt;/strong&gt; files.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;NETWORKSERVER MODE (client):&lt;/strong&gt; Is necessary the &lt;strong&gt;derbytools.jar&lt;/strong&gt;, &lt;strong&gt;derbyclient.jar&lt;/strong&gt;, &lt;strong&gt;db2jcc.jar&lt;/strong&gt; and &lt;strong&gt;db2jcc_license_c.jar &lt;/strong&gt;files.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;NETWORKSERVER MODE (server):&lt;/strong&gt; Is necessary the &lt;strong&gt;derby.jar&lt;/strong&gt; and &lt;strong&gt;derbynet.jar&lt;/strong&gt; files.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align="justify"&gt;There are &lt;strong&gt;two&lt;/strong&gt; operation modes of Cloudscape: &lt;strong&gt;Embedded mode&lt;/strong&gt; and &lt;strong&gt;NetworServer mode&lt;/strong&gt;. Inside of NetworkServer mode there are &lt;strong&gt;two&lt;/strong&gt; options: &lt;strong&gt;Client&lt;/strong&gt; and &lt;strong&gt;Server&lt;/strong&gt;.&lt;br /&gt;Additionally, there is &lt;strong&gt;an option&lt;/strong&gt; in Cloudscape, where is possible to run a client/server application in one machine (&lt;strong&gt;Localhost.&lt;/strong&gt;)&lt;br /&gt;&lt;br /&gt;About the &lt;strong&gt;.jar&lt;/strong&gt; files, the &lt;strong&gt;Getting Started with Cloudscape IBM manual&lt;/strong&gt; (pages 5 to 14) says:&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;The &lt;strong&gt;derby.jar&lt;/strong&gt; file is required to &lt;strong&gt;embedded databases&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;The &lt;strong&gt;derbytools.jar&lt;/strong&gt; file is required to tools such as &lt;strong&gt;dblook&lt;/strong&gt;,&lt;strong&gt; ij&lt;/strong&gt; and &lt;strong&gt;import/export&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;The &lt;strong&gt;derbynet.jar&lt;/strong&gt; file is required to start the &lt;strong&gt;Network server Derby&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;The &lt;strong&gt;derbyclient.jar&lt;/strong&gt; file is required to use the &lt;strong&gt;Network driver Derby&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;The &lt;strong&gt;db2jcc.jar&lt;/strong&gt; file is required to use the &lt;strong&gt;DB2JDBC Universal Driver&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;The &lt;strong&gt;db2jcc_license_c.jar&lt;/strong&gt; file is the license file of the &lt;strong&gt;Universal Driver.&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align="justify"&gt;As a result, we have generated 4 virtual machines to test Cloudscape with different configurations:&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;Windows 2000 with Cloudscape (embedded mode)&lt;/strong&gt; virtual machine must have the system variables configured, considering the &lt;strong&gt;derby.jar&lt;/strong&gt; and &lt;strong&gt;derbytools.jar&lt;/strong&gt; files.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode - localhost)&lt;/strong&gt; virtual machine must have the system variables configured, considering the &lt;strong&gt;derby.jar&lt;/strong&gt;, &lt;strong&gt;derbynet.jar&lt;/strong&gt;, &lt;strong&gt;derbyclient.jar&lt;/strong&gt;, &lt;strong&gt;db2jcc.jar&lt;/strong&gt;, and &lt;strong&gt;db2jcc_license_c.jar&lt;/strong&gt; files.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode - client)&lt;/strong&gt; virtual machine must have the system variables configured, considering the &lt;strong&gt;derbytools.jar&lt;/strong&gt;, &lt;strong&gt;derbyclient.jar&lt;/strong&gt;, &lt;strong&gt;db2jcc.jar&lt;/strong&gt;, and &lt;strong&gt;db2jcc_license_c.jar&lt;/strong&gt; files.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode - server)&lt;/strong&gt; virtual machine must have the system variables configured, considering the &lt;strong&gt;derby.jar&lt;/strong&gt; and &lt;strong&gt;derbynet.jar&lt;/strong&gt; files.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="color: #3333ff; font-size: 130%;"&gt;&lt;strong&gt;ACTIVITIES OF THE THIRD WEEK:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;div align="justify"&gt;Try to configure the system variables for &lt;strong&gt;J2SE&lt;/strong&gt; and &lt;strong&gt;Cloudscape IBM&lt;/strong&gt;, correctly. Please see the installation files.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Try to install the correct version of &lt;strong&gt;Eclipse&lt;/strong&gt; to Cloudscape IBM. Install the &lt;strong&gt;correct plug-ins&lt;/strong&gt; &lt;strong&gt;Eclipse&lt;/strong&gt; to &lt;strong&gt;Cloudscape IBM&lt;/strong&gt;. It is an &lt;strong&gt;IDE&lt;/strong&gt; to develop applications to Cloudscape.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;If you want achieve more goals. Try to configure the last 3 virtual machines considering the previous &lt;strong&gt;Table 1&lt;/strong&gt; (.jar files.)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: #3333ff;"&gt;Remember, I am learning too. If you see mistakes, please send me a message in the blog.&lt;br /&gt;&lt;br /&gt;Bye for now. We will see the next week!&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;--------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="color: #3333ff;"&gt;Tuesday, February 28, 2006&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;FOURTH WEEK:&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;Hello users of the Cloudscape IBM database!&lt;br /&gt;This week is for virtual machines final tuning and grouping.&lt;br /&gt;We start here, again.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 180%;"&gt;&lt;strong&gt;&lt;em&gt;1. Setting up the Java environment (PATH, CLASSPATH), when you install J2SE.&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;PATH:&lt;/strong&gt; To run the &lt;strong&gt;JVM&lt;/strong&gt; and &lt;strong&gt;Java applications&lt;/strong&gt; you need to set up your &lt;strong&gt;PATH environment variable&lt;/strong&gt; and the OS will know where to look for the &lt;strong&gt;.exe Java&lt;/strong&gt; files (they are in the &lt;strong&gt;bin directory&lt;/strong&gt;.)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;PATH=C:\Program files\Java\jdk1.5.0_05\bin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can do this if your OS accept the instruction:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;set JAVA_HOME=C:\Program files\Java\jdk1.5.0_05&lt;/span&gt; then&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;set PATH=%JAVA_HOME%\bin&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;CLASSPATH:&lt;/strong&gt; To load the &lt;strong&gt;Java API's&lt;/strong&gt; to the memory and use these by the &lt;strong&gt;Java compiler&lt;/strong&gt; and &lt;strong&gt;Java interpreter&lt;/strong&gt;, you need to set up the &lt;strong&gt;CLASSPATH environment variable&lt;/strong&gt;, considering the &lt;strong&gt;tools.jar&lt;/strong&gt; and &lt;strong&gt;dt.jar&lt;/strong&gt; files. &lt;/div&gt;&lt;div align="left"&gt;&lt;span style="color: #cc0000;"&gt;CLASSPATH=.;C:\Program files\Java\jdk1.5.0_05\lib\tools.jar;&lt;br /&gt;C:\Program files\Java\jdk1.5.0_05\lib\dt.jar&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;You can do this if your OS accept the instruction:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;set JAVA_HOME=C:\Program files\Java\jdk1.5.0_05&lt;/span&gt; then&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="color: #cc0000;"&gt;set CLASSPATH=.;%JAVA_HOME%\lib\tools.jar;%JAVA_HOM&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;E%\lib\dt.jar&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-size: 180%;"&gt;2. Setting up the environment (PATH, CLASSPATH), when you install Cloudscape 10.1&lt;br /&gt;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;The &lt;strong&gt;Getting Started with Cloudscape IBM manual (page 7)&lt;/strong&gt; says that &lt;em&gt;“you can set the CLASSPATH environment variable in the OS either temporarily, permanently, or at run time when you start your Java application and the JVM. If you set the environment temporarily, you must set it each time that you open a new command window. In most development environments, it is best to set the CLASSPATH environment variable temporarily. Derby provide some scripts to help you set your CLASSPATH this way; they are found in the /frameworks/ embedded/bin directory or the /frameworks/NetworkServer/bin directory. To set the CLASSPATH temporarily, run a scrip every time you open a new command window.&lt;/em&gt;”&lt;br /&gt;&lt;br /&gt;Returning to the &lt;strong&gt;“Laboratory of database with Cloudscape IBM and VMware workstation 5.5”&lt;/strong&gt;, we have 4 virtual machines to Cloudscape only. With this facilities to test Cloudscape and to develop applications, I have decided &lt;strong&gt;configure permanently&lt;/strong&gt; the environment variables to Cloudscape in our 4 virtual machines, considering the operation mode (&lt;strong&gt;embedded&lt;/strong&gt;, &lt;strong&gt;localhost&lt;/strong&gt;,&lt;strong&gt; client&lt;/strong&gt; and &lt;strong&gt;server&lt;/strong&gt;), but you can decide your option. Please see the &lt;strong&gt;Table 1&lt;/strong&gt; in the third week session of the blog.&lt;br /&gt;&lt;br /&gt;To test Cloudscape, we will use the applications included when you install Cloudscape.&lt;br /&gt;&lt;strong&gt;Embedded mode:&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;C:\Program files\IBM\Cloudscape_10.1\demo\programs\simple&lt;/span&gt; di- rectory with the program SimpleApp.&lt;br /&gt;&lt;strong&gt;NetworkServer mode:&lt;/strong&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;C:\Program files\IBM\Cloudscape_10.1\demo\programs\nserverde &lt;/span&gt;&lt;span style="color: #cc0000;"&gt;mo&lt;/span&gt; directory with the programs NsSample, NsSampleClientThread, NetworkServerUtil, SimpleNetworkServerSample, and SimpleNetworkClientSample.&lt;br /&gt;&lt;br /&gt;To set up &lt;strong&gt;PATH&lt;/strong&gt; and &lt;strong&gt;CLASSPATH&lt;/strong&gt; in Windows 2000 click on &lt;strong&gt;start&lt;/strong&gt; &amp;gt; &lt;strong&gt;setting up&lt;/strong&gt; &amp;gt; &lt;strong&gt;Control Panel&lt;/strong&gt; &amp;gt; &lt;strong&gt;System&lt;/strong&gt; &amp;gt; &lt;strong&gt;advanced&lt;/strong&gt; &amp;gt; &lt;strong&gt;environment variables&lt;/strong&gt; &amp;gt; select &lt;strong&gt;PATH &lt;/strong&gt;or &lt;strong&gt;CLASSPATH&lt;/strong&gt; and &lt;strong&gt;edit.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;2.1. Setting up the environment variables to Windows 2000 with Cloudscape (embedded mode) virtual machine.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PATH:&lt;/strong&gt; We need to add the trajectory to the scripts and the trajectory to the application (&lt;strong&gt;SimpleApp&lt;/strong&gt; program.)&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="color: #cc0000;"&gt;PATH=C:\Program files\IBM\Cloudscape_10.1\frameworks\embed de&lt;/span&gt;&lt;span style="color: #cc0000;"&gt;d\bin;C:\Program files\IBM\Cloudscape_10.1\demo\programs\si mple&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;If &lt;span style="color: #cc0000;"&gt;set DERBY_INSTALL=C:\Program files\IBM\Cloudscape_10.1&lt;/span&gt; then&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="color: #cc0000;"&gt;set PATH=%DERBY_INSTALL%\frameworks\embedded\bin;%D&lt;/span&gt;&lt;span style="color: #cc0000;"&gt;ER &lt;/span&gt;&lt;span style="color: #cc0000;"&gt;BY_INSTALL%\demo\programs\simple&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;strong&gt;CLASSPATH: &lt;/strong&gt;We need to add the trajectory to &lt;strong&gt;derby.jar&lt;/strong&gt; and &lt;strong&gt;derbytools.jar&lt;/strong&gt; files.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;set CLASSPATH=%DERBY_INSTALL%\lib\derby.jar;%DERBY_INS TALL%\lib\derbytools.jar&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;2.2. Setting up the environment variables to Windows 2000 with Cloudscape (NetworkServer mode - localhost) virtual machine.&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;PATH:&lt;/strong&gt; We need to add the trajectory to the scripts and the trajectory to the applications (&lt;strong&gt;NsSample&lt;/strong&gt;, &lt;strong&gt;NsSampleClientThread&lt;/strong&gt;, &lt;strong&gt;NetworkServerUtil &lt;/strong&gt;programs.)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;PATH=C:\Program files\IBM\Cloudscape_10.1\frameworks\Networ &lt;/span&gt;&lt;span style="color: #cc0000;"&gt;kServer\bin;C:\Program files\IBM\Cloudscape_10.1\demo\program s\nserverdemo &lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;If &lt;span style="color: #cc0000;"&gt;set DERBY_INSTALL=C:\Program files\IBM\Cloudscape_10.1&lt;/span&gt; then&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;set PATH=%DERBY_INSTALL%\frameworks\NetworkServer\bin;% DERBY_INSTALL%\demo\programs\nserverdemo&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;strong&gt;CLASSPATH:&lt;/strong&gt; We need to add the trajectory to &lt;strong&gt;derby.jar&lt;/strong&gt;, &lt;strong&gt;derbynet.jar&lt;/strong&gt;, &lt;strong&gt;derbyclient.jar&lt;/strong&gt;, &lt;strong&gt;db2jcc.jar&lt;/strong&gt; and &lt;strong&gt;db2jcc_license_c.jar&lt;/strong&gt; files.&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="color: #cc0000;"&gt;set CLASSPATH=%DERBY_INSTALL%\lib\derby.jar;%DERBY_INS TA&lt;/span&gt;&lt;span style="color: #cc0000;"&gt;LL%\lib\derbynet.jar;%DERBY_INSTALL%\lib\derbyclient.jar;% DERBY_INSTALL%\lib\db2jcc.jar;%DERBY_INSTALL%\lib\db2jcc _license_c.jar&lt;/span&gt; &lt;/div&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;2.3. Setting up the environment variables to Windows 2000 with Cloudscape (NetworkServer mode - client) virtual machine.&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;PATH:&lt;/strong&gt; We need to add the trajectory to the scripts and the trajectory to the application (&lt;strong&gt;SimpleNetworkClientSample&lt;/strong&gt; program.)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;PATH=C:\Program files\IBM\Cloudscape_10.1\frameworks\Network &lt;/span&gt;&lt;span style="color: #cc0000;"&gt;Server\bin;C:\Program files\IBM\Cloudscape_10.1\demo\programs\ nserverdemo&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;If &lt;span style="color: #cc0000;"&gt;set DERBY_INSTALL=C:\Program files\IBM\Cloudscape_10.1&lt;/span&gt; then&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;set PATH=%DERBY_INSTALL%\frameworks\NetworkServer\bin;% DERBY_INSTALL%\demo\programs\nserverdemo&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;strong&gt;CLASSPATH:&lt;/strong&gt; We need to add the trajectory to &lt;strong&gt;derbytools.jar&lt;/strong&gt;, &lt;strong&gt;derbyclient.jar&lt;/strong&gt;, &lt;strong&gt;db2jcc.jar&lt;/strong&gt; and &lt;strong&gt;db2jcc_license_c.jar&lt;/strong&gt; files.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;set CLASSPATH=%DERBY_INSTALL%\lib\derbytools.jar;%DERBY_ INSTALL%\lib\derbyclient.jar;%DERBY_INSTALL%\lib\db2jcc.jar;% DERBY_INSTALL%\lib\db2jcc_license_c.jar&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;2.4. Setting up the environment variables to Windows 2000 with Cloudscape (NetworkServer mode - server) virtual machine.&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;PATH:&lt;/strong&gt; We need to add the trajectory to the scripts and the trajectory to the application (&lt;strong&gt;SimpleNetworkServerSample &lt;/strong&gt;program.)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;PATH=C:\Program files\IBM\Cloudscape_10.1\frameworks\Network Server\bin;C:\Program files\IBM\Cloudscape_10.1\demo\programs\ nserverdemo&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;If &lt;span style="color: #cc0000;"&gt;set DERBY_INSTALL=C:\Program files\IBM\Cloudscape_10.1&lt;/span&gt; then&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;set PATH=%DERBY_INSTALL%\frameworks\NetworkServer\bin;% DERBY_INSTALL%\demo\programs\nserverdemo&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;strong&gt;CLASSPATH:&lt;/strong&gt; We need to add the trajectory to &lt;strong&gt;derby.jar&lt;/strong&gt; and&lt;strong&gt; derbynet.jar&lt;/strong&gt; files.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;set CLASSPATH=%DERBY_INSTALL%\lib\derby.jar;%DERBY_INST ALL%\lib\derbynet.jar&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-size: 180%;"&gt;3. Setting up the environment (PATH, CLASSPATH), when you install Cloudscape Workbench.&lt;br /&gt;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;When you unzip &lt;strong&gt;Cloudscape Workbench 1.0&lt;/strong&gt;, it creates a new folder with the name &lt;strong&gt;csworkbench&lt;/strong&gt;. I unzipped this in the &lt;strong&gt;local disk ( C )&lt;/strong&gt; of the virtual machine. To start click on &lt;strong&gt;csworkbench icon&lt;/strong&gt; of csworkbench folder. I did a &lt;strong&gt;direct access&lt;/strong&gt; to the desktop of the virtual machine in the next form: click on &lt;strong&gt;csworkbench icon&lt;/strong&gt; with left button of the mouse and select &lt;strong&gt;direct access&lt;/strong&gt; &amp;gt; click on &lt;strong&gt;direct access to csworkbench icon&lt;/strong&gt; with right button and &lt;strong&gt;drag and drop&lt;/strong&gt; on the desktop of the virtual machine. Now, you can start Cloudscape Workbench of the desktop of the virtual machine.&lt;br /&gt;&lt;br /&gt;See the article &lt;a href="http://www-128.ibm.com/developerworks/db2/downloads/csworkbench/"&gt;IBM Cloudscape Workbench by Gilles Roux &lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It is not necessary to set up PATH and CLASSPATH for Cloudscape Workbench 1.0.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-size: 180%;"&gt;4. Setting up the environment (PATH, CLASSPATH), when you install Eclipse for Cloudscape 10.1&lt;br /&gt;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Eclipse&lt;/strong&gt; is an open source community whose projects are focused on providing an extensible development platform and application frameworks with exemplary tools that make it easy and cost-effective to build and deploy software.&lt;br /&gt;Please, see the documents and links:&lt;br /&gt;&lt;br /&gt;4.1. &lt;a href="http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0510cline/#resources"&gt;Eclipse-based tools for Apache Derby by Susan Cline&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;4.2. &lt;a href="http://db.apache.org/derby/integrate/index.html"&gt;Apache Derby integration&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;4.3. &lt;a href="http://www.eclipse.org/"&gt;Eclipse website&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;4.4. &lt;a href="http://www.eclipse.org/webtools/"&gt;Eclipse wtp project website&lt;/a&gt; .&lt;br /&gt;&lt;br /&gt;4.5. &lt;a href="http://download.eclipse.org/webtools/downloads/drops/R-0.7-200507290654/"&gt;Eclipse release Build 0.7&lt;/a&gt; .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-size: 180%;"&gt;5. Creating teams and Networking with the virtual machines.&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div align="justify"&gt;VMware Workstation teams allow you to set up a virtual computer lab on one host computer. You can now power on multiple associated virtual machines with a single click.&lt;br /&gt;Team virtual machines can use networking just as other virtual machines can. In addition, team members can communicate in private networks called LAN segments. LAN segments are completely independent of - and invisible to - the host computer's network.&lt;br /&gt;Team settings control the start-up order and timing for team virtual machines. You can set up specific delays between booting virtual machines so the host CPU load is spread out. Teams automatically launch virtual machines in the right order, with delays that you specify to ensure that each virtual machine stabilizes before the next virtual machine boots.&lt;br /&gt;You can use teams to virtualize multitier environments. Start separate client, server and database virtual machines with one click. Configure start-up delay times so clients do not submit queries before the server is ready.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;5.1. Making a new team.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;Select &lt;strong&gt;File &lt;/strong&gt;&amp;gt; &lt;strong&gt;New&lt;/strong&gt; &amp;gt; &lt;strong&gt;Team&lt;/strong&gt; and start the New Team Wizard &amp;gt; click &lt;strong&gt;Next&lt;/strong&gt; and there is other window &amp;gt; Type Team name (type &lt;strong&gt;Cloudscape server-client&lt;/strong&gt;), Location is good, click &lt;strong&gt;Next&lt;/strong&gt; and there is other window &amp;gt; Add virtual machines to the Team, click &lt;strong&gt;Yes&lt;/strong&gt; and there is other window &amp;gt; click &lt;strong&gt;Add button&lt;/strong&gt; and a drop-down menu appears &amp;gt; Select &lt;strong&gt;Existing Virtual Machine&lt;/strong&gt; option &amp;gt; Open a file browser from which you can navigate the host file system to locate an existing &lt;strong&gt;.vmx&lt;/strong&gt; file (see note 1), add the next 2 virtual machines; &lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode-server)&lt;/strong&gt; and &lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode-client)&lt;/strong&gt; &amp;gt; click &lt;strong&gt;Next&lt;/strong&gt; and there is other window &amp;gt; Add LAN Segment to the Team, select &lt;strong&gt;Yes&lt;/strong&gt;, click &lt;strong&gt;Next &lt;/strong&gt;and there is other window &amp;gt; click &lt;strong&gt;Add&lt;/strong&gt; to create a LAN segment &amp;gt; click &lt;strong&gt;Next&lt;/strong&gt; and there is a new window to select the network connections for each virtual machine on the team. Select &lt;strong&gt;LAN checkboxes&lt;/strong&gt; of the 2 virtual machines &amp;gt; click &lt;strong&gt;Finish button&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note 1:&lt;/strong&gt; The &lt;strong&gt;.vmx&lt;/strong&gt; files are in &lt;strong&gt;My virtual machines&lt;/strong&gt; folder of the host machine. Sometimes the name of &lt;strong&gt;.vmx&lt;/strong&gt; file does not correspond with the name of the virtual machine because it was a clone of our first virtual machine. Please, select the equivalent correct name to &lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode-server)&lt;/strong&gt; and &lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode-client)&lt;/strong&gt;. If you can not localize the correct names, suspend Making a new team activity and localize the correct &lt;strong&gt;.vmx&lt;/strong&gt; files for our 2 virtual machines.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;5.2 Opening a team.&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;Chose &lt;strong&gt;File&lt;/strong&gt; &amp;gt; Open and browse the location of the &lt;strong&gt;.vmtm&lt;/strong&gt; file in &lt;strong&gt;My Virtual Machines&lt;/strong&gt; folder &amp;gt; Select the file and click &lt;strong&gt;Open&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note 2: &lt;/strong&gt;Sometimes a &lt;strong&gt;team&lt;/strong&gt; or &lt;strong&gt;virtual machine&lt;/strong&gt; is not in the &lt;strong&gt;Favorites column&lt;/strong&gt; but you can add this to &lt;strong&gt;Favorites column&lt;/strong&gt; in the next form. In &lt;strong&gt;My Virtual Machines&lt;/strong&gt; folder, select a &lt;strong&gt;.vmx&lt;/strong&gt; file or &lt;strong&gt;.vmtm&lt;/strong&gt; file.&lt;br /&gt;If you want to add a team or virtual machine to the Favorites column, click &lt;strong&gt;File &lt;/strong&gt;&amp;gt; click &lt;strong&gt;Add Favorites.&lt;/strong&gt;&lt;br /&gt;If you want to remove a team or virtual machine of the Favorites column, click &lt;strong&gt;File&lt;/strong&gt; &amp;gt; click &lt;strong&gt;Remove from Favorites.&lt;/strong&gt;&lt;br /&gt;Remember, all teams and virtual machines are in My Virtual Machines folder of the host machine.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;5.3 Closing a team.&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;Each virtual machine of the team must be &lt;strong&gt;shut down&lt;/strong&gt;.&lt;br /&gt;Make sure the team is &lt;strong&gt;powered off&lt;/strong&gt;.&lt;br /&gt;Chose &lt;strong&gt;File&lt;/strong&gt; &amp;gt; &lt;strong&gt;Close&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-size: 180%;"&gt;6. Practical tips to manage the virtual machines.&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;To manage 1, 2 or 3 virtual machines is easy but more than 3 is more difficult because each virtual machine has different OS, or different configuration, or different devices, or different software installed, etc.&lt;br /&gt;This is experience. I have 10 virtual machines and remember the OS, configuration, software installed, and other details of each one is confused.&lt;br /&gt;I have tried to document the virtual machines in three levels to manage easily the virtual machines, and it seems to work fine.&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;Name level&lt;/strong&gt;. You can assign any name to the virtual machine but is a good custom to include the &lt;strong&gt;OS name and other words&lt;/strong&gt; in relation with the software installed to identify quickly the virtual machine. For example, &lt;strong&gt;Windows 2000 with Cloudscape (embedded mode)&lt;/strong&gt; seems long but you identify the virtual machine quickly.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;Favorites column level.&lt;/strong&gt; When you have &lt;strong&gt;several&lt;/strong&gt; virtual machines with the &lt;strong&gt;same theme&lt;/strong&gt;, you can create a &lt;strong&gt;new folder&lt;/strong&gt; to group them. In the area of Favorites column &lt;strong&gt;click with right button&lt;/strong&gt; of the mouse and there is a little window &amp;gt; select &lt;strong&gt;New&lt;/strong&gt; and there is other window &amp;gt; select &lt;strong&gt;Folder…&lt;/strong&gt; and there is other window &amp;gt; type the name of the new folder (&lt;strong&gt;Cloudscape&lt;/strong&gt; in our case) and click &lt;strong&gt;OK button &lt;/strong&gt;and we have the &lt;strong&gt;Cloudscape folder&lt;/strong&gt;. Now &lt;strong&gt;drag and drop&lt;/strong&gt; our 2 virtual machines and 1 team to the &lt;strong&gt;Cloudscape folder&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;Work area level.&lt;/strong&gt; When you select a virtual machine, the first screen of the virtual machine has a &lt;strong&gt;Notes&lt;/strong&gt; section where you can type notes for the virtual machine or team. I type notes such as the software installed and the versions, format file type of the virtual machine, purpose of the team, etc.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div align="justify"&gt;In the future, if you have created 10 or more virtual machines and teams, you can add a physical hard disk (for example 80 GB) to your desktop PC and store there all your virtual machines and teams.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3333ff; font-size: 130%;"&gt;&lt;strong&gt;ACTIVITIES OF THE FOURTH WEEK:&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;Cloudscape Workbench.&lt;/strong&gt; You can read in the help menu, the &lt;strong&gt;Cloudscape Workbench user guide&lt;/strong&gt; to learn themes such as: Connecting to a database, Using the Database Explorer, Creating database objects, Working wit data, Data Output view, Creating, running, and saving SQL scripts, Data Definition Language and Migrating a database.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;Eclipse&lt;/strong&gt;. You can read the help menu content. There are &lt;strong&gt;Basic Tutorials&lt;/strong&gt;, &lt;strong&gt;Programmer’s guides&lt;/strong&gt; and &lt;strong&gt;Basic Plug-in tutorials&lt;/strong&gt;. Install the correct &lt;strong&gt;plug-ins Eclipse&lt;/strong&gt; to Cloudscape IBM. Read the article &lt;strong&gt;Eclipse-based tools for Apache Derby&lt;/strong&gt; by Susan Cline. Eclipse is extensive. It is an &lt;strong&gt;IDE&lt;/strong&gt; to develop applications to Cloudscape. I am learning Eclipse too.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;VMware Workstation 5.5.&lt;/strong&gt; You can read in the help menu the themes, &lt;strong&gt;Configuring Teams&lt;/strong&gt; and &lt;strong&gt;Configuring a Virtual Network&lt;/strong&gt; to learn more details about these themes.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div align="justify"&gt;The three activities include big amount of work, but it would be useful to other projects.&lt;br /&gt;Remember, I am learning too. If you see mistakes, please send me a message in the blog.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;Bye for now. We will see the next week!&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;--------------------------------------------------------------&lt;br /&gt;Tuesday, March 7, 2006&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;FIFTH WEEK:&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Hello developers of the Cloudscape IBM database!&lt;br /&gt;This week is for running programs in embedded mode.&lt;br /&gt;We start here, again.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 180%;"&gt;&lt;strong&gt;&lt;em&gt;1. Additional comments about the Cloudscape folder in the Favorites column.&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;I wanted to test Cloudscape applications in the virtual machines and team but I realized that they need additional simple setting up. Please, remember that we created &lt;strong&gt;1 original virtual machine&lt;/strong&gt; and &lt;strong&gt;3 clones&lt;/strong&gt;. The original virtual machine has a &lt;strong&gt;password&lt;/strong&gt;, &lt;strong&gt;equipment’s name&lt;/strong&gt;, and &lt;strong&gt;workgroup&lt;/strong&gt;. The 3 clones have exactly the same information because they are a copy of the original virtual machine. We need to change this information to personalize each &lt;strong&gt;virtual machine&lt;/strong&gt;, especially with the &lt;strong&gt;team&lt;/strong&gt;, because it is a &lt;strong&gt;LAN segment&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;At this moment, we have a &lt;strong&gt;Cloudscape folder&lt;/strong&gt; in the &lt;strong&gt;Favorites column&lt;/strong&gt;. Please, click on &lt;strong&gt;Cloudscape folder&lt;/strong&gt; and we have &lt;strong&gt;3 icons&lt;/strong&gt;, 2 for virtual machines (&lt;strong&gt;embedded&lt;/strong&gt; and &lt;strong&gt;localhost&lt;/strong&gt;) and &lt;strong&gt;1&lt;/strong&gt; to team (&lt;strong&gt;Cloudscape server-client.&lt;/strong&gt;) The team has 2 virtual machines, &lt;strong&gt;server&lt;/strong&gt; and &lt;strong&gt;client&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;In relation to the setting up, the &lt;strong&gt;password&lt;/strong&gt; must be different for each virtual machine by security, but this is a test lab and I assigned the same password to the 4 virtual machines for speed. About the equipment’s name, and workgroup, they are necessary to change, especially in the team. This configuration is in agreement with your OS. I am using Windows 2000 and I must setting up the &lt;strong&gt;name &lt;/strong&gt;and the &lt;strong&gt;workgroup&lt;/strong&gt; of each virtual machine in this way:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Windows 2000 with Cloudscape (embedded mode)&lt;/strong&gt; virtual machine.&lt;br /&gt;Name: &lt;strong&gt;PC1&lt;br /&gt;&lt;/strong&gt;Workgroup: &lt;strong&gt;MANUFACTURE&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode-localhost)&lt;/strong&gt; virtual machine.&lt;br /&gt;Name: &lt;strong&gt;PC2 &lt;/strong&gt;&lt;br /&gt;Workgroup: &lt;strong&gt;MANUFACTURE&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode-server)&lt;/strong&gt; virtual machine.&lt;br /&gt;Name: &lt;strong&gt;PC3&lt;/strong&gt;&lt;br /&gt;Workgroup: &lt;strong&gt;MANUFACTURE&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode-client)&lt;/strong&gt; virtual machine.&lt;br /&gt;Name: &lt;strong&gt;PC4&lt;br /&gt;&lt;/strong&gt;Workgroup: &lt;strong&gt;MANUFACTURE&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I named the virtual machines (&lt;strong&gt;PC1, PC2, PC3&lt;/strong&gt; and &lt;strong&gt;PC4&lt;/strong&gt;) and the workgroup (&lt;strong&gt;MANUFACTURE&lt;/strong&gt;) but you can assign any other name.&lt;br /&gt;To set up Windows 2000, click on &lt;strong&gt;start&lt;/strong&gt; button &amp;gt; &lt;strong&gt;setting up&lt;/strong&gt; &amp;gt; &lt;strong&gt;Control Panel&lt;/strong&gt; &amp;gt; &lt;strong&gt;System&lt;/strong&gt; &amp;gt; &lt;strong&gt;Network identification&lt;/strong&gt; &amp;gt; &lt;strong&gt;Properties&lt;/strong&gt; &amp;gt; and type equipment’s name, and workgroup.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 180%;"&gt;&lt;strong&gt;&lt;em&gt;2. Understanding and running a program to Cloudscape in embedded mode with a virtual machine.&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;We need two elements to make this activity:&lt;br /&gt;1. A computer loaded with &lt;strong&gt;J2SE&lt;/strong&gt; and &lt;strong&gt;Cloudscape IBM 10.1&lt;/strong&gt;.&lt;br /&gt;2. A program developed to &lt;strong&gt;Cloudscape embedded mode&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;In the lab, we have a virtual machine setting up especially to embedded mode and it is &lt;strong&gt;Windows 2000 with Cloudscape (embedded mode.)&lt;br /&gt;&lt;/strong&gt;Also, there is a &lt;strong&gt;SimpleApp&lt;/strong&gt; program to &lt;strong&gt;embedded mode&lt;/strong&gt; in the &lt;strong&gt;simple&lt;/strong&gt; folder of &lt;strong&gt;Cloudscape_10.1&lt;/strong&gt; directory, in the virtual machine.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;2.1 Understanding the SimpleApp program.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;In &lt;strong&gt;embedded mode&lt;/strong&gt;, the application starts up an &lt;strong&gt;instance of Derby&lt;/strong&gt; within the current &lt;strong&gt;Java Virtual Machine&lt;/strong&gt; and shuts down the instance before it completes. No network access is involved. Only &lt;strong&gt;one application&lt;/strong&gt; can access a database at a time.&lt;br /&gt;&lt;br /&gt;I will try to explain the program to myself and I think it would be interesting to other people with interest in the theme.&lt;br /&gt;&lt;br /&gt;The sequence to explain the program is:&lt;br /&gt;&lt;strong&gt;First:&lt;/strong&gt; A &lt;strong&gt;statement&lt;/strong&gt; or &lt;strong&gt;code lines&lt;/strong&gt; or &lt;strong&gt;conclusion&lt;/strong&gt; of the &lt;strong&gt;SimpleApp&lt;/strong&gt; program.&lt;br /&gt;&lt;strong&gt;Then:&lt;/strong&gt; Official documentation of &lt;strong&gt;JDK 5.0&lt;/strong&gt; and &lt;strong&gt;Cloudscape IBM 10.1&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;1. Statement:&lt;/strong&gt;&lt;/em&gt; The &lt;strong&gt;SimpleApp&lt;/strong&gt; program is a &lt;strong&gt;JDBC&lt;/strong&gt; application.&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Documentation:&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;The JDBC API provides universal data access from the Java programming language. Using the JDBC 3.0 API, you can access virtually any data source, from relational databases to spreadsheets and flat files. JDBC technology also provides a common base on which tools and alternate interfaces can be built. The JDBC 3.0 API is comprised of two packages:&lt;br /&gt;a) the java.sql package.&lt;br /&gt;b) the javax.sql package, which adds server-side capabilities.&lt;br /&gt;You automatically get both packages when you download the Java 2 Platform Standard Edition 5.0 (J2SE.)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;2. Conclusion:&lt;/em&gt;&lt;/strong&gt; The program import &lt;strong&gt;3 Java interfaces&lt;/strong&gt;, &lt;strong&gt;1 Java class&lt;/strong&gt;, and &lt;strong&gt;1 exception&lt;/strong&gt; of the &lt;strong&gt;Java.sql package&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Interfaces: &lt;strong&gt;Connection, ResultSet&lt;/strong&gt;, and &lt;strong&gt;Statement&lt;/strong&gt;&lt;br /&gt;Class: &lt;strong&gt;DriverManager&lt;/strong&gt;&lt;br /&gt;Exception: &lt;strong&gt;SQLException&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Documentation:&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;The &lt;strong&gt;java.sql package&lt;/strong&gt; provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java programming language. This API includes a framework whereby different drivers can be installed dynamically to access different data sources. Although the JDBC API is mainly geared to passing SQL statements to a database, it provides for reading and writing data from any data source with a tabular format.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;java.sql.Connection interface&lt;/strong&gt; starts a connection (session) with a specific database.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;ResultSet interface&lt;/strong&gt; generates a table of data representing a database result set, which is usually generated by executing a statement that queries the database.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;Statement interface&lt;/strong&gt; is an object used for executing a static SQL statement and returning the results it produces.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;DriverManager class&lt;/strong&gt; is the basic service for managing a set of JDBC drivers.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;SQLException&lt;/strong&gt; is an exception that provides information on a database access error or other errors.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;3. Code lines:&lt;/em&gt;&lt;/strong&gt; In the code lines 53 to 68.&lt;br /&gt;The program runs in &lt;strong&gt;embedded mode&lt;/strong&gt; (default) but also is possible that runs as a &lt;strong&gt;client&lt;/strong&gt; in a server environment depending on the arguments passed to the program in the code lines 53 to 68.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #009900;"&gt;/* the default framework is embedded*/&lt;br /&gt;public String framework = "embedded";&lt;br /&gt;public String driver = "org.apache.derby.jdbc.EmbeddedDriver";&lt;br /&gt;public String protocol = "jdbc:derby:";&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;You can change the values in this part of the code to run the program as a client in a server environment.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;4. Code lines:&lt;/em&gt;&lt;/strong&gt; In the code lines 71 to 203.&lt;br /&gt;The program installs the &lt;strong&gt;embedded driver&lt;/strong&gt; and start up &lt;strong&gt;Derby engine&lt;/strong&gt;.&lt;br /&gt;A &lt;strong&gt;DerbyDB&lt;/strong&gt; database is created because the connection has the value &lt;strong&gt;create = true&lt;/strong&gt;.&lt;br /&gt;The program &lt;strong&gt;creates&lt;/strong&gt; a &lt;strong&gt;statement&lt;/strong&gt; to let commands against the connection.&lt;br /&gt;The program &lt;strong&gt;creates&lt;/strong&gt; a &lt;strong&gt;table&lt;/strong&gt;,&lt;strong&gt; add&lt;/strong&gt; &lt;strong&gt;rows&lt;/strong&gt;, &lt;strong&gt;update&lt;/strong&gt; one and &lt;strong&gt;verify&lt;/strong&gt; the results.&lt;br /&gt;The program &lt;strong&gt;releases&lt;/strong&gt; the result and statement resources.&lt;br /&gt;The program &lt;strong&gt;ends &lt;/strong&gt;the transactions.&lt;br /&gt;The program &lt;strong&gt;shuts down&lt;/strong&gt; Derby, if running in embedded mode.&lt;br /&gt;The program &lt;strong&gt;throws an exception&lt;/strong&gt;, if there is a problem to &lt;strong&gt;shut down&lt;/strong&gt; Derby.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;5. Code lines:&lt;/em&gt;&lt;/strong&gt; In the code lines 230 to 249.&lt;br /&gt;There is code when the program runs against Derby running in a client/server framework, using the &lt;strong&gt;default port 1527&lt;/strong&gt; to &lt;strong&gt;start localhost&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;2.2 Running the SimpleApp program.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To run the &lt;strong&gt;SimpleApp&lt;/strong&gt; program please read the document localized in: &lt;span style="color: #cc0000;"&gt;C:\Program Files \IBM\Cloudscape_10.1\demo\programs\simple\ex ample.html&lt;/span&gt; of the virtual machine. In this document there are instructions to run the program.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3333ff; font-size: 130%;"&gt;&lt;strong&gt;ACTIVITIES OF THE FIFTH WEEK:&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div align="justify"&gt;Try to modify the&lt;strong&gt; SimpleApp&lt;/strong&gt; code to store the &lt;strong&gt;DerbyDB&lt;/strong&gt; database in different directory, to add new &lt;strong&gt;sql transactions&lt;/strong&gt;, etc. Use &lt;strong&gt;Eclipse&lt;/strong&gt; to add or modify code to the &lt;strong&gt;SimpleApp&lt;/strong&gt; program.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;You can read the &lt;strong&gt;JDBC API Documentation&lt;/strong&gt; of &lt;strong&gt;J2SE&lt;/strong&gt; to learn more about the JDBC packages and classes.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;You can read the &lt;strong&gt;Apache Derby 10.1 API Documentation&lt;/strong&gt; in the &lt;strong&gt;javadoc folder&lt;/strong&gt; of &lt;strong&gt;Cloudscape_10.1&lt;/strong&gt;. Read the documentation about the packages like &lt;strong&gt;authentication&lt;/strong&gt;, &lt;strong&gt;drda&lt;/strong&gt;, &lt;strong&gt;jdbc&lt;/strong&gt; and &lt;strong&gt;tools&lt;/strong&gt;. Also read the documentation about &lt;strong&gt;embedded classes&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Try to use &lt;strong&gt;Cloudscape Workbench&lt;/strong&gt; to connect to &lt;strong&gt;DerbyDB&lt;/strong&gt; database, inserting and modifying data, etc.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div align="justify"&gt;The four activities include big amount of work, but it would be useful to the developers.&lt;br /&gt;Remember, I am learning too. If you see mistakes, please send me a message in the blog.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;Bye for now. We will see the next week!&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="color: #3333ff;"&gt;--------------------------------------------------------------&lt;br /&gt;Monday, March 13, 2006&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #3333ff;"&gt;&lt;strong&gt;SIXTH WEEK:&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Hello developers of the Cloudscape IBM database!&lt;br /&gt;This week is for running programs in NetworkServer mode (localhost.)&lt;br /&gt;&lt;br /&gt;We start here, again.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 180%;"&gt;&lt;strong&gt;&lt;em&gt;1. Additional comments about the “Cloudscape server-client” team.&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;I go to explain how we can change the amount of memory to VMware virtual machines in general and after how we can change the amount of memory to the team.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;1.1. Changing the amount of memory to VMware virtual machine.&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;Select a virtual machine in the &lt;strong&gt;Favorites column&lt;/strong&gt; and we have the first screen of that virtual machine, with different information such as &lt;strong&gt;Commands&lt;/strong&gt;, &lt;strong&gt;Devices&lt;/strong&gt; and &lt;strong&gt;Notes&lt;/strong&gt; areas. In &lt;strong&gt;Devices&lt;/strong&gt; area, you can see the amount of memory of the virtual machine. You can change the amount of memory.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;In the &lt;strong&gt;Devices&lt;/strong&gt; area, double click on &lt;strong&gt;memory&lt;/strong&gt; of the virtual machine and we have a new &lt;strong&gt;Memory &lt;/strong&gt;window.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;You can select 3-memory option, &lt;strong&gt;Guest OS recommended minimum&lt;/strong&gt;, &lt;strong&gt;Recommend memory&lt;/strong&gt; and &lt;strong&gt;Maximum recommended memory&lt;/strong&gt;. The default value is Recommended memory but you can specify the amount of memory allocated to that virtual machine. It depends of the amount of memory of the host machine. Also you can select intermediate values among the ranks. Please see the note at the end of this activity.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;For example, select &lt;strong&gt;96 MB&lt;/strong&gt; and click on &lt;strong&gt;OK button&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Now, you can see in the &lt;strong&gt;Devices&lt;/strong&gt; area, the value of &lt;strong&gt;96 MB&lt;/strong&gt; of memory to the virtual machine. You can power on and power off the virtual machine but now it is little more slowly.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;You &lt;strong&gt;can make tests&lt;/strong&gt; with the &lt;strong&gt;minimum&lt;/strong&gt;, &lt;strong&gt;recommended&lt;/strong&gt; and &lt;strong&gt;maximum&lt;/strong&gt; values of memory of a virtual machine.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;We can use these values when there is not enough amount of memory of the host machine.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align="justify"&gt;&lt;strong&gt;Note:&lt;/strong&gt; You need &lt;strong&gt;128 MB&lt;/strong&gt; or little more &lt;strong&gt;to run&lt;/strong&gt; the &lt;strong&gt;host machine&lt;/strong&gt; and &lt;strong&gt;each virtual machine&lt;/strong&gt; use &lt;strong&gt;128 MB&lt;/strong&gt; too. You cannot change the memory of the host machine (if you add physical memory, yes) but you can change the memory of the virtual machines.&lt;br /&gt;If you want to run a VMware team and the host machine does not enough memory, &lt;strong&gt;VMware sends a message&lt;/strong&gt; saying that &lt;strong&gt;is impossible to run the team&lt;/strong&gt;. You need to &lt;strong&gt;change the memory&lt;/strong&gt; value of the virtual machines &lt;strong&gt;to run&lt;/strong&gt; the team.&lt;br /&gt;Example: I have 384 MB of memory in my host machine. I want to run a team with 2 virtual machines and each one uses 128 MB of memory. The host machine use a little more of 128 MB and when I power on the team, VMware sends a message saying that there is not enough memory to run the team. You need to change the memory value of the virtual machines in the team (for example 96 MB) to run the team.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;1.2. Changing the amount of memory to VMware team.&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;Click on &lt;strong&gt;Cloudscape folder&lt;/strong&gt; in Favorites column and we have &lt;strong&gt;3 icons&lt;/strong&gt;, &lt;strong&gt;2&lt;/strong&gt; for virtual machines (&lt;strong&gt;embedded&lt;/strong&gt; and &lt;strong&gt;localhost&lt;/strong&gt;) and &lt;strong&gt;1 &lt;/strong&gt;to team (&lt;strong&gt;Cloudscape server-client&lt;/strong&gt;). The team has 2 virtual machines, &lt;strong&gt;server&lt;/strong&gt; and &lt;strong&gt;client&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Select &lt;strong&gt;Cloudscape server – client team&lt;/strong&gt; icon and we have the first screen of the team with 3 areas: &lt;strong&gt;Commands&lt;/strong&gt;, &lt;strong&gt;Virtual Machines and LAN Segments&lt;/strong&gt;, and &lt;strong&gt;Notes&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;In the &lt;strong&gt;Virtual Machines and LAN Segments&lt;/strong&gt; area we have &lt;strong&gt;icons&lt;/strong&gt; of the &lt;strong&gt;2 virtual machines of the team&lt;/strong&gt;. Select with &lt;strong&gt;double click&lt;/strong&gt; the &lt;strong&gt;first virtual machine&lt;/strong&gt; icon and we have a &lt;strong&gt;Virtual Machine Settings&lt;/strong&gt; window.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;In the right side of the &lt;strong&gt;Virtual Machine Settings&lt;/strong&gt; window change the amount of memory that you decide and click &lt;strong&gt;OK button&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Now, select the other &lt;strong&gt;virtual machine&lt;/strong&gt; icon of the team and we have a new &lt;strong&gt;Virtual Machine Settings&lt;/strong&gt; window.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;In the right side of the &lt;strong&gt;Virtual Machine Settings&lt;/strong&gt; window change the amount of memory that you decide and click &lt;strong&gt;OK button&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;At this point, we have changed the amount of memory of each virtual machine of the team if our host machine does not enough memory to run the team. We finish this activity.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-size: 130%;"&gt;&lt;span style="font-size: 180%;"&gt;2. Understanding and running an application to Cloudscape in NetworkServer mode - localhost with a virtual machine.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;We need two elements to make this activity:&lt;br /&gt;1. A &lt;strong&gt;computer&lt;/strong&gt; loaded with &lt;strong&gt;J2SE&lt;/strong&gt; and &lt;strong&gt;Cloudscape IBM 10.1&lt;/strong&gt;.&lt;br /&gt;2. A &lt;strong&gt;program&lt;/strong&gt; developed to &lt;strong&gt;Cloudscape NetworkServer mode - localhost&lt;/strong&gt;.&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;In the lab, we have a virtual machine setting up especially to NetworkServer mode and it is &lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode - localhost.)&lt;/strong&gt;&lt;br /&gt;Also, there is a &lt;strong&gt;Network Server sample demo&lt;/strong&gt; program to &lt;strong&gt;NetworkServer mode - localhost&lt;/strong&gt; in the &lt;strong&gt;nserverdemo&lt;/strong&gt; folder of &lt;strong&gt;Cloudscape_10.1&lt;/strong&gt; directory, in the VMware virtual machine.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;2.1. Understanding the Network Server sample demo program.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The documentation of &lt;strong&gt;Cloudscape IBM 10.1&lt;/strong&gt; says: &lt;em&gt;The NetworkServer mode is an environment in which multiple applications connect to Derby over the network. These applications run in a client/server environment. Derby runs embedded in a server framework that allows multiple network connections. The framework itself starts an instance of Derby and runs in an embedded environment. However, the client applications do not run in the embedded environment.&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;In &lt;strong&gt;Network Server mode&lt;/strong&gt;, Cloudscape/Derby &lt;strong&gt;processes requests&lt;/strong&gt; of an application from &lt;strong&gt;different Java Virtual Machines&lt;/strong&gt; and this operation mode is for &lt;strong&gt;client/server&lt;/strong&gt; applications. The previous statement implies that there is a &lt;strong&gt;server machine&lt;/strong&gt; and &lt;strong&gt;client’s machines&lt;/strong&gt; with requests to the server. As a natural consequence we need a &lt;strong&gt;network&lt;/strong&gt; to implement the network server operation mode of Derby/Cloudscape.&lt;br /&gt;But there is &lt;strong&gt;an option&lt;/strong&gt; to run an application to Cloudscape in &lt;strong&gt;Network Server mode&lt;/strong&gt; in &lt;strong&gt;one machine&lt;/strong&gt; with &lt;strong&gt;one Java Virtual Machine&lt;/strong&gt;, using the &lt;strong&gt;localhost&lt;/strong&gt; option.&lt;br /&gt;The &lt;strong&gt;Network server sample demo program&lt;/strong&gt; is a simple JDBC application that interacts with the &lt;strong&gt;Derby Network server&lt;/strong&gt;, in &lt;strong&gt;one machine&lt;/strong&gt; with &lt;strong&gt;one Java Virtual Machine&lt;/strong&gt;, using the &lt;strong&gt;localhost&lt;/strong&gt; option.&lt;br /&gt;&lt;br /&gt;I will try to explain the program to myself and I think it would be interesting to other people with interest in the theme.&lt;br /&gt;&lt;br /&gt;There are 3 programs that really integrate the &lt;strong&gt;Network server sample demo program&lt;/strong&gt;, each one with specific tasks. The 3 programs are part of the &lt;strong&gt;nserverdemo package&lt;/strong&gt; and each program is a java class (&lt;strong&gt;NsSample&lt;/strong&gt;, &lt;strong&gt;NetworkServerUtil&lt;/strong&gt; and &lt;strong&gt;NsSampleClientThread&lt;/strong&gt;.)&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;NsSample.java&lt;/strong&gt; is the &lt;strong&gt;entry point&lt;/strong&gt; to the application. It starts up &lt;strong&gt;2 clients&lt;/strong&gt;, one with &lt;strong&gt;embedded connection&lt;/strong&gt; and another with &lt;strong&gt;client connection&lt;/strong&gt;. The two clients perform &lt;strong&gt;database operations&lt;/strong&gt;. The program provides &lt;strong&gt;4 constants&lt;/strong&gt; that can be changed to make tests (&lt;strong&gt;NUM_ROWS&lt;/strong&gt;, &lt;strong&gt;ITERATIONS&lt;/strong&gt;, &lt;strong&gt;NUM_CLIENT_THREADS&lt;/strong&gt; and &lt;strong&gt;NETWORKSERVER_PORT&lt;/strong&gt;.)&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;NetworkServerUtil.java&lt;/strong&gt; helps to &lt;strong&gt;start&lt;/strong&gt; and to &lt;strong&gt;shutdown&lt;/strong&gt; the &lt;strong&gt;Derby Network server&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;NsSampleClientThread.java&lt;/strong&gt; supports &lt;strong&gt;Threads&lt;/strong&gt; and perform &lt;strong&gt;DML operations&lt;/strong&gt; using JDBC calls.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align="justify"&gt;Remember, if you change the 4 constants or make other changes in the code programs, recompile them again.&lt;br /&gt;&lt;br /&gt;The sequence to explain the program is:&lt;br /&gt;&lt;strong&gt;First:&lt;/strong&gt; A &lt;strong&gt;statement&lt;/strong&gt; or &lt;strong&gt;code lines&lt;/strong&gt; or &lt;strong&gt;conclusion&lt;/strong&gt; of the&lt;strong&gt; NsSample&lt;/strong&gt;, &lt;strong&gt;NetworkServerUtil&lt;/strong&gt; and &lt;strong&gt;NsSampleClientThread&lt;/strong&gt; programs.&lt;br /&gt;&lt;strong&gt;Then:&lt;/strong&gt; Official documentation of JDK 5.0 and Cloudscape IBM 10.1.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;1. Statement:&lt;/em&gt;&lt;/strong&gt; The &lt;strong&gt;Network server sample demo program&lt;/strong&gt; is a &lt;strong&gt;JDBC&lt;/strong&gt; application.&lt;br /&gt;Please see the answer in the fifth week session (general description of JDBC API.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;2. Conclusion:&lt;/em&gt;&lt;/strong&gt; The programs import different &lt;strong&gt;Java interfaces&lt;/strong&gt;, &lt;strong&gt;Java classes,&lt;/strong&gt; and &lt;strong&gt;exceptions&lt;/strong&gt; of different &lt;strong&gt;packages&lt;/strong&gt;.&lt;/div&gt;&lt;div align="justify"&gt;&lt;strong&gt;&lt;em&gt;Documentation:&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;A part of them are the same described in the fifth week session. The new packages, interfaces, classes or exceptions are:&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;java.io package&lt;/strong&gt; provides for system input and output through data streams, serialization and the file system. Unless otherwise noted, passing a null argument to a constructor or method in any class or interface in this package will cause a NullPointerException to be thrown.&lt;br /&gt;The &lt;strong&gt;java.io.FileOutputStream class&lt;/strong&gt; is an output stream for writing data to a File or to a FileDescriptor.&lt;br /&gt;The &lt;strong&gt;java.io.PritWriter class&lt;/strong&gt; prints formatted representations of objects to a text-output stream.&lt;br /&gt;The&lt;strong&gt; java.io.IOException&lt;/strong&gt; signals that an I/O exception of some sort has occurred.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;java.net package&lt;/strong&gt; provides the classes for implementing networking applications and the &lt;strong&gt;java.net.InetAddress class&lt;/strong&gt; represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit unsigned number used by IP, a lower-level protocol on which protocols like UDP and TCP are built.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;java.lang package&lt;/strong&gt; provides classes that are fundamental to the design of the Java programming language.&lt;br /&gt;The &lt;strong&gt;java.lang.Math class&lt;/strong&gt; contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric functions.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;java.sql.PreparedStatement interface&lt;/strong&gt; is an object that represents a precompiled SQL statement.&lt;br /&gt;The &lt;strong&gt;java.sql.SQLWarning&lt;/strong&gt; is an exception that provides information on database access warnings.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;java.util.Random&lt;/strong&gt; class is used to generate a stream of pseudorandom numbers.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;org.apache.derby.drda package&lt;/strong&gt; has 2 classes. The &lt;strong&gt;NetServelet class&lt;/strong&gt; can be used to start Derby Network Server from a remote location. &lt;strong&gt;The NetworkServerControl class&lt;/strong&gt; provides the ability to start a Network Server or connect to a running Network Server to shutdown, configure or retrieve diagnostic information.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;3. Code lines:&lt;/em&gt;&lt;/strong&gt; The 3 programs have excellent commentary lines and the documentation of them is very good. Please consult the code lines to read the commentaries. They are in:&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;C:\Program files\IBM\Cloudscape_10.1\demo\programs\nserverde mo&lt;/span&gt; of the VMware virtual machine.&lt;br /&gt;&lt;br /&gt;The commentary lines are about: when start the &lt;strong&gt;Derby Network Server&lt;/strong&gt;, load of &lt;strong&gt;Universal driver&lt;/strong&gt; and &lt;strong&gt;Derby client driver&lt;/strong&gt;, creation of &lt;strong&gt;NsSampledb database&lt;/strong&gt;, creation of &lt;strong&gt;SAMPLETBL table&lt;/strong&gt;, connection to &lt;strong&gt;database&lt;/strong&gt;, start the &lt;strong&gt;client threads&lt;/strong&gt;, perform &lt;strong&gt;DML operations&lt;/strong&gt; using JDBC calls, open &lt;strong&gt;embedded&lt;/strong&gt; and&lt;strong&gt; client&lt;/strong&gt; connections to perform database operations and shut down the &lt;strong&gt;Derby Network server&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;2.2 Running the Network Server sample demo program.&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;To run the &lt;strong&gt;Network server sample demo program&lt;/strong&gt; (3 programs), please read the document localized in:&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;C:\Program Files \IBM\Cloudscape_10.1\demo\programs\nserverde mo\nserverdemo.html&lt;/span&gt; of the VMware virtual machine. In this document there are instructions to run the program.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color: #3333ff; font-size: 130%;"&gt;ACTIVITIES OF THE SIXTH WEEK:&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div align="justify"&gt;Try to modify the &lt;strong&gt;NsSample&lt;/strong&gt; code. The program provides &lt;strong&gt;4 constants&lt;/strong&gt; that can be changed to make tests (NUM_ROWS, ITERATIONS, NUM_CLIENT_THREADS and NETWORKSERVER_PORT.) Use &lt;strong&gt;Eclipse&lt;/strong&gt; to add or modify code lines.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;You can read the &lt;strong&gt;JDBC API Documentation&lt;/strong&gt; of &lt;strong&gt;J2SE&lt;/strong&gt; to learn more about &lt;strong&gt;JDBC &lt;/strong&gt;packages and classes.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;You can read the &lt;strong&gt;Apache Derby 10.1 API Documentation&lt;/strong&gt; in the&lt;strong&gt; javadoc folder&lt;/strong&gt; of &lt;strong&gt;Cloudscape_10.1&lt;/strong&gt;. Read the documentation about the &lt;strong&gt;drda&lt;/strong&gt; and &lt;strong&gt;jdbc&lt;/strong&gt; packages.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Try to use &lt;strong&gt;Cloudscape Workbench&lt;/strong&gt; to connect to &lt;strong&gt;NsSampledb&lt;/strong&gt; database, inserting and modifying data, etc.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Try to read the &lt;strong&gt;Server and administration Guide&lt;/strong&gt; of Cloudscape IBM 10.1, to learn more about server configurations.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div align="justify"&gt;The five activities include big amount of work, but it would be useful to the developers.&lt;br /&gt;Remember, I am learning too. If you see mistakes, please send me a message in the blog.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;Bye for now. We will see the next last week!&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;--------------------------------------------------------------&lt;br /&gt;Wednesday, March 22, 2006&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;SEVENTH WEEK:&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;Hello developers of the Cloudscape IBM database!&lt;br /&gt;This is the last week session of the blog.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="color: #3333ff;"&gt;This last week is for:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;1. Explaining some useful options of VMware workstation 5.5.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;2. Explaining the different views of a VMware team.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;3. Running JDBC applications to Cloudscape 10.1 with Eclipse IDE.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;4. Running programs in NetworkServer mode with a VMware team.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;5. Conclusions.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="color: #006600;"&gt;&lt;strong&gt;COMMENTARY:&lt;/strong&gt; Before to start the last weekly session of the blog, I want to tell you about an atypical beginning of week. I live in Mexico City and yesterday was a holiday because we celebrate 200 years of Benito Juarez’ birth. Benito Juarez was a Mexican hero when the country had many problems. He was a Zapoteca indigenous who was born in Oaxaca, Mexico. He studied laws and he was attorney, and after he was president of Mexico. We had short vacations from Saturday to Tuesday in Mexico.&lt;br /&gt;&lt;br /&gt;Also, the beginning of the week was atypical because each year, when starts the spring there is a ritual in Teotihuacan, near of Mexico City 40 minutes by car. Teotihuacan is a Tolteca archaeological site with 2 large pyramids, the pyramid of the sun and the pyramid of the moon. These pyramids are the highest pyramids of the world and the ritual began to be popular 15 years ago, approximately. Each year, 600 persons were gathered to load positive energy in his or her bodies on the crest of the pyramids. The ritual was consisting of rising the hundreds of steps of the pyramids until arriving to the crest at the noon. Around the ritual there were Aztec dances, tasty food as barbecue and indigenous crafts. Yesterday, there were more than 300,000 persons rising and coming down the pyramids of Teotihuacan and this ceremony has begun to be popular. When the persons are in the crest of the pyramids, they see a spectacular sight of Mexico’s valley, and they see the silhouette of Mexico City too. People are going dressed with white clothes and the objective is to load positive energy and to have good luck in the year. The ceremony is familiar and there are many foreign tourists too. If you want to know the Teotihuacan pyramids, you can see this website: &lt;/span&gt;&lt;a href="http://www.mexicocity.com.mx/teoti_i.html"&gt;&lt;span style="color: #006600;"&gt;http://www.mexicocity.com.mx/teoti_i.html&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;We start here the last week session of the blog.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-size: 180%;"&gt;1. Explaining how we can use Full Screen, Quick Switch, Snapshot and VMware Player options of VMware workstation 5.5.&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;There are other useful options of VMware workstation 5.5 and they permit working with virtual machines and teams easily.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;1.1. Full Screen.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;In the principal menu bar, select &lt;strong&gt;View &amp;gt; Full Screen&lt;/strong&gt; (there is a new window) &amp;gt; click on &lt;strong&gt;Enter Full Screen&lt;/strong&gt; button.&lt;br /&gt;This option enlarges the &lt;strong&gt;virtual machine display&lt;/strong&gt; to cover the entire host monitor. The virtual machine no longer appears in a window. This option is available only when a virtual machine or team is &lt;strong&gt;power on&lt;/strong&gt;. The option is comfortable when you work long time with the virtual machine, because you use the whole host machine screen to the virtual machine.&lt;br /&gt;Note: Workstation menus and toolbar are not visible in full screen mode. Press &lt;strong&gt;Ctrl-Alt&lt;/strong&gt; to restore the Workstation window.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;1.2. Quick Switch.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;In the principal menu bar, select &lt;strong&gt;View &amp;gt; Quick Switch&lt;/strong&gt;.&lt;br /&gt;This option enlarges the Workstation console to cover the entire host monitor. Console tabs are visible, allowing you to switch between your virtual machines and teams with a single click. When you work with teams, this is the best option.&lt;br /&gt;Note: Workstation menus and toolbar are not visible in quick switch mode. Move your cursor to the top of the screen to show the menu and toolbar momentarily. Press &lt;strong&gt;View &amp;gt; Quick Switch&lt;/strong&gt; to restore the Workstation console.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;1.3. Snapshot.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;In the principal menu bar, select &lt;strong&gt;VM &amp;gt; Snapshot&lt;/strong&gt; (there is a new window) &amp;gt; select &lt;strong&gt;Take Snapshot…&lt;/strong&gt; and there is a new window where you can type the name of snapshot and description &amp;gt; click &lt;strong&gt;OK &lt;/strong&gt;button and there is other window &amp;gt; click &lt;strong&gt;OK&lt;/strong&gt; button.&lt;br /&gt;This option allows you to save the state of a virtual machine in the same manner you might save a word-processing document. You can come back later to that state if you make a mistake with the Revert button. See Using Snapshots for a description of this feature.&lt;br /&gt;You can revert a snapshot in the principal menu bar, select &lt;strong&gt;VM &amp;gt; Snapshot&lt;/strong&gt; (there is a new window) &amp;gt; select &lt;strong&gt;Revert to Snapshot&lt;/strong&gt; and follow the instructions to revert the snapshot.&lt;br /&gt;Also, you can manage the snapshots; select &lt;strong&gt;VM &amp;gt; Snapshot &amp;gt; Snapshot Manager&lt;/strong&gt; and we have a new window with the snapshots of the current virtual machine.&lt;br /&gt;Use the Snapshot Manager to review all snapshots for the current virtual machine and act on them directly.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;1.4. VMware Player.&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;Select&lt;strong&gt; start&lt;/strong&gt; button&lt;strong&gt; &amp;gt; Programs &amp;gt; VMware &amp;gt; VMware Player&lt;/strong&gt;.&lt;br /&gt;It is a free utility that opens and plays VMware Workstation 4.x and 5.x, Microsoft Virtual Server, and Microsoft virtual machines. Read Help topics guide to learn more about VMware Player.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-size: 180%;"&gt;2. Explaining the different views of a VMware team.&lt;/span&gt;&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;We will use parts of this activity when we will run programs in a VMware team.&lt;br /&gt;In the folder &lt;strong&gt;Cloudscape&lt;/strong&gt;, we have a &lt;strong&gt;VMware team&lt;/strong&gt; named &lt;strong&gt;Cloudscape server–client&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Select the &lt;strong&gt;Cloudscape server–client&lt;/strong&gt; team in the &lt;strong&gt;Favorites column&lt;/strong&gt;. We have a first view (screen) with 3 different information areas such as &lt;strong&gt;Commands&lt;/strong&gt;, &lt;strong&gt;Virtual Machines and LAN Segments&lt;/strong&gt;, and &lt;strong&gt;Notes&lt;/strong&gt; areas.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;2.1 Commands area.&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;In &lt;strong&gt;Commands&lt;/strong&gt; area you can &lt;strong&gt;Start this team&lt;/strong&gt; or &lt;strong&gt;Edit team settings&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;a)&lt;/strong&gt; Click on &lt;strong&gt;Start this team&lt;/strong&gt; option, if you want &lt;strong&gt;power on&lt;/strong&gt; the team.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;b)&lt;/strong&gt; Click on &lt;strong&gt;Edit team settings&lt;/strong&gt;, and you can select 4 tabs such as &lt;strong&gt;Connections&lt;/strong&gt;, &lt;strong&gt;Virtual Machines&lt;/strong&gt;, &lt;strong&gt;LAN Segments&lt;/strong&gt;, and &lt;strong&gt;Options&lt;/strong&gt;.&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div align="justify"&gt;If you select &lt;strong&gt;Connections&lt;/strong&gt; tab, it displays a list of all &lt;strong&gt;team virtual machines&lt;/strong&gt;, their &lt;strong&gt;network adapters&lt;/strong&gt; and each of their &lt;strong&gt;network connections&lt;/strong&gt;. To modify a &lt;strong&gt;network connection, highlight&lt;/strong&gt; the appropriate &lt;strong&gt;adapter&lt;/strong&gt; in this list. &lt;strong&gt;Check&lt;/strong&gt; the &lt;strong&gt;box&lt;/strong&gt; corresponding to the type of &lt;strong&gt;connection&lt;/strong&gt; you want for this &lt;strong&gt;NIC&lt;/strong&gt;. For more information on &lt;strong&gt;configuring NICs&lt;/strong&gt;, see &lt;strong&gt;Configuring a Network Adapter (NIC)&lt;/strong&gt;. For information on &lt;strong&gt;team LAN segments&lt;/strong&gt;, see &lt;strong&gt;LAN Settings&lt;/strong&gt;. Note: NICs configured with connections through a DHCP server cannot connect to a team LAN segment.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;If you select &lt;strong&gt;Virtual Machines&lt;/strong&gt; tab, you can &lt;strong&gt;add&lt;/strong&gt; or&lt;strong&gt; remove &lt;/strong&gt;virtual machines to or from your &lt;strong&gt;team&lt;/strong&gt; as well as &lt;strong&gt;set the order&lt;/strong&gt; in which your team &lt;strong&gt;virtual machines start&lt;/strong&gt; and the &lt;strong&gt;number of seconds&lt;/strong&gt; to &lt;strong&gt;wait&lt;/strong&gt; between &lt;strong&gt;starting team virtual machines&lt;/strong&gt;. The virtual machine &lt;strong&gt;startup sequence&lt;/strong&gt; is &lt;strong&gt;top first&lt;/strong&gt; and &lt;strong&gt;bottom last&lt;/strong&gt;, in the order displayed. To &lt;strong&gt;change&lt;/strong&gt; the &lt;strong&gt;startup sequence&lt;/strong&gt;, select the virtual machine and use the &lt;strong&gt;Move Up&lt;/strong&gt; or &lt;strong&gt;Move Down&lt;/strong&gt; buttons to change its position within the startup sequence. To &lt;strong&gt;add&lt;/strong&gt; a&lt;strong&gt; delay time&lt;/strong&gt; between power on for the selected virtual machine, &lt;strong&gt;type&lt;/strong&gt; the &lt;strong&gt;number of seconds&lt;/strong&gt; you want in the &lt;strong&gt;Delay field&lt;/strong&gt;, and click on &lt;strong&gt;OK&lt;/strong&gt; button.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;If you select &lt;strong&gt;LAN Segments&lt;/strong&gt; tab, they are &lt;strong&gt;virtual networks&lt;/strong&gt; that are available &lt;strong&gt;only&lt;/strong&gt; to &lt;strong&gt;team virtual machines&lt;/strong&gt;. LAN segments offer increased performance and security. A team LAN segment is fully contained, undetectable and inaccessible from any other network, inside or outside the team. On the &lt;strong&gt;LAN Segments tab&lt;/strong&gt;, you can &lt;strong&gt;add&lt;/strong&gt;, &lt;strong&gt;remove &lt;/strong&gt;and &lt;strong&gt;configure&lt;/strong&gt; team LAN segments. You can &lt;strong&gt;set the bandwidth&lt;/strong&gt; for a LAN segment in &lt;strong&gt;two different ways&lt;/strong&gt;. Use the &lt;strong&gt;Bandwidth drop-down&lt;/strong&gt; menu to &lt;strong&gt;set&lt;/strong&gt; the &lt;strong&gt;bandwidth&lt;/strong&gt; of the LAN segment to match one of several typical network links. Use the &lt;strong&gt;Kbps field&lt;/strong&gt; to specify a &lt;strong&gt;numeric throughput upper limit&lt;/strong&gt;. Changes here are overwritten when you make a selection from the Bandwidth menu. To simulate &lt;strong&gt;packet loss&lt;/strong&gt; over the LAN segment, &lt;strong&gt;type&lt;/strong&gt; the desired &lt;strong&gt;percentage&lt;/strong&gt; of simulated packet loss in the Packet Loss field, and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;If you select &lt;strong&gt;Options &lt;/strong&gt;tab, you can change the name of a team. To change the name of a team, type in the new team name under &lt;strong&gt;Team name&lt;/strong&gt;, and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;2.2. Virtual Machines and LAN Segments area.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This area has &lt;strong&gt;virtual machine icons&lt;/strong&gt; that are part of the team, the &lt;strong&gt;OS&lt;/strong&gt; of each virtual machine and the &lt;strong&gt;LAN segment&lt;/strong&gt; of the team with &lt;strong&gt;checked boxes&lt;/strong&gt; to each virtual machine.&lt;br /&gt;Select with &lt;strong&gt;double click&lt;/strong&gt; the &lt;strong&gt;first virtual machine icon&lt;/strong&gt; and we have a new &lt;strong&gt;Virtual Machine Settings window&lt;/strong&gt; for &lt;strong&gt;that virtual machine&lt;/strong&gt; of the team.&lt;br /&gt;In the &lt;strong&gt;Virtual Machine setting window&lt;/strong&gt; , there are &lt;strong&gt;2&lt;/strong&gt; tags, &lt;strong&gt;Hardware&lt;/strong&gt; and &lt;strong&gt;Options&lt;/strong&gt; and we can setting up them.&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div align="justify"&gt;If you select &lt;strong&gt;Hardware &lt;/strong&gt;tag, you can &lt;strong&gt;setting up devices&lt;/strong&gt; such as &lt;strong&gt;Memory&lt;/strong&gt;, &lt;strong&gt;Hard disk&lt;/strong&gt;, &lt;strong&gt;CD-ROM&lt;/strong&gt;, &lt;strong&gt;Floppy&lt;/strong&gt;, &lt;strong&gt;Ethernet&lt;/strong&gt;, &lt;strong&gt;USB Controller&lt;/strong&gt;, &lt;strong&gt;Audio&lt;/strong&gt;, and &lt;strong&gt;Virtual Processor&lt;/strong&gt;. Please select each one with &lt;strong&gt;one click&lt;/strong&gt; and select &lt;strong&gt;Help tag&lt;/strong&gt; to see configuring information of that device.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;If you select &lt;strong&gt;Option&lt;/strong&gt;s tag, you can&lt;strong&gt; setting up options&lt;/strong&gt; such as &lt;strong&gt;General&lt;/strong&gt;, &lt;strong&gt;Power&lt;/strong&gt;, &lt;strong&gt;Shared Folders, Snapshots&lt;/strong&gt;, &lt;strong&gt;Guest Isolation&lt;/strong&gt;, and &lt;strong&gt;Advanced&lt;/strong&gt;. Please select each one with &lt;strong&gt;one click&lt;/strong&gt; and select &lt;strong&gt;Help tag&lt;/strong&gt; to see configuring information of that option.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div align="justify"&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;2.3. Notes area.&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;This area is to document the team and you can &lt;strong&gt;type&lt;/strong&gt; &lt;strong&gt;notes&lt;/strong&gt; for the team.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;span style="font-size: 180%;"&gt;&lt;strong&gt;&lt;em&gt;3. Running JDBC applications to Cloudscape 10.1 with Eclipse IDE.&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;I need to modify or to add code lines to the Cloudscape demo programs to finish the blog. By the previous reason, I have had to learn Eclipse IDE with the Apache Derby nature to modify or to add code lines. I think that it would be interesting to the developers of the Cloudscape community. I have spent more time but here are 2 examples to Cloudscape 10.1 using Eclipse IDE.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;3.1. Running an application in Embedded mode with Eclipse IDE.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Running the &lt;strong&gt;SimpleApp&lt;/strong&gt; program to Cloudscape 10.1 in &lt;strong&gt;Embedded&lt;/strong&gt; mode with the &lt;strong&gt;Eclipse IDE&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;We need &lt;strong&gt;3 things&lt;/strong&gt; to run the application:&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;The &lt;strong&gt;Windows 2000 with Cloudscape (embedded mode)&lt;/strong&gt; virtual machine.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;Eclipse&lt;/strong&gt; with the &lt;strong&gt;Derby plug ins&lt;/strong&gt; installed (&lt;strong&gt;derby_core_plugin_10.1.1.zip&lt;/strong&gt; and &lt;strong&gt;derby_ui_plugun_1.1.0.zip&lt;/strong&gt;.)&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;An &lt;strong&gt;application&lt;/strong&gt; to &lt;strong&gt;embedded&lt;/strong&gt; &lt;strong&gt;mode&lt;/strong&gt; of Cloudscape (the &lt;strong&gt;SimpleApp&lt;/strong&gt; program.)&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align="justify"&gt;1.- Start the &lt;strong&gt;VMware workstation 5.5&lt;/strong&gt; and click on &lt;strong&gt;Cloudscape folder&lt;/strong&gt; in the Favorites column.&lt;br /&gt;2.- Power on the &lt;strong&gt;Windows 2000 with Cloudscape (embedded mode)&lt;/strong&gt; virtual machine.&lt;br /&gt;3.- Start &lt;strong&gt;Eclipse IDE&lt;/strong&gt; with click on &lt;strong&gt;Eclipse icon&lt;/strong&gt;.&lt;br /&gt;4.- &lt;strong&gt;Eclipse&lt;/strong&gt; asks if you want to use the &lt;strong&gt;default workspace&lt;/strong&gt; that is:&lt;br /&gt;&lt;span style="color: #990000;"&gt;C:\Documents and Settings\administrator\workspace&lt;br /&gt;&lt;/span&gt;5.- I want a &lt;strong&gt;new workspace&lt;/strong&gt; named &lt;span style="color: #990000;"&gt;Test_Embedded&lt;/span&gt; under &lt;span style="color: #990000;"&gt;administrator&lt;/span&gt; folder, because I want to know the new folders and files created there.&lt;br /&gt;6.- With the &lt;strong&gt;Eclipse browser&lt;/strong&gt; I create the &lt;strong&gt;new workspace&lt;/strong&gt; named &lt;span style="color: #990000;"&gt;Test_Embedded&lt;/span&gt; in:&lt;br /&gt;&lt;span style="color: #990000;"&gt;C:\Documents and Settings\administrator\Test_Embedded&lt;/span&gt;&lt;br /&gt;7.- Select &lt;strong&gt;workspace&lt;/strong&gt; named &lt;span style="color: #990000;"&gt;Test_Embedded&lt;/span&gt; in our case and Click on &lt;strong&gt;OK button&lt;/strong&gt;.&lt;br /&gt;8.- At the moment, in &lt;span style="color: #990000;"&gt;Test_Embedded&lt;/span&gt; workspace of Eclipse, there is only a folder named &lt;span style="color: #990000;"&gt;.metadata.&lt;br /&gt;&lt;/span&gt;9.- &lt;strong&gt;Eclipse&lt;/strong&gt; displays the first screen with the&lt;strong&gt; Java perspective&lt;/strong&gt;. If you see a &lt;strong&gt;Welcome screen&lt;/strong&gt;, please close it.&lt;br /&gt;10.- We go to create a &lt;strong&gt;Eclipse project&lt;/strong&gt; with click on &lt;strong&gt;File&amp;gt;New&amp;gt;Project&lt;/strong&gt; and we have the &lt;strong&gt;new project wizard&lt;/strong&gt;, verify that it is &lt;strong&gt;Java Project&lt;/strong&gt; and click on &lt;strong&gt;Next button&lt;/strong&gt;.&lt;br /&gt;11.- Type the &lt;strong&gt;project name&lt;/strong&gt; (in our case &lt;strong&gt;Test_1&lt;/strong&gt;) with all other default options and click &lt;strong&gt;Finish button&lt;/strong&gt;. Now we have in the &lt;strong&gt;Eclipse package explorer&lt;/strong&gt; the project &lt;strong&gt;Test_1&lt;/strong&gt;.&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt; Here, you can select the version of JDK (1.3, 1.4 or 5.) I selected 5 that is JDK 1.5 or J2SE 5.&lt;br /&gt;12.- Click on &lt;strong&gt;Package explorer&lt;/strong&gt; of &lt;strong&gt;Eclipse&lt;/strong&gt; with the &lt;strong&gt;right button&lt;/strong&gt; of the mouse and we have a new menu window. Select &lt;strong&gt;Apache Derby&amp;gt;Add Apache Derby nature&lt;/strong&gt;.&lt;br /&gt;13.- If you repeat the previous step, you can see &lt;strong&gt;5 options&lt;/strong&gt; to &lt;strong&gt;Apache Derby&lt;/strong&gt; and &lt;strong&gt;Eclipse&lt;/strong&gt; has the &lt;strong&gt;Apache Derby nature&lt;/strong&gt;.&lt;br /&gt;14.- Now, we go to create a &lt;strong&gt;package&lt;/strong&gt; to the &lt;strong&gt;Test_1 project&lt;/strong&gt;, in the next form.&lt;br /&gt;15.- Select the &lt;strong&gt;Eclipse Java Browsing perspective&lt;/strong&gt; and click &lt;strong&gt;File&amp;gt;New&amp;gt;package&lt;/strong&gt; and starts the &lt;strong&gt;Eclipse package wizard&lt;/strong&gt;. Type the &lt;strong&gt;package name&lt;/strong&gt; ( in our case &lt;strong&gt;embedded_demo&lt;/strong&gt;) and click &lt;strong&gt;Finish button&lt;/strong&gt;.&lt;br /&gt;16.- Now, we go to create a &lt;strong&gt;class&lt;/strong&gt; to the&lt;strong&gt; embedded_demo package&lt;/strong&gt; in the next form.&lt;br /&gt;17.- Select &lt;strong&gt;embedded_demo package&lt;/strong&gt; and click &lt;strong&gt;File&amp;gt;New&amp;gt;class&lt;/strong&gt; and start the &lt;strong&gt;Eclipse new java class wizard&lt;/strong&gt;.&lt;br /&gt;18.- Type the &lt;strong&gt;class name&lt;/strong&gt; (in our case &lt;strong&gt;SimpleApp&lt;/strong&gt;) with all other default options and click &lt;strong&gt;Finish button&lt;/strong&gt;.&lt;br /&gt;19.- Now, we see an &lt;strong&gt;editor&lt;/strong&gt; with the package name (&lt;strong&gt;embedded_demo&lt;/strong&gt;) and the public class name (&lt;strong&gt;SimpleApp&lt;/strong&gt;). The public class is &lt;strong&gt;empty&lt;/strong&gt; and is necessary to add code.&lt;br /&gt;20.- Click on &lt;strong&gt;File&amp;gt;Open File…&lt;/strong&gt; and localize with the browser the &lt;strong&gt;SimpleApp.java program&lt;/strong&gt; in the &lt;strong&gt;Cloudscape_10.1 folder&lt;/strong&gt; of the virtual machine and click &lt;strong&gt;Open button&lt;/strong&gt;.&lt;br /&gt;21.- Now there are &lt;strong&gt;2 tags&lt;/strong&gt; of the &lt;strong&gt;SimpleApp program&lt;/strong&gt; in the editor window of Eclipse. The &lt;strong&gt;first tag&lt;/strong&gt; has the &lt;strong&gt;class empty&lt;/strong&gt;, and the&lt;strong&gt; second tag&lt;/strong&gt; has the &lt;strong&gt;complete code&lt;/strong&gt; of the &lt;strong&gt;SimpleApp&lt;/strong&gt; program.&lt;br /&gt;22.- &lt;strong&gt;Copy and paste&lt;/strong&gt; the &lt;strong&gt;SimpleApp&lt;/strong&gt; program code of the &lt;strong&gt;second tag&lt;/strong&gt; in the &lt;strong&gt;first tag&lt;/strong&gt; of the &lt;strong&gt;Eclipse editor&lt;/strong&gt; considering the position of the class and the package. &lt;strong&gt;Close&lt;/strong&gt; the &lt;strong&gt;second tag&lt;/strong&gt;.&lt;br /&gt;23.- Select &lt;strong&gt;SimpleApp&lt;/strong&gt; class in &lt;strong&gt;Types view&lt;/strong&gt; of Eclipse and click on &lt;strong&gt;Run icon&lt;/strong&gt; of Eclipse to run the &lt;strong&gt;SimpleApp&lt;/strong&gt; application and we have a new &lt;strong&gt;run window&lt;/strong&gt;.&lt;br /&gt;24.- Select &lt;strong&gt;Java Application&lt;/strong&gt; as configuration and click &lt;strong&gt;New button&lt;/strong&gt;. We have a new window with the &lt;strong&gt;project name&lt;/strong&gt; (Test_1) and the &lt;strong&gt;main class&lt;/strong&gt; (SimpleApp.)&lt;br /&gt;25.- Click on &lt;strong&gt;Run button&lt;/strong&gt;. We have a new &lt;strong&gt;Save Resources&lt;/strong&gt; window with a checkbox selected to the resources to save. Click on &lt;strong&gt;OK&lt;/strong&gt; button.&lt;br /&gt;26.- There is a new &lt;strong&gt;Launching&lt;/strong&gt; windows momentarily but it disappears.&lt;br /&gt;27.- Click on &lt;strong&gt;Maximize&lt;/strong&gt; icon of &lt;strong&gt;Console&lt;/strong&gt; window of &lt;strong&gt;Eclipse&lt;/strong&gt; to see the &lt;strong&gt;messages&lt;/strong&gt; when the program &lt;strong&gt;SimpleApp&lt;/strong&gt; is running.&lt;br /&gt;28.- The application runs &lt;strong&gt;OK &lt;/strong&gt;and we have the &lt;strong&gt;next messages&lt;/strong&gt; in the &lt;strong&gt;Console&lt;/strong&gt; of Eclipse.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #009900;"&gt;SimpleApp starting in embedded mode.&lt;br /&gt;Loaded the appropriate driver.&lt;br /&gt;Connected to and created database derbyDB&lt;br /&gt;Created table derbyDB&lt;br /&gt;Inserted 1956 Webster&lt;br /&gt;Inserted 1910 Union&lt;br /&gt;Updated 1956 Webster to 180 Grand&lt;br /&gt;Updated 180 Grand to 300 Lakeshore&lt;br /&gt;Verified the rows&lt;br /&gt;Dropped table derbyDB&lt;br /&gt;Closed result set and statement&lt;br /&gt;Committed transaction and closed connection&lt;br /&gt;Database shut down normally&lt;br /&gt;SimpleApp finished&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;29.- Now, we can see in &lt;span style="color: #990000;"&gt;C:\Documents and Settings\administrator\Test_Embedded\Test_1&lt;/span&gt;&lt;br /&gt;the &lt;strong&gt;derbyDB&lt;/strong&gt; database (one &lt;strong&gt;derbyDB&lt;/strong&gt; folder and one &lt;strong&gt;derby text file&lt;/strong&gt;.) The &lt;strong&gt;derbyDB&lt;/strong&gt; folder has 2 folders, &lt;strong&gt;log&lt;/strong&gt; and &lt;strong&gt;seg0,&lt;/strong&gt; and the &lt;strong&gt;service.properties&lt;/strong&gt; file.&lt;br /&gt;30.- Now, it is ready to &lt;strong&gt;modify&lt;/strong&gt; code lines or to &lt;strong&gt;add&lt;/strong&gt; more code lines, and to &lt;strong&gt;learn&lt;/strong&gt; more about &lt;strong&gt;embedded mode&lt;/strong&gt; of &lt;strong&gt;Cloudscape 10.1&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;3.2. Running an application in NetworkServer mode with Eclipse IDE.&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;Running the &lt;strong&gt;Network server sample demo program&lt;/strong&gt; to Cloudscape 10.1 in &lt;strong&gt;NetworkServer mode (localhost)&lt;/strong&gt;, with the &lt;strong&gt;Eclipse IDE&lt;/strong&gt;.&lt;br /&gt;There are 3 programs that really integrate the &lt;strong&gt;Network server sample demo program&lt;/strong&gt;, each one with specific tasks. The &lt;strong&gt;3 &lt;/strong&gt;programs are part of the &lt;strong&gt;nserverdemo package&lt;/strong&gt; and each program is a java class (&lt;strong&gt;NsSample&lt;/strong&gt;, &lt;strong&gt;NetworkServerUtil&lt;/strong&gt; and &lt;strong&gt;NsSampleClientThread&lt;/strong&gt;.)&lt;br /&gt;&lt;br /&gt;We need &lt;strong&gt;3 things&lt;/strong&gt; to run the application:&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;The &lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode – localhost)&lt;/strong&gt; virtual machine.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;Eclipse&lt;/strong&gt; with the &lt;strong&gt;Derby plug ins&lt;/strong&gt; installed (&lt;strong&gt;derby_core_plugin_10.1.1.zip&lt;/strong&gt; and &lt;strong&gt;derby_ui_plugun_1.1.0.zip&lt;/strong&gt;.)&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;An &lt;strong&gt;application&lt;/strong&gt; to &lt;strong&gt;NetworkServer mode&lt;/strong&gt; (localhost) of Cloudscape. &lt;strong&gt;The Network server sample demo program&lt;/strong&gt; that are &lt;strong&gt;3 programs&lt;/strong&gt;. The &lt;strong&gt;3 programs&lt;/strong&gt; are part of the &lt;strong&gt;nserverdemo package&lt;/strong&gt; and &lt;strong&gt;each program&lt;/strong&gt; is a &lt;strong&gt;java class&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div align="justify"&gt;1.- Start the &lt;strong&gt;VMware workstation 5.5&lt;/strong&gt; and click on &lt;strong&gt;Cloudscape folder&lt;/strong&gt; in the Favorites column.&lt;br /&gt;2.- Power on the &lt;strong&gt;Windows 2000 with Cloudscape (NetworkServer mode – localhost)&lt;/strong&gt; virtual machine.&lt;br /&gt;3.- Start &lt;strong&gt;Eclipse&lt;/strong&gt; with click on&lt;strong&gt; Eclipse icon&lt;/strong&gt;.&lt;br /&gt;4.- &lt;strong&gt;Eclipse&lt;/strong&gt; asks if you want to use the &lt;strong&gt;default workspace&lt;/strong&gt; that is:&lt;br /&gt;&lt;span style="color: #990000;"&gt;C:\Documents and Settings\administrator\workspace&lt;/span&gt;&lt;br /&gt;5.- I want a &lt;strong&gt;new workspace&lt;/strong&gt; named &lt;span style="color: #990000;"&gt;Test_Localhost&lt;/span&gt; under &lt;span style="color: #990000;"&gt;administrator&lt;/span&gt; folder, because I want to know the new folders and files created there.&lt;br /&gt;6.- With the &lt;strong&gt;Eclipse browser&lt;/strong&gt; I create the &lt;strong&gt;new workspace&lt;/strong&gt; named &lt;span style="color: #990000;"&gt;Test_Localhost&lt;/span&gt; in:&lt;br /&gt;&lt;span style="color: #990000;"&gt;C:\Documents and Settings\administrator\Test_Localhost&lt;/span&gt;&lt;br /&gt;7.- Select &lt;strong&gt;workspace&lt;/strong&gt; named &lt;span style="color: #990000;"&gt;Test_Localhost&lt;/span&gt; in our case and Click on &lt;strong&gt;OK button&lt;/strong&gt;.&lt;br /&gt;8.- At the moment, in &lt;span style="color: #990000;"&gt;Test_Localhost&lt;/span&gt; workspace of Eclipse, there is only a folder named &lt;span style="color: #990000;"&gt;.metadata.&lt;/span&gt;&lt;br /&gt;9.- &lt;strong&gt;Eclipse&lt;/strong&gt; displays the first screen with the &lt;strong&gt;Java perspective&lt;/strong&gt;. If you see a &lt;strong&gt;Welcome screen&lt;/strong&gt;, please close it.&lt;br /&gt;10.- We go to create a &lt;strong&gt;Eclipse project&lt;/strong&gt; with click on&lt;strong&gt; File&amp;gt;New&amp;gt;Project&lt;/strong&gt; and we have the &lt;strong&gt;new project wizard&lt;/strong&gt;, verify that it is &lt;strong&gt;Java Proje&lt;/strong&gt;ct and click on &lt;strong&gt;Next button&lt;/strong&gt;.&lt;br /&gt;11.- Type the &lt;strong&gt;project name&lt;/strong&gt; (in our case &lt;strong&gt;Test_2&lt;/strong&gt;) with all other default options and click &lt;strong&gt;Finish button&lt;/strong&gt;. Now we have in the &lt;strong&gt;Eclipse package explorer&lt;/strong&gt; the project &lt;strong&gt;Test_2&lt;/strong&gt;.&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt; Here, you can select the version of JDK (1.3, 1.4 or 5.) I selected 5 that is JDK 1.5 or J2SE 5.&lt;br /&gt;12.- Click on &lt;strong&gt;Package explorer&lt;/strong&gt; of &lt;strong&gt;Eclipse&lt;/strong&gt; with the&lt;strong&gt; right button&lt;/strong&gt; of the mouse and we have a new menu window. Select &lt;strong&gt;Apache Derby&amp;gt;Add Apache Derby nature&lt;/strong&gt;.&lt;br /&gt;13.- If you repeat the previous step, you can see &lt;strong&gt;5 options&lt;/strong&gt; to &lt;strong&gt;Apache Derby&lt;/strong&gt; and &lt;strong&gt;Eclipse&lt;/strong&gt; has the &lt;strong&gt;Apache Derby nature&lt;/strong&gt;.&lt;br /&gt;14.- Now, we go to create a &lt;strong&gt;package&lt;/strong&gt; to the &lt;strong&gt;Test_2 project&lt;/strong&gt;, in the next form.&lt;br /&gt;15.- Select the &lt;strong&gt;Eclipse Java Browsing perspective&lt;/strong&gt; and click &lt;strong&gt;File&amp;gt;New&amp;gt;package&lt;/strong&gt; and starts the &lt;strong&gt;Eclipse package wizard&lt;/strong&gt;. Type the &lt;strong&gt;package name&lt;/strong&gt; ( in our case &lt;strong&gt;nserverdemo&lt;/strong&gt;) and click &lt;strong&gt;Finish button&lt;/strong&gt;.&lt;br /&gt;16.- Now, we go to create a &lt;strong&gt;class&lt;/strong&gt; to the &lt;strong&gt;nserverdemo package&lt;/strong&gt; in the next form.&lt;br /&gt;17.- Select &lt;strong&gt;nserverdemo package&lt;/strong&gt; and click &lt;strong&gt;File&amp;gt;New&amp;gt;class&lt;/strong&gt; and start the &lt;strong&gt;Eclipse new java class wizard.&lt;br /&gt;&lt;/strong&gt;18.- Type the &lt;strong&gt;class name&lt;/strong&gt; (in our case there are 3 classes and we start with &lt;strong&gt;NsSample&lt;/strong&gt; class) with all other default options and click &lt;strong&gt;Finish button&lt;/strong&gt;. We start with the first program&lt;br /&gt;19.- Now, we see an &lt;strong&gt;editor&lt;/strong&gt; with the package name &lt;strong&gt;(nserverdemo&lt;/strong&gt;) and the public class name (&lt;strong&gt;NsSample&lt;/strong&gt;.) The public class is &lt;strong&gt;empty&lt;/strong&gt; and is necessary to add code.&lt;br /&gt;20.- Click on &lt;strong&gt;File&amp;gt;Open File…&lt;/strong&gt; and localize with the browser the &lt;strong&gt;NsSample.java&lt;/strong&gt; &lt;strong&gt;program&lt;/strong&gt; in the &lt;strong&gt;Cloudscape_10.1 folder&lt;/strong&gt; of the virtual machine and click &lt;strong&gt;Open button&lt;/strong&gt;.&lt;br /&gt;21.- Now there are &lt;strong&gt;2&lt;/strong&gt; tags of &lt;strong&gt;NsSample program&lt;/strong&gt; in the editor window of Eclipse. The &lt;strong&gt;first tag&lt;/strong&gt; has the &lt;strong&gt;class empty&lt;/strong&gt;, and the &lt;strong&gt;second tag&lt;/strong&gt; has the &lt;strong&gt;complete code&lt;/strong&gt; of the &lt;strong&gt;NsSample&lt;/strong&gt; program.&lt;br /&gt;22.- &lt;strong&gt;Copy and paste&lt;/strong&gt; the &lt;strong&gt;NsSample&lt;/strong&gt; program code of the &lt;strong&gt;second tag&lt;/strong&gt; in the &lt;strong&gt;first tag&lt;/strong&gt; of the &lt;strong&gt;Eclipse editor&lt;/strong&gt; considering the position of the class and the package. &lt;strong&gt;Close&lt;/strong&gt; the &lt;strong&gt;second tag&lt;/strong&gt;.&lt;br /&gt;23.- &lt;strong&gt;Repeat the steps 16 to 22&lt;/strong&gt;, but now to the other &lt;strong&gt;2&lt;/strong&gt; classes, &lt;strong&gt;NetworkServerUtil&lt;/strong&gt; and &lt;strong&gt;NsSampleClientThread&lt;/strong&gt;.&lt;br /&gt;24.- Now, we have 3 classes, &lt;strong&gt;NsSample&lt;/strong&gt;, &lt;strong&gt;NetworkServerUtil&lt;/strong&gt; and &lt;strong&gt;NsSampleClientThread&lt;/strong&gt; in the package &lt;strong&gt;nserverdemo&lt;/strong&gt;.&lt;br /&gt;25.- Select &lt;strong&gt;NsSample&lt;/strong&gt; class in &lt;strong&gt;Types view&lt;/strong&gt; of Eclipse and click on &lt;strong&gt;Run icon&lt;/strong&gt; of Eclipse to run the &lt;strong&gt;NsSample&lt;/strong&gt; class that is the &lt;strong&gt;entry point&lt;/strong&gt; to the application and we have a new &lt;strong&gt;run window&lt;/strong&gt;.&lt;br /&gt;26.- Select &lt;strong&gt;Java Application&lt;/strong&gt; as configuration and click &lt;strong&gt;New button&lt;/strong&gt;. We have a new window with the &lt;strong&gt;project name&lt;/strong&gt; (Test_2) and the &lt;strong&gt;main class&lt;/strong&gt; (NsSample.)&lt;br /&gt;27.- Click on &lt;strong&gt;Run button&lt;/strong&gt;. We have a new &lt;strong&gt;Save Resources&lt;/strong&gt; window with a checkbox selected to the resources to save. Click on &lt;strong&gt;OK button&lt;/strong&gt;.&lt;br /&gt;28.- There is a new &lt;strong&gt;Launching&lt;/strong&gt; windows momentarily but it disappear.&lt;br /&gt;29.- Click on &lt;strong&gt;Maximize&lt;/strong&gt; icon of &lt;strong&gt;Console&lt;/strong&gt; window of &lt;strong&gt;Eclipse&lt;/strong&gt; to see the &lt;strong&gt;messages&lt;/strong&gt; when the program &lt;strong&gt;NsSample&lt;/strong&gt; is running.&lt;br /&gt;30.- The application runs &lt;strong&gt;OK&lt;/strong&gt; and we have the &lt;strong&gt;next messages&lt;/strong&gt; in the &lt;strong&gt;Console&lt;/strong&gt; of Eclipse.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #009900;"&gt;Using JDBC driver: org.apache.derby.jdbc.ClientDriver&lt;br /&gt;Derby Network Server created&lt;br /&gt;El servidor está listo para aceptar conexiones en el puerto 1621.&lt;br /&gt;Número de conexión: 1.&lt;br /&gt;[NsSample] Derby Network Server started.&lt;br /&gt;[NsSample] Sample Derby Network Server program demo starting.&lt;br /&gt;Please wait .....................&lt;br /&gt;Número de conexión: 2.&lt;br /&gt;[NsSampleWork] Begin creating table - SAMPLETBL and necessary indexes.&lt;br /&gt;[NsSampleClientThread] Thread id - 1; started.&lt;br /&gt;[NsSampleWork] Thread id - 1; requests database connection, dbUrl =jdbc:derby:NSSampledb;&lt;br /&gt;[NsSampleClientThread] Thread id - 2; started.&lt;br /&gt;[NsSampleWork] Thread id - 2; requests database connection, dbUrl =jdbc:derby://localhost:1621/NSSampledb;create=true;&lt;br /&gt;Número de conexión: 3.&lt;br /&gt;[NsSampleWork] Thread id - 1; deleted 1 row with t_key = 9822&lt;br /&gt;[NsSampleWork] Thread id - 1 selected 1 row [691,Derby22 ,9.4391644E9,9712]&lt;br /&gt;[NsSampleWork] Thread id - 2; deleted 0 row with t_key = 9822&lt;br /&gt;[NsSampleWork] Thread id - 2; inserted 1 row.&lt;br /&gt;[NsSampleWork] Thread id - 1 selected 1 row [691,Derby22 ,9.4391644E9,9712]&lt;br /&gt;[NsSampleWork] Thread id - 1 selected 1 row [691,Derby22 ,9.4391644E9,9712]&lt;br /&gt;[NsSampleWork] Thread id - 2; updated 1 row with t_key = 9712&lt;br /&gt;[NsSampleWork] Thread id - 1; inserted 1 row.&lt;br /&gt;[NsSampleWork] Thread id - 2 selected 1 row [53,Derby22 ,9.4391644E9,9712]&lt;br /&gt;[NsSampleWork] Thread id - 1 selected 1 row [53,Derby22 ,9.4391644E9,9712]&lt;br /&gt;[NsSampleWork] Thread id - 1 selected 1 row [53,Derby22 ,9.4391644E9,9712]&lt;br /&gt;[NsSampleWork] Thread id - 2; updated 1 row with t_key = 9712&lt;br /&gt;[NsSampleWork] Thread id - 1; inserted 1 row.&lt;br /&gt;[NsSampleWork] Thread id - 1 selected 1 row [55,Derby22 ,9.4391644E9,9712]&lt;br /&gt;[NsSampleWork] Thread id - 2; inserted 1 row.&lt;br /&gt;[NsSampleWork] Thread id - 2; updated 1 row with t_key = 9712&lt;br /&gt;[NsSampleWork] Thread id - 1 selected 1 row [57,Derby22 ,9.4391644E9,9712]&lt;br /&gt;[NsSampleWork] Thread id - 1; closed connection to the database.&lt;br /&gt;[NsSampleWork] Thread id - 2 selected 1 row [57,Derby22 ,9.4391644E9,9712]&lt;br /&gt;[NsSampleWork] Thread id - 2 selected 1 row [57,Derby22 ,9.4391644E9,9712]&lt;br /&gt;[NsSampleWork] Thread id - 2; deleted 1 row with t_key = 9712&lt;br /&gt;[NsSampleWork] Thread id - 2; closed connection to the database.&lt;br /&gt;[NsSampleClientThread] Thread id - 2; finished all tasks.&lt;br /&gt;[NsSampleClientThread] Thread id - 1; finished all tasks.&lt;br /&gt;[NsSample] Shutting down network server.&lt;br /&gt;Número de conexión: 4.&lt;br /&gt;Conclusión satisfactoria.&lt;br /&gt;[NsSample] End of Network server demo.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;31.- Now, we can see in &lt;span style="color: #990000;"&gt;C:\Documents and Settings\administrator\Test_Localhost\Test_2&lt;br /&gt;&lt;/span&gt;the &lt;strong&gt;NSSampledb&lt;/strong&gt; database (one &lt;strong&gt;NSSampledb&lt;/strong&gt; folder and one &lt;strong&gt;derby text file&lt;/strong&gt;.) The &lt;strong&gt;NSSampledb&lt;/strong&gt; folder has the &lt;strong&gt;3&lt;/strong&gt; folders &lt;strong&gt;log&lt;/strong&gt;, &lt;strong&gt;seg0&lt;/strong&gt; and &lt;strong&gt;tmp,&lt;/strong&gt; and &lt;strong&gt;2&lt;/strong&gt; files, the &lt;strong&gt;db.lck&lt;/strong&gt; file and the &lt;strong&gt;service.properties&lt;/strong&gt; file.&lt;br /&gt;32.- Now it is ready to &lt;strong&gt;modify&lt;/strong&gt; code lines or to&lt;strong&gt; add&lt;/strong&gt; more code lines, and to &lt;strong&gt;learn&lt;/strong&gt; more about &lt;strong&gt;NetworkServer mode&lt;/strong&gt; of &lt;strong&gt;Cloudscape 10.1&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="color: #3333ff;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;span style="font-size: 180%;"&gt;&lt;strong&gt;&lt;em&gt;4. Running programs in NetworkServer mode with a VMware team.&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The Cloudscape 10.1 information says that, &lt;em&gt;if the network server is not on the computer that you are working on, you must use the -h option to specify the host name, ip address, or a value of 0.0.0.0 to listen on all interfaces. You should run under the Java security manager and enable user authentication before using this option.&lt;/em&gt;&lt;br /&gt;My &lt;strong&gt;objective&lt;/strong&gt; is to&lt;strong&gt; verify&lt;/strong&gt; how works &lt;strong&gt;Cloudscape 10.1 in NetworkServer mode&lt;/strong&gt; with &lt;strong&gt;different Java Virtual Machines&lt;/strong&gt;. By this reason, we will not use &lt;strong&gt;user authentication&lt;/strong&gt;, but this theme is extremely important by security. I am reading the article &lt;span style="color: #3333ff;"&gt;“Apache Derby security by Jean T. Anderson, Cloudscape community Architect”&lt;/span&gt;. The article has excellent examples and demos about this important topic.&lt;br /&gt;&lt;br /&gt;To finish the blog, I need the do the next:&lt;br /&gt;&lt;strong&gt;First&lt;/strong&gt;, checking that the Cloudscape client-server team, is a LAN segment (theme 4.1.)&lt;br /&gt;&lt;strong&gt;Second&lt;/strong&gt;, I have tested the NetworkServer mode of Cloudscape with different Java Virtual Machines, running processes in NetworkServer mode with Cloudscape 10.1 tools and scripts (theme 4.2.)&lt;br /&gt;&lt;strong&gt;Third&lt;/strong&gt;, running the SimpleNetworkServerSample and SimpleNetworkClientSample programs in one virtual machine (theme 4.3.)&lt;br /&gt;&lt;strong&gt;Fourth&lt;/strong&gt;, running programs in NetworkServer mode with a VMware team (theme 4.4.)&lt;br /&gt;&lt;strong&gt;Finally&lt;/strong&gt;, I will present the conclusions (theme 5.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;4.1. Checking that the Cloudscape client-server team, is a LAN segment.&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;I need to &lt;strong&gt;check&lt;/strong&gt; that the team named &lt;strong&gt;Cloudscape server-client&lt;/strong&gt; is working like a &lt;strong&gt;LAN&lt;/strong&gt; with &lt;strong&gt;2 &lt;/strong&gt;virtual machines.&lt;br /&gt;&lt;br /&gt;a) Click on &lt;strong&gt;VMware workstation 5.5&lt;/strong&gt; icon to start it.&lt;br /&gt;b) Click on &lt;strong&gt;Cloudscape folder&lt;/strong&gt; in Favorites column and we have &lt;strong&gt;3 icons&lt;/strong&gt;, please select the &lt;strong&gt;Cloudscape server-client&lt;/strong&gt; team (the team has 2 virtual machines, &lt;strong&gt;server&lt;/strong&gt; and &lt;strong&gt;client&lt;/strong&gt;.) We have the first screen of the team.&lt;br /&gt;c) In the &lt;strong&gt;Commands&lt;/strong&gt; area, power on the team with one click on &lt;strong&gt;start this team&lt;/strong&gt;.&lt;br /&gt;d) We have other screen of the team with &lt;strong&gt;2&lt;/strong&gt; areas. &lt;strong&gt;The smaller area&lt;/strong&gt; is on the top and it is a horizontal section with little screens of the virtual machines that are part of the team. In our case, we have 2 virtual machines in the team. Here you &lt;strong&gt;can select&lt;/strong&gt; with &lt;strong&gt;one click&lt;/strong&gt; each one of the virtual machines to work on it. &lt;strong&gt;The biggest area&lt;/strong&gt; is to a &lt;strong&gt;virtual machine&lt;/strong&gt; of the team who is selected on the top and you &lt;strong&gt;can work&lt;/strong&gt; on it.&lt;br /&gt;e) Each virtual machine of the team, &lt;strong&gt;turns on&lt;/strong&gt; and &lt;strong&gt;starts&lt;/strong&gt; the &lt;strong&gt;guest operating system&lt;/strong&gt; in each one (in may case Windows 2000 but it can be other.) You need to &lt;strong&gt;type&lt;/strong&gt; the &lt;strong&gt;password&lt;/strong&gt; that you have assigned to each one, to work with the team. The &lt;strong&gt;process takes&lt;/strong&gt; between &lt;strong&gt;5 and 10 minutes&lt;/strong&gt; depending of the microprocessor speed and amount of memory of your host machine.&lt;br /&gt;f) Now, we go to verify that the team is a &lt;strong&gt;LAN&lt;/strong&gt; segment.&lt;br /&gt;g) In the &lt;strong&gt;smaller area&lt;/strong&gt; of the screen, select with &lt;strong&gt;one click the Windows 2000 with Cloudscape (NetworkServer mode – server)&lt;/strong&gt; virtual machine.&lt;br /&gt;h) In the &lt;strong&gt;biggest area&lt;/strong&gt; of the screen, now we &lt;strong&gt;can work&lt;/strong&gt; with the &lt;strong&gt;server virtual machine&lt;/strong&gt; to verify the &lt;strong&gt;LAN&lt;/strong&gt; segment. You can use the &lt;strong&gt;Full Screen&lt;/strong&gt; or &lt;strong&gt;Quick Switch&lt;/strong&gt; options to work friendlier. These options were explained at the beginning of this last week session.&lt;br /&gt;i) In the &lt;strong&gt;desktop&lt;/strong&gt; of the &lt;strong&gt;server virtual machine,&lt;/strong&gt; click on &lt;strong&gt;My network sites&lt;/strong&gt; icon of Windows 2000 desktop, and we have a new window.&lt;br /&gt;j) Click on &lt;strong&gt;The whole network&lt;/strong&gt; icon, and we have a new window.&lt;br /&gt;k) Click on &lt;strong&gt;complete content&lt;/strong&gt; link, and we have a new window with two icons.&lt;br /&gt;l) Click on &lt;strong&gt;Microsoft Windows Network&lt;/strong&gt; icon, and we have a new window.&lt;br /&gt;m) Click on &lt;strong&gt;Manufacture&lt;/strong&gt; icon, and we have a new window.&lt;br /&gt;n) We have &lt;strong&gt;PC3 &lt;/strong&gt;and &lt;strong&gt;PC4&lt;/strong&gt; icons and it fact verifies that they are the equipments of our LAN segment. &lt;strong&gt;Note&lt;/strong&gt;: PC3 is the server virtual machine and PC4 is the client virtual machine.&lt;br /&gt;o) Please, &lt;strong&gt;repeat the previous 9 steps&lt;/strong&gt; to the &lt;strong&gt;client virtual machine&lt;/strong&gt; (PC4) to verify that the &lt;strong&gt;client virtual machine&lt;/strong&gt; is part of the &lt;strong&gt;Manufacture workgroup&lt;/strong&gt; in our &lt;strong&gt;LAN segment&lt;/strong&gt;.&lt;br /&gt;p) Finally, &lt;strong&gt;we have verified&lt;/strong&gt; that PC3 (&lt;strong&gt;server virtual machine&lt;/strong&gt;) and PC4 (&lt;strong&gt;client virtual machine&lt;/strong&gt;) are part of the &lt;strong&gt;Manufacture workgroup&lt;/strong&gt; in our &lt;strong&gt;LAN segment&lt;/strong&gt;. It is important, because if we do not have a LAN, we cannot do the next two activities.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;4.2. Running processes in NetworkServer mode with a VMware team and Cloudscape 10.1 tools and scripts.&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;I need to &lt;strong&gt;verify &lt;/strong&gt;how works Cloudscape 10.1 in &lt;strong&gt;NetworkServer mode&lt;/strong&gt; with &lt;strong&gt;different Java Virtual Machines&lt;/strong&gt;. By the previous reasons, I go to use the &lt;strong&gt;ij&lt;/strong&gt; and &lt;strong&gt;sysinfo&lt;/strong&gt; tools, and the &lt;strong&gt;scripts&lt;/strong&gt; of Cloudscape 10.1 to verify Cloudscape NetworkServer mode, starting the &lt;strong&gt;Derby Network Server&lt;/strong&gt; and using &lt;strong&gt;IP addresses&lt;/strong&gt; or &lt;strong&gt;host names&lt;/strong&gt; (I will use host names.)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4.2.1. Starting the Derby Network Server in the server virtual machine (PC3) of the team with the startNetworkServer script.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;We need 2 things to start this activity:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;Power on&lt;/strong&gt; the team &lt;strong&gt;Cloudscape server-client&lt;/strong&gt; and &lt;strong&gt;turn&lt;/strong&gt; on both, &lt;strong&gt;the server virtual machine (PC3)&lt;/strong&gt; and &lt;strong&gt;the client virtual machine (PC4.)&lt;/strong&gt; Please &lt;strong&gt;select&lt;/strong&gt; the &lt;strong&gt;server virtual machine (PC3)&lt;/strong&gt; to work on it.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;In the &lt;strong&gt;server virtual machine (PC3)&lt;/strong&gt; we have the files &lt;strong&gt;deby.jar&lt;/strong&gt; and &lt;strong&gt;derbynet.jar&lt;/strong&gt; in the &lt;strong&gt;classpath&lt;/strong&gt;. Please, &lt;strong&gt;add derbytools.jar&lt;/strong&gt; in the &lt;strong&gt;classpath&lt;/strong&gt; because we need to use the &lt;strong&gt;sysinfo tool&lt;/strong&gt; and the &lt;strong&gt;scripts&lt;/strong&gt; of Cloudscape 10.1.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div align="justify"&gt;1.- Open a MS-DOS windows in the server virtual machine.&lt;br /&gt;2.- Type the next to start the Derby Network Server in the PC3 machine and listening in the port 1368:&lt;br /&gt;&lt;span style="color: #009900;"&gt;C:\&amp;gt;java org.apache.derby.drda.NetworkServerControl start -h PC3 -p 1368&lt;br /&gt;&lt;/span&gt;The command generates the next answer:&lt;br /&gt;&lt;span style="color: #009900;"&gt;The server is ready to accept connections in port 1368.&lt;br /&gt;&lt;/span&gt;In this window you cannot write more commands because the Derby Network Server is running.&lt;br /&gt;3.- Open other MS-DOS Window in the server virtual machine and type the next to know information to Java environment and Derby Network Server.&lt;br /&gt;&lt;span style="color: #009900;"&gt;C:\&amp;gt;java org.apache.derby.drda.NetworkServerControl sysinfo -h PC3 -p 1368&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;This is the screen when I typed the previous command in my computer:&lt;br /&gt;&lt;span style="color: #009900;"&gt;C:\&amp;gt;java org.apache.derby.drda.NetworkServerControl sysinfo -h PC3 -p 1368&lt;br /&gt;--------- Informaci¾n de Derby Network Server --------&lt;br /&gt;Versi¾n: CSS10011/10.1.2.1 Build: 330608 ID del producto DRDA: CSS10011&lt;br /&gt;-- listing properties --&lt;br /&gt;derby.drda.maxThreads=0&lt;br /&gt;derby.drda.keepAlive=true&lt;br /&gt;derby.drda.minThreads=0&lt;br /&gt;derby.drda.portNumber=1368&lt;br /&gt;derby.drda.logConnections=false&lt;br /&gt;derby.drda.timeSlice=0&lt;br /&gt;derby.drda.startNetworkServer=false&lt;br /&gt;derby.drda.host=PC3&lt;br /&gt;derby.drda.traceAll=false&lt;br /&gt;------------------ Java Information ------------------&lt;br /&gt;Java Version: 1.5.0_05&lt;br /&gt;Java Vendor: Sun Microsystems Inc.&lt;br /&gt;Java home: C:\Archivos de programa\Java\jre1.5.0_05&lt;br /&gt;Java classpath: .;C:\Archivos de programa\Java\jdk1.5.0_05\lib\tools.jar;C:\Arc&lt;br /&gt;hivos de programa\Java\jdk1.5.0_05\lib\dt.jar;C:\Archivos de programa\IBM\Clouds&lt;br /&gt;cape_10.1\lib\derby.jar;C:\Archivos de programa\IBM\Cloudscape_10.1\lib\derbynet&lt;br /&gt;.jar;C:\Archivos de programa\IBM\Cloudscape_10.1\lib\derbytools.jar&lt;br /&gt;OS name: Windows 2000&lt;br /&gt;OS architecture: x86&lt;br /&gt;OS version: 5.0&lt;br /&gt;Java user name: Administrador&lt;br /&gt;Java user home: C:\Documents and Settings\Administrador&lt;br /&gt;Java user dir: C:java.specification.name: Java Platform API Specification&lt;br /&gt;java.specification.version: 1.5&lt;br /&gt;--------- Derby Information --------&lt;br /&gt;JRE - JDBC: J2SE 5.0 - JDBC 3.0&lt;br /&gt;[C:\Archivos de programa\IBM\Cloudscape_10.1\lib\derby.jar] 10.1.2.1 - (330608)&lt;br /&gt;[C:\Archivos de programa\IBM\Cloudscape_10.1\lib\derbynet.jar] 10.1.2.1 - (33060&lt;br /&gt;8)&lt;br /&gt;[C:\Archivos de programa\IBM\Cloudscape_10.1\lib\derbytools.jar] 10.1.2.1 - (330&lt;br /&gt;608)&lt;br /&gt;------------------------------------------------------&lt;br /&gt;----------------- Locale Information -----------------&lt;br /&gt;------------------------------------------------------&lt;br /&gt;C:\&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;4.- Remember, the previous 3 steps are realized in the &lt;strong&gt;server virtual machine&lt;/strong&gt;. Now, we have the &lt;strong&gt;Derby Network Server&lt;/strong&gt; running in &lt;strong&gt;PC3 host&lt;/strong&gt; and listening in &lt;strong&gt;port 1368&lt;/strong&gt; of a &lt;strong&gt;LAN segment&lt;/strong&gt;. The&lt;strong&gt; Derby Network Server&lt;/strong&gt; is ready to &lt;strong&gt;attend requests&lt;/strong&gt; of the &lt;strong&gt;clients&lt;/strong&gt; of other &lt;strong&gt;Java virtual machines&lt;/strong&gt;. &lt;strong&gt;Note&lt;/strong&gt;: When you finish this activity, please go to the sub theme 4.2.2 and ends it, because you need running the Derby Network Server. When you finish the sub theme 4.2.2, returns to the next 5 step because you need to shut down the Derby Network Server&lt;br /&gt;5.- When you close the client connections, you must &lt;strong&gt;shut down&lt;/strong&gt; the &lt;strong&gt;Derby Network Server&lt;/strong&gt; with the next command:&lt;br /&gt;&lt;span style="color: #009900;"&gt;C:\&amp;gt;java org.apache.derby.drda.NetworkServerControl shutdown -h PC3 -p 1368&lt;br /&gt;Conclusi¾n satisfactoria.&lt;br /&gt;C:\&amp;gt;&lt;br /&gt;&lt;/span&gt;Note: This step is the last step when you end the transactions of the clients. It is important because if you do not shut down the Derby Network Server, the port can be blockaded in the server virtual machine.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4.2.2. Making client transactions with the ij tool in the client virtual machine (PC4) of the team.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;We need 2 things to start this activity:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Select the &lt;strong&gt;client virtual machine (PC4)&lt;/strong&gt; of the team, to work on it.&lt;/li&gt;&lt;li&gt;Verify that the &lt;strong&gt;client virtual machine (PC4)&lt;/strong&gt; has the files &lt;strong&gt;derbytools.jar&lt;/strong&gt;, &lt;strong&gt;derbyclient.jar&lt;/strong&gt;, &lt;strong&gt;db2jcc.jar&lt;/strong&gt;, and &lt;strong&gt;db2jcc_license_c.jar&lt;/strong&gt; in the &lt;strong&gt;classpath&lt;/strong&gt;. We need to use the &lt;strong&gt;ij tool&lt;/strong&gt; of Cloudscape 10.1.&lt;/li&gt;&lt;/ul&gt;&lt;div align="justify"&gt;1.- Open a MS-DOS windows in the client virtual machine and type the next to start the ij tool:&lt;br /&gt;&lt;span style="color: #009900;"&gt;C:\&amp;gt;java org.apache.derby.tools.ij&lt;br /&gt;&lt;/span&gt;The command generates the next answer:&lt;br /&gt;&lt;span style="color: #009900;"&gt;ij version 10.1&lt;br /&gt;ij&amp;gt;&lt;br /&gt;&lt;/span&gt;2.- I have typed commands to load the client driver, connect and create &lt;strong&gt;2 databases&lt;/strong&gt;. The &lt;strong&gt;mybase1&lt;/strong&gt; database is in root &lt;span style="color: #990000;"&gt;C:\&lt;/span&gt; of the server virtual machine and the &lt;strong&gt;mybase2&lt;/strong&gt; database is in the folder &lt;span style="color: #990000;"&gt;C:\ DBases_sercli\&lt;/span&gt; of the server virtual machine. Each database has a table (menu1 and manu2) that were created with ij commands (&lt;strong&gt;CREATE TABLE&lt;/strong&gt; and &lt;strong&gt;INSERT INTO&lt;/strong&gt;.) I used the &lt;strong&gt;SELECT&lt;/strong&gt; command to verify the 2 tables were created. I closed the connections in the client virtual machine and after I shut down the Derby network Server in the server virtual machine.&lt;br /&gt;&lt;br /&gt;This activity was in the &lt;strong&gt;client virtual machine&lt;/strong&gt; and this is the screen whit the ij commands that I typed in my computer:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #009900;"&gt;C:\&amp;gt;java org.apache.derby.tools.ij&lt;br /&gt;ij version 10.1&lt;br /&gt;ij&amp;gt; driver 'org.apache.derby.jdbc.ClientDriver';&lt;br /&gt;ij&amp;gt; show connections;&lt;br /&gt;No connections available.&lt;br /&gt;ij&amp;gt; connect 'jdbc:derby://PC3:1368/mybase1;create=true';&lt;br /&gt;ij&amp;gt; show connections;&lt;br /&gt;CONNECTION0* - jdbc:derby://PC3:1368/mybase1;create=true&lt;br /&gt;* = current connection&lt;br /&gt;ij&amp;gt; connect 'jdbc:derby://PC3:1368/C:\DBases_sercli\mybase2;create=true';&lt;br /&gt;ij(CONNECTION1)&amp;gt; show connections;&lt;br /&gt;CONNECTION0 - jdbc:derby://PC3:1368/mybase1;create=true&lt;br /&gt;CONNECTION1* - jdbc:derby://PC3:1368/C:\DBases_sercli\mybase2;create=true&lt;br /&gt;* = current connection&lt;br /&gt;ij(CONNECTION1)&amp;gt; set connection connection0;&lt;br /&gt;ij(CONNECTION0)&amp;gt; autocommit off;&lt;br /&gt;ij(CONNECTION0)&amp;gt; CREATE TABLE menu1 (course CHAR(10), item CHAR(20), price INT);&lt;br /&gt;&lt;br /&gt;0 rows inserted/updated/deleted&lt;br /&gt;ij(CONNECTION0)&amp;gt; INSERT INTO menu1 VALUES ('entree', 'lamb chop', 14),&lt;br /&gt;('dessert', 'creme brulee', 6),&lt;br /&gt;('appetizer', 'baby greens', 7);&lt;br /&gt;3 rows inserted/updated/deleted&lt;br /&gt;ij(CONNECTION0)&amp;gt; SELECT * FROM menu1;&lt;br /&gt;COURSE ITEM PRICE&lt;br /&gt;-------------------------------------------&lt;br /&gt;entree lamb chop 14&lt;br /&gt;dessert creme brulee 6&lt;br /&gt;appetizer baby greens 7&lt;br /&gt;&lt;br /&gt;3 rows selected&lt;br /&gt;ij(CONNECTION0)&amp;gt; commit;&lt;br /&gt;ij(CONNECTION0)&amp;gt; autocommit on;&lt;br /&gt;ij(CONNECTION0)&amp;gt; set connection connection1;&lt;br /&gt;ij(CONNECTION1)&amp;gt; autocommit off;&lt;br /&gt;ij(CONNECTION1)&amp;gt; CREATE TABLE menu2 (course CHAR(10), item CHAR(20), price INT);&lt;br /&gt;&lt;br /&gt;0 rows inserted/updated/deleted&lt;br /&gt;ij(CONNECTION1)&amp;gt; INSERT INTO menu2 VALUES ('entree', 'lamb chop', 14),&lt;br /&gt;('dessert', 'creme brulee', 6),&lt;br /&gt;('appetizer', 'baby greens', 7);&lt;br /&gt;3 rows inserted/updated/deleted&lt;br /&gt;ij(CONNECTION1)&amp;gt; SELECT * FROM menu2;&lt;br /&gt;COURSE ITEM PRICE&lt;br /&gt;-------------------------------------------&lt;br /&gt;entree lamb chop 14&lt;br /&gt;dessert creme brulee 6&lt;br /&gt;appetizer baby greens 7&lt;br /&gt;&lt;br /&gt;3 rows selected&lt;br /&gt;ij(CONNECTION1)&amp;gt; commit;&lt;br /&gt;ij(CONNECTION1)&amp;gt; autocommit on;&lt;br /&gt;ij(CONNECTION1)&amp;gt; show connections;&lt;br /&gt;CONNECTION0 - jdbc:derby://PC3:1368/mybase1;create=true&lt;br /&gt;CONNECTION1* - jdbc:derby://PC3:1368/C:\DBases_sercli\mybase2;create=true&lt;br /&gt;* = current connection&lt;br /&gt;ij(CONNECTION1)&amp;gt; disconnect all;&lt;br /&gt;ij&amp;gt; show connections;&lt;br /&gt;No connections available.&lt;br /&gt;ij&amp;gt; exit;&lt;br /&gt;C:\&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;3.- Remember, the &lt;strong&gt;2 previous steps&lt;/strong&gt; are realized in the &lt;strong&gt;client virtual machine&lt;/strong&gt; of the team but these transactions &lt;strong&gt;have affected&lt;/strong&gt; the &lt;strong&gt;server virtual machine&lt;/strong&gt; of the team and now, we have&lt;strong&gt; 2 new databases&lt;/strong&gt; (mybase1 and mybase2) in the server machine where is installed the &lt;strong&gt;Derby Network server&lt;/strong&gt;.&lt;br /&gt;Also, we have verified that the &lt;strong&gt;Derby Network Server&lt;/strong&gt; is running in &lt;strong&gt;PC3 host&lt;/strong&gt; and it is listening in &lt;strong&gt;port 1368&lt;/strong&gt; to &lt;strong&gt;attend request&lt;/strong&gt; of the &lt;strong&gt;clients&lt;/strong&gt; of other &lt;strong&gt;Java virtual machines&lt;/strong&gt; of a &lt;strong&gt;LAN segment&lt;/strong&gt;.&lt;br /&gt;4.- Now you need to &lt;strong&gt;shut down&lt;/strong&gt; the &lt;strong&gt;Derby Network Server&lt;/strong&gt; in the &lt;strong&gt;server virtual machine&lt;/strong&gt;. Please, return to the &lt;strong&gt;step 5 of the 4.2.1 sub theme&lt;/strong&gt; and read the instruction to &lt;strong&gt;shut down&lt;/strong&gt; the &lt;strong&gt;Derby Network Server&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;4.3. Running the SimpleNetworkServerSample and SimpleNetworkClientSample programs in one virtual machine.&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;We need 2 things to start this activity:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div align="justify"&gt;&lt;strong&gt;One machine&lt;/strong&gt; (can be any of our 4 virtual machine.) &lt;strong&gt;Power on&lt;/strong&gt; the &lt;strong&gt;virtual machine&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;The &lt;strong&gt;SimpleNetworkServerSample&lt;/strong&gt; and &lt;strong&gt;SimpleNetworkClientSample&lt;/strong&gt; programs, and the document &lt;strong&gt;simpleserversample.html&lt;/strong&gt; that explains clearly how to run the 2 programs in one machine to localhost listening in port 1527. The programs and the document are in &lt;span style="color: #990000;"&gt;C:\Program files\IBM\Cloudscape_10.1\demo\programs.&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: #990000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="color: #990000;"&gt;I ran the 2 programs and I had the next results:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;First Window:&lt;br /&gt;&lt;/strong&gt;The first MS-DOS window is to run the &lt;strong&gt;SimpleNetworkServerSample&lt;/strong&gt; program. Here the &lt;strong&gt;Derby Network Server&lt;/strong&gt; is ready to attend client requests in localhost with port 1527.&lt;br /&gt;This is the screen that I typed in my computer.&lt;br /&gt;&lt;span style="color: #009900;"&gt;C:\Archivos de programa\IBM\Cloudscape_10.1\demo\programs\nserverdemo&amp;gt;java Simpl&lt;br /&gt;eNetworkServerSample&lt;br /&gt;Starting Network Server&lt;br /&gt;Testing if Network Server is up and running!&lt;br /&gt;Derby Network Server now running&lt;br /&gt;Got an embedded connection.&lt;br /&gt;Testing embedded connection by executing a sample query&lt;br /&gt;number of rows in sys.systables = 16&lt;br /&gt;While my app is busy with embedded work, ij might connect like this:&lt;br /&gt;$ java -Dij.user=me -Dij.password=pw -Dij.protocol=jdbc:derby://localhos&lt;br /&gt;t:1527/ org.apache.derby.tools.ij&lt;br /&gt;ij&amp;gt; connect 'NSSimpleDB';&lt;br /&gt;Clients can continue to connect:&lt;br /&gt;Press [Enter] to stop Server&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Second window:&lt;br /&gt;&lt;/strong&gt;The second MS-DOS window is to run the &lt;strong&gt;SimpleNetworkClientSample&lt;/strong&gt; program. Here the &lt;strong&gt;clients&lt;/strong&gt; request attention to make &lt;strong&gt;transactions&lt;/strong&gt; with the &lt;strong&gt;Derby Network Server&lt;/strong&gt; in localhost with port 1527. Here is the screen.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #009900;"&gt;C:\Archivos de programa\IBM\Cloudscape_10.1\demo\programs\nserverdemo&amp;gt;java Simpl&lt;br /&gt;eNetworkClientSample derbyClient&lt;br /&gt;Starting Sample client program&lt;br /&gt;Got a client connection via the DriverManager.&lt;br /&gt;connection from datasource; getDriverName = Apache Derby Network Client JDBC Dri&lt;br /&gt;ver&lt;br /&gt;Got a client connection via a DataSource.&lt;br /&gt;Testing the connection obtained via DriverManager by executing a sample query&lt;br /&gt;number of rows in sys.systables = 16&lt;br /&gt;Testing the connection obtained via a DataSource by executing a sample query&lt;br /&gt;number of rows in sys.systables = 16&lt;br /&gt;Goodbye!&lt;br /&gt;C:\Archivos de programa\IBM\Cloudscape_10.1\demo\programs\nserverdemo&amp;gt;start ij&lt;br /&gt;C:\Archivos de programa\IBM\Cloudscape_10.1\demo\programs\nserverdemo&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Considering that the &lt;strong&gt;Derby Network Server&lt;/strong&gt; is running yet, I opened other window to start &lt;strong&gt;ij&lt;/strong&gt; tool because I want to &lt;strong&gt;connect&lt;/strong&gt; with the &lt;strong&gt;NSSimpleDB&lt;/strong&gt; database created when we ran the &lt;strong&gt;SimpleNetworkServerSample&lt;/strong&gt; program. Here is the screen.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #009900;"&gt;ij version 10.1&lt;br /&gt;ij&amp;gt; show connections;&lt;br /&gt;No connections available.&lt;br /&gt;ij&amp;gt; connect 'jdbc:derby://localhost:1527/NSSimpleDB';&lt;br /&gt;ij&amp;gt; show connections;&lt;br /&gt;CONNECTION0* - jdbc:derby://localhost:1527/NSSimpleDB&lt;br /&gt;* = current connection&lt;br /&gt;ij&amp;gt; SELECT * FROM sys.systables;&lt;br /&gt;TABLEID TABLENAME&lt;br /&gt;&lt;br /&gt;&amp;amp;SCHEMAID &amp;amp;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;80000010-00d0-fd77-3ed8-000a0a0b1900SYSCONGLOMERATES&lt;br /&gt;&lt;br /&gt;S8000000d-00d0-fd77-3ed8-000a0a0b1900R&lt;br /&gt;80000018-00d0-fd77-3ed8-000a0a0b1900SYSTABLES&lt;br /&gt;&lt;br /&gt;S8000000d-00d0-fd77-3ed8-000a0a0b1900R&lt;br /&gt;8000001e-00d0-fd77-3ed8-000a0a0b1900SYSCOLUMNS&lt;br /&gt;&lt;br /&gt;S8000000d-00d0-fd77-3ed8-000a0a0b1900R&lt;br /&gt;80000022-00d0-fd77-3ed8-000a0a0b1900SYSSCHEMAS&lt;br /&gt;&lt;br /&gt;S8000000d-00d0-fd77-3ed8-000a0a0b1900R&lt;br /&gt;8000002f-00d0-fd77-3ed8-000a0a0b1900SYSCONSTRAINTS&lt;br /&gt;&lt;br /&gt;S8000000d-00d0-fd77-3ed8-000a0a0b1900R&lt;br /&gt;80000039-00d0-fd77-3ed8-000a0a0b1900SYSKEYS&lt;br /&gt;&lt;br /&gt;S8000000d-00d0-fd77-3ed8-000a0a0b1900R&lt;br /&gt;8000003e-00d0-fd77-3ed8-000a0a0b1900SYSDEPENDS&lt;br /&gt;&lt;br /&gt;S8000000d-00d0-fd77-3ed8-000a0a0b1900R&lt;br /&gt;c013800d-00d7-ddbd-08ce-000a0a411400SYSALIASES&lt;br /&gt;&lt;br /&gt;S8000000d-00d0-fd77-3ed8-000a0a0b1900R&lt;br /&gt;8000004d-00d0-fd77-3ed8-000a0a0b1900SYSVIEWS&lt;br /&gt;&lt;br /&gt;S8000000d-00d0-fd77-3ed8-000a0a0b1900R&lt;br /&gt;80000056-00d0-fd77-3ed8-000a0a0b1900SYSCHECKS&lt;br /&gt;&lt;br /&gt;S8000000d-00d0-fd77-3ed8-000a0a0b1900R&lt;br /&gt;8000005b-00d0-fd77-3ed8-000a0a0b1900SYSFOREIGNKEYS&lt;br /&gt;&lt;br /&gt;S8000000d-00d0-fd77-3ed8-000a0a0b1900R&lt;br /&gt;80000000-00d1-15f7-ab70-000a0a0b1500SYSSTATEMENTS&lt;br /&gt;&lt;br /&gt;S8000000d-00d0-fd77-3ed8-000a0a0b1900R&lt;br /&gt;80000000-00d3-e222-873f-000a0a0b1900SYSFILES&lt;br /&gt;&lt;br /&gt;S8000000d-00d0-fd77-3ed8-000a0a0b1900R&lt;br /&gt;c013800d-00d7-c025-4809-000a0a411200SYSTRIGGERS&lt;br /&gt;&lt;br /&gt;S8000000d-00d0-fd77-3ed8-000a0a0b1900R&lt;br /&gt;f81e0010-00e3-6612-5a96-009e3a3b5e00SYSSTATISTICS&lt;br /&gt;&lt;br /&gt;S8000000d-00d0-fd77-3ed8-000a0a0b1900R&lt;br /&gt;c013800d-00f8-5b70-bea3-00000019ed88SYSDUMMY1&lt;br /&gt;&lt;br /&gt;Sc013800d-00f8-5b53-28a9-00000019ed88R&lt;br /&gt;&lt;br /&gt;16 rows selected&lt;br /&gt;ij&amp;gt; disconnect all;&lt;br /&gt;ij&amp;gt; connect 'jdbc:derby://localhost:1527/NSSimpleDB';&lt;br /&gt;ERROR (no SQLState): java.security.PrivilegedActionException : Error opening soc&lt;br /&gt;ket to server localhost on port 1527 with message : null&lt;br /&gt;ij&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Here, I had an &lt;strong&gt;error&lt;/strong&gt; but it was because when I disconnected all connections, I went to the first window and I shut down the Derby network server with click on Enter key. After, I returned to the second window and I wanted to connect with the NSSimpleDB database but the &lt;strong&gt;error opening socket to server&lt;/strong&gt; was because the &lt;strong&gt;Derby Network Server&lt;/strong&gt; was &lt;strong&gt;shut down&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;4.4. Running programs in NetworkServer mode with a VMware team.&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;We have a &lt;strong&gt;VMware team&lt;/strong&gt; named &lt;strong&gt;Cloudscape server-client&lt;/strong&gt; working like a &lt;strong&gt;LAN&lt;/strong&gt; with &lt;strong&gt;2 virtual machines&lt;/strong&gt;, the &lt;strong&gt;server&lt;/strong&gt; virtual machine &lt;strong&gt;(PC3)&lt;/strong&gt; and the &lt;strong&gt;client&lt;/strong&gt; virtual machine &lt;strong&gt;(PC4.)&lt;br /&gt;&lt;/strong&gt;Each virtual machine of the team has installed and configured &lt;strong&gt;Cloudscape 10.1&lt;/strong&gt; and &lt;strong&gt;Eclipse IDE&lt;/strong&gt; with Derby nature.&lt;br /&gt;&lt;br /&gt;To run the programs &lt;strong&gt;SimpleNetworkServerSample&lt;/strong&gt; and &lt;strong&gt;SimpleNetworkClientSample&lt;/strong&gt; with our &lt;strong&gt;VMware team&lt;/strong&gt; (Cloudscape server-client), we need to &lt;strong&gt;modify some code lines&lt;/strong&gt; of the programs because they are designed to run with localhost and port 1527. Please, modify the programs with &lt;strong&gt;Eclipse IDE&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;SimpleNetworkServerSample&lt;/strong&gt; program is designed to run the &lt;strong&gt;Derby Network Server&lt;/strong&gt; in the host name=localhost and port number=1527. You must modify some code lines because we want that the &lt;strong&gt;Derby Network Server&lt;/strong&gt; starts with host name=PC3 and port number=1368.&lt;br /&gt;&lt;strong&gt;Note&lt;/strong&gt;: The host name is PC3 because it is the name of the server virtual machine in the LAN of our VMware team (Cloudscape server-client). The port name can be any, but it must be the same in the server virtual machine application and the client virtual machines application. Also, the &lt;strong&gt;SimpleNetworkServerSample&lt;/strong&gt; program runs in the server virtual machine (PC3) of our VMware team.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;SimpleNetworkClientSample&lt;/strong&gt; program is designed to run &lt;strong&gt;clients&lt;/strong&gt; requesting attention to make transactions with the &lt;strong&gt;Derby Network Server&lt;/strong&gt; in host name=localhost and port number=1527. You must modify some code lines, because we want that the clients requesting attention to make transactions, with the &lt;strong&gt;Derby Network Server&lt;/strong&gt; in host name=PC3 and port number=1368.&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt; The host name is PC3 and the port number is 1368 because the clients must connect with the Derby Network Server and it is running in PC3 with port 1368. Also, the &lt;strong&gt;SimpleNetworClientSample&lt;/strong&gt; program runs in the client virtual machine (PC4) of our VMware team.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 180%;"&gt;&lt;strong&gt;&lt;em&gt;5. Conclusions.&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The &lt;strong&gt;objective&lt;/strong&gt; of the&lt;strong&gt; “Laboratory of database with Cloudscape IBM 10.1 and VMware workstation 5.5”&lt;/strong&gt; was to &lt;strong&gt;learn&lt;/strong&gt; a &lt;strong&gt;Java embedded database&lt;/strong&gt;.&lt;br /&gt;I started as &lt;strong&gt;beginner&lt;/strong&gt; in Java and Cloudscape IBM 10.1, 4 months ago but now I understand important themes such as the 2 operation modes of Cloudscape (embedded and NetworkServer), the Derby drivers, the function of the Derby Network Server, the function of the client applications, the programming with Java, JDBC and SQL.&lt;br /&gt;&lt;br /&gt;I believe that the &lt;strong&gt;support of VMware workstation 5.5&lt;/strong&gt; was very important in 3 principal aspects such as &lt;strong&gt;learning&lt;/strong&gt;, &lt;strong&gt;testing&lt;/strong&gt; and &lt;strong&gt;saving money&lt;/strong&gt;.&lt;br /&gt;&lt;strong&gt;Learning&lt;/strong&gt; because I feel that the learning process of Cloudscape was short, comparing it with the learning process of Cloudscape without use VMware workstation 5.5. I have saved time.&lt;br /&gt;&lt;strong&gt;Testing&lt;/strong&gt; because it gave me the possibility to create virtual machines to test some of the most important aspects of Cloudscape 10.1, quickly and without affect my host machine.&lt;br /&gt;&lt;strong&gt;Saving money&lt;/strong&gt; because if I want to learn and to test Cloudscape with physical infrastructure I would need 4 physical PCs with LAN infrastructure. Comparing the cost in money of the previous physical infrastructure with one physical PC with VMware workstation 5.5 to create complete virtual machines, I have saved money.&lt;br /&gt;&lt;br /&gt;I think that the objective of learning Cloudscape was reached because now I understand the philosophy of Cloudscape and I understand the JDBC applications included with Cloudscape IBM, too. In the way, I &lt;strong&gt;had to learn&lt;/strong&gt; or &lt;strong&gt;had to go deeply&lt;/strong&gt; into other &lt;strong&gt;topics&lt;/strong&gt; such as Eclipse 3.1, Cloudscape Workbench 1.0, web page design, creation of a blog, and writing in English language because my mother language is Spanish.&lt;br /&gt;I am learning more about Apache Derby security. The themes about authentication, authorization, encryption and Java 2 Security Manager are very interesting. Also I need to learn more about procedures, triggers and exceptions.&lt;br /&gt;My personal &lt;strong&gt;challenge&lt;/strong&gt; is to reach an &lt;strong&gt;intermediate&lt;/strong&gt; level developing JDBC applications to Cloudscape 10.1 in the next 3 months.&lt;br /&gt;&lt;br /&gt;I want to &lt;strong&gt;thank&lt;/strong&gt; to &lt;strong&gt;IBM&lt;/strong&gt; the opportunity to participate in the &lt;strong&gt;IBM developersWorks Peer Advisors Network in the Cloudscape Project&lt;/strong&gt;. The experience has been amusing and I wish that the blog had been useful to the developers and users of the IBM Cloudscape community forum.&lt;br /&gt;I will follow reading the questions of the users and developers in the IBM Cloudscape forum and I will ask other questions sometimes.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #990000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="color: #990000;"&gt;&lt;strong&gt;Note 1:&lt;/strong&gt; Also, I want to thank to &lt;strong&gt;Google&lt;/strong&gt; the housing of this blog. Sometimes, I see other blogs in &lt;strong&gt;blogger.com&lt;/strong&gt; and they are interesting too.&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="color: #990000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong style="color: #990000;"&gt;Note 2:&lt;/strong&gt;&lt;span class="Apple-style-span" style="color: #990000;"&gt;&amp;nbsp;This document was developed in 2006-2007.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #990000;"&gt;&lt;br /&gt;&lt;span style="color: #3333ff;"&gt;Good luck and have a good day.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="color: #990000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #990000;"&gt;Regards!&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="color: #990000;"&gt;&lt;br /&gt;Cruz Castillo.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="color: #990000;"&gt;&lt;span style="color: #3333ff;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20988267-113921785108221750?l=embeddeddatabase.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://embeddeddatabase.blogspot.com/feeds/113921785108221750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20988267&amp;postID=113921785108221750&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20988267/posts/default/113921785108221750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20988267/posts/default/113921785108221750'/><link rel='alternate' type='text/html' href='http://embeddeddatabase.blogspot.com/2006/02/java-relational-database-cloudscape.html' title='Java Relational Database Cloudscape IBM'/><author><name>Cruz Castillo</name><uri>http://www.blogger.com/profile/08742572839614569240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://1.bp.blogspot.com/-JPXtzWGbT4g/TtRJ8Rup5NI/AAAAAAAAABQ/FMR_loZGsZY/s220/Photo-1.PNG'/></author><thr:total>4</thr:total></entry></feed>
