Copyright: Copyright ) 1996 Sybase, Inc. and its subsidiaries. All rights reserved.   Tue Dec 10 15:47:41 1996


Starbuck Samples

The sample projects included with Starbuck are described in this help file. The samples projects are grouped into several categories.

•	Component samples are simple programs intended solely to show how to use particular components or classes from the Starbuck Component Library.

•	Technique samples show more complicated features of components or the uses of some of the advanced features of the Starbuck Component Library.

•	Application samples are prototypical application programs.

Some samples include instructions to help you use them. The location of those instructions (either an HTML or text file) is listed in the sample descriptions.

 Components

 Techniques

 Applications


Components
 Starbuck Samples
  Components

These samples show how to use particular components or classes from the Starbuck Component Library. Each sample is named after the component or class that it demonstrates.

Sample Name	Description	Keywords
Application	Queries and displays the Java System Properties.	Java system properties
Check_Box	Demonstrates the use of a check box.	Check box
Command_Button	This sample demonstrates the functionality of the command button component.	Command Button
FTP	FTP client demonstrating file upload, file download, and directory listing.	FTP
HTTP	HTTP client demonstrating functionality of HTTP protocol. It opens up a connection to a remote resource and displays the remote and local resource(s) this resource is pointing to. Also shows the source of opened resource.	HTTP
JDBCTransaction	Demonstrates the functionality of the JDBCTransaction and Query objects. You may connect to any JDBC driver and execute a SQL statement by using the sample. Consult the sample's README.TXT file for instructions on using this sample.	JDBC Bound controls Transaction Query
Scroll_Bar	This sample demonstrates the functionality of the scroll bar component.	ScrollBar
Socket	Uses asynchronous sockets to implement a Chat client program. You must run the included “Server Socket.exe” program on the server. Consult the sample's README.TXT file for instructions on using this sample.	Socket Winsock


Techniques
 Starbuck Samples
  Techniques

These samples show some of the advanced features of the Starbuck Component Library. Each sample in this category is named after the technique or feature that it demonstrates.

Sample Name	Description	Keywords
DDir_Walker	Displays a list of the files and attributes for a folder and sub-folders. Demonstrates use of Sybase jdbcCONNECT driver inside a Java servlet for NetImpact Dynamo Requires NetImpact Dynamo and the Microsoft Java VM. Consult the Ddir_Walker.html file for instructions on using this sample.	JDBC NetImpact Dynamo Servlet
DJDBC_LookUp	Connects to a SQL Anywhere database, looks up and displays customer information customer with id number 101. Demonstrates Java servlet for NetImpact Dynamo. Requires NetImpact Dynamo, SQL Anywhere, the Microsoft Java VM, and the Open Server Gateway components from SQL Anywhere. Consult the DJDBC_LookUp.html file for instructions on using this sample.	JDBC NetImpact Dynamo Servlet
IDir_Walker	Displays a list of the files and attributes for a folder and sub-folders. Demonstrates use of Sybase jdbcCONNECT driver inside a Java ISAPI Web server extension Requires (1) the Microsoft Java VM and (2) the Microsoft Internet Information Server (NT) or Microsoft Personal Web Server (95). Consult the IDir_Walker.html file for instructions on using this sample.	JDBC ISAPI Servlet
IJDBC_LookUp	Connects to a SQL Anywhere database, looks up and displays customer information customer with id number 101. Demonstrates use of Sybase jdbcCONNECT driver inside a Java ISAPI Web server extension. Requires NetImpact Dynamo, SQL Anywhere, the Microsoft Java VM, and the Open Server Gateway components from SQL Anywhere. Consult the IJDBC_Lookup.html file for instructions on using this sample.	JDBC ISAPI Servlet
Java_ActiveX	This sample uses an ActiveX server from Java. You must register the TestE.dll ActiveX server component and add it to the Java Component Palette. For more information, consult the Starbuck ReadMe help file.	ActiveX
Sybase_JDBC_Driver	Demonstrates the use of the Sybase jdbcCONNECT Driver to connect to either a SQL Server or a SQL Anywhere database. Consult the "Sybase_JDBC_Driver.html" file for instructions on using this sample.	JDBC
Timing_Intervals	Creates a simple stop watch that can be started, stopped and cleared.	Timer System Time
Threads	Uses various methods to control three different threads.  Each thread can be started by the user, then stopped, suspended, and resumed.  You also have the option to change the priority of the thread.	Thread Priority


Applications
 Starbuck Samples
  Applications

These samples demonstrate how components can be used to make useful or entertaining applications. The sample names correspond to some aspect of the application.

Sample Name	Description	Keywords
Web Crawler	Given a starting URL, links are extracted and followed.  URLs are stored in a hash table so that we need only display them once.	Thread Hash Table Input Stream