Table of Contents | Previous
Symbols
- $NSHOME\js\samples
- and CLASSPATH 297
- &, in URLs 116
- .htm file extension 51
- .html file extension 51
- .js file extension 51
- ?, in URLs 115
- \ 180
- ` (backquote)
- See backquotes
A
- -a compiler directive 54
- ACTION attribute 113
- in sample application 74
- active application
- glossary entry 313
- addClient function 93, 117, 153, 157
- addResponseHeader function 94, 118, 121, 185
- agent property 130
- anchors, creating 99
- application/x-www-form-urlencoded content type 182, 184
- Application Manager
- capabilities of 48
- and client object 143
- configuring default settings 64
- debugging applications 60
- figure of 48
- identifying library files 180
- installing applications 54-57
- overview 48-51
- protecting 41
- running applications 60
- specifying database connections 194
- starting, stopping, and restarting 59
- application name 57
- changing 58
- specifying 56
- applications
- architecture of 35-39
- bugbase sample application 70
- building 47-48
- cipher sample application 70
- compiling xviii, 52-54
- configuration 40-43
- creating 46
- creating source files 51
- dbadmin sample application 70
- debugging 60-63
- deleting 59
- deploying 39, 63
- and file upload 113
- hangman sample application 70
- and HTML 38
- installing 54-57
- jsaccall sample application 70
- metadata sample application 71
- oldvideo sample application 70
- partitioning tasks 87
- publishing 55
- restricting access to 58, 63
- running 38, 60
- at runtime 39
- sample 69-83
- sendmail sample application 70
- sharing data 139, 141
- starting, stopping, and restarting 59
- statement types 38
- system requirements for 39
- videoapp sample application 70
- viewer sample application 70
- world sample application 70
- application status, defined 50
- application URLs 57, 88
- glossary entry 313
- arenas, in garbage collection 122
- Array object 95
- arrays
- See also the individual arrays
- Java 297
- ASCII 176
- glossary entry 313
- AUTH_TYPE CGI variable 109, 130
- auth_type property 109, 130
- auth_user property 109, 130
- authorization 101
B
- background needed xv
- backquotes 97, 98-100
- enclosing JavaScript in 98
- when to use 100
- backward compatibility xviii
- base application URL
- glossary entry 313
- Bcc property 168
- beginTransaction method 204, 229, 270
- binary data type 266
- binary format 176
- binary large objects
- See BLObs
- bit data type 266
- blob data type 254, 265
- blob function 231
- blobImage method 231
- blobLink method 231
- Blob object 91, 265, 266
- BLObs
- glossary entry 313
- overview 230
- working with 230-233
- Body property 168
- Boolean expressions 134
- Boolean object 95
- Boolean type conversions (LiveConnect) 307
- booleanValue method 312
- bugbase application 70
- Built-in Maximum Database Connections 194
- bytecodes 39
- building 47
- glossary entry 313
- byte data type 265
- byteToString method 174, 176
C
- C++ libraries 178
- callC function 94, 179, 181
- -c compiler directive 53
- Cc property 168
- C functions
- calling 94
- registering 93
- CGI, glossary entry 313
- CGI variables
- accessing 108-112
- AUTH_TYPE 109, 130
- CONTENT_LENGTH 111
- CONTENT_TYPE 111
- GATEWAY_INTERFACE 112
- HTTP_ACCEPT 111
- HTTP_IF_MODIFIED_SINCE 111
- HTTPS 109
- HTTPS_KEYSIZE 109
- HTTPS_SECRETKEYSIZE 110
- PATH_TRANSLATED 110
- QUERY_STRING 109, 110, 130
- REMOTE_ADDR 110
- REMOTE_HOST 110
- REMOTE_USER 109, 110, 130
- REQUEST_METHOD 109, 110, 130
- SCRIPT_NAME 110
- SERVER_NAME 110
- SERVER_PORT 110
- SERVER_PROTOCOL 109, 110, 130
- SERVER_SOFTWARE 112
- SERVER_URL 110
- char arguments 298
- char data type 265, 266
- cipher application 70
- classes
- Java 298
- LiveConnect 300
- CLASSPATH 297
- clearError method 174, 177
- C libraries 178
- calling 87
- client
- characteristics of 86
- communicating with server 112
- glossary entry 313
- maintaining client object on 147-151
- preprocessing data on 86, 114, 118
- client cookies 148-149
- glossary entry 313
- lifetime of properties 154
- maintaining client object with 106, 119, 146, 147
- client-mode field, of jsa.conf 66
- client object 91, 96, 101, 105, 117, 132-139, 146, 147
- adding properties to URLs 156-158
- creating custom 134
- custom 136-139
- description of 132
- destroying 155-156
- getting identifier 94
- id for maintaining 134
- in sample application 74
- lifetime 132
- lifetime of 127, 154-156
- maintaining 64, 93, 101, 103, 106, 112, 117, 119, 143-158
- comparing techniques 144-147
- on the client 147-151
- on the server 151-154
- with client cookies 148-149
- with client-URL encoding 149-151
- with IP address 152
- with server cookie 152-153
- with server-URL encoding 153-154
- overview 127
- in page processing 101, 102
- properties 133-134
- properties, expiring 154-155
- properties, overhead from 134
- properties, restrictions on 133
- properties of 133
- restrictions 136
- storing properties on project or server 134-135
- uniquely referring to 134-135
- client object maintenance, specifying 56
- client properties
- assigning 148
- Boolean 133
- changing 103
- client requests
- See requests
- client scripts
- communicating with server 87
- generating 118
- sending values to 117
- when to use 87
- client-server communication 112-122
- using cookies for 119-121
- client-side JavaScript 22, 24, 88
- glossary entry 313
- illustrated 24
- object lifetime 87
- overview 24
- client URL encoding 103, 107, 112, 117, 147, 149-151
- glossary entry 313
- lifetime of properties 154
- clob data type 254, 265
- close method 172, 218, 243, 270, 271, 273
- colName property 218, 243
- columnName method 219, 224, 243, 273
- column names, displaying 224
- columns method 218, 224, 243
- commit, glossary entry 313
- commitTransaction method 204, 229, 270
- communication between client and server 112-122
- compiler 47
- options 53
- and PATH environment variable 42
- using 52-54
- configuration styles 58, 63
- confirmation prompts, configuring 64
- connected method 204, 272
- connection method 271
- of DbPool objects 203
- Connection objects 91, 95, 191, 195, 203, 270, 271, 272, 273, 274
- creating 203
- error methods of 273, 274
- methods 204
- storedProc method 237
- connection pools
- See also DbPool objects
- as property of project object 201
- managing 198
- sharing array of 201
- sharing fixed set 199
- storing with project object 198, 200
- connections
- approaches to 191-204
- DbPool objects 193
- disconnecting 195
- establishing 191-204
- retrieving 195, 208
- spanning multiple client requests 205
- specifying number of 56, 64
- specifying the number of 194
- storing 134
- waiting for 207
- connect method 270
- CONTENT_LENGTH CGI variable 111
- CONTENT_TYPE CGI variable 111
- content-length property 185
- content types, managing custom 182-186
- cookie.txt 119
- cookie protocol 146, 148, 152
- See also client cookies
- cookies 112, 117
- client, glossary entry 313
- defined 119
- glossary entry 314
- CORBA
- glossary entry 314
- core JavaScript 23, 90
- glossary entry 314
- critical section 158
- glossary entry 314
- current row 218
- glossary entry 314
- current transaction, glossary entry 314
- cursor method 204, 271
- Cursor objects 91, 95, 270, 272, 273
- methods 218
- overview 218
- properties 218
- cursors
- creating 219
- customizing display functions 216
- determining number of columns 224
- displaying aggregate functions 223
- displaying column names 224
- displaying expressions 223
- displaying record values 220
- glossary entry 314
- navigating with 223
- overview 218
- updatable 219, 225-227, 232
- using 218-227
D
- data
- converting between formats 176
- sharing between client and server 112
- database access 87
- database client libraries, configuring 249-262
- database clients, supported 252-253
- database configuration, verifying 250-251
- database connection pools
- See connection pools
- database connections
- See connections
- database name 194
- database object 91, 96, 270, 271, 272, 273
- restrictions 198
- using 189-247
- database pools
- See DbPool objects
- database queries
- and flush function 106
- databases 187-289
- See also LiveWire Database Service
- configuring 249-262
- connecting to 195
- converting data types 263-266
- and dates 264
- error handling 269-274
- guidelines for managing connections and threads 197
- multithreaded 196
- single-threaded 196
- typical interactions 190
- verifying connection 195
- database server name 194
- database servers
- in JavaScript application architecture 36
- database transactions
- See transactions
- database type 194
- data persistence 87
- data sharing 87, 96, 101, 127, 141, 143, 158-166, 173, 195, 198
- data types
- Boolean conversions 307
- converting for LiveWire 263-266
- converting with LiveConnect 305-312
- Informix 266
- JavaArray conversions 309
- JavaClass conversions 310
- JavaObject conversions 309
- in JavaScript 28
- JavaScript to Java conversion 306
- Java to JavaScript conversion 312
- null conversions 308
- number conversions 306
- ODBC 265
- Oracle 265
- other conversions 311
- string conversions 308
- Sybase 264, 266
- date data type 265, 266
- Date object 95, 265, 266
- converting dates to 263, 264
- dates
- converting to Date objects 263
- and databases 264
- inserting in database 264
- datetime data type 265, 266
- DB2
- configuring 253-??
- data types 264
- registering stored procedures in 236
- stored procedure prototypes 237
- DB2COMM environment variable 254
- DB2INSTANCE environment variable 254
- DB2PATH environment variable 254
- dbadmin application 70, 250
- DbBuiltin object 91
- DbPool constructor 271
- DbPool objects 95
- See also connection pools, database pools
- adding properties to 91
- Boolean value returned by 272
- connecting to a database with 191
- connection method 203
- connections with 193
- creating 194
- in connection pool arrays 201
- no value returned by 273
- numeric value returned by 270
- object returned by 271
- stored procedures and 237
- string value returned by 273
- using 189-247
- -d compiler directive 53
- DDL, glossary entry 314
- deadlock 163-166
- glossary entry 314
- debug function 93
- debug functions 61
- Debugger 29
- debug URLs, using 62
- decimal data type 265, 266
- default form values 117
- default page
- glossary entry 314
- specifying 56, 64
- default settings, Application Manager 64
- deleteResponseHeader function 94, 118, 185
- deleteRow method 219, 227, 270
- DELETE SQL statement 228
- deploy, glossary entry 314
- deployment server
- defined 39
- glossary entry 314
- updating files to 59
- deprecate, glossary entry 315
- destroy method 149, 150, 155
- development environment, components of 39
- development platform, defined 39
- development server
- defined 39
- glossary entry 315
- updating files from 59
- DHCP 152
- directories
- conventions used xviii
- disconnect method 270, 273
- DML, glossary entry 315
- DNS 110
- documentation, other xvi-xvii
- document conventions xviii-xix
- document root 57
- double data type 265
- double precision data type 265, 266
- Dynamic Host Configuration Protocol 152
- dynamic link libraries 178
E
- ECMA, glossary entry 315
- ECMA-262 90
- ECMAScript, glossary entry 315
- ECMA specification 30
- JavaScript documentation and 31
- JavaScript versions and 30
- terminology 31
- email
- See mail
- environment variables, accessing 109
- eof method 173, 174
- errorCode method 167
- error handling for LiveWire 269-274
- errorMessage method 167
- error messages, retrieving 195
- error method 174, 177
- error status, for File object 176
- escape function 93, 117
- event handlers 92
- See also the individual event handlers
- direct substitution 117
- onClick 114
- exceptions
- handling in Java 302
- execute method 204, 217, 270
- exists method 174, 176
- expiration method 149, 155
- external functions
- calling 179
- defined 178
- example of use 181
- glossary entry 315
- guidelines for writing 179
- registering 180
- using in JavaScript 181
- when to use 178
- external libraries 178-182
- calling 87
- identifying files 180
- security 178
- specifying 56, 64
F
- -f compiler directive 54
- features, new xi-??
- file access modes 172
- File class 106, 170-177
- file formats 176
- file I/O 177
- File object 91, 95
- creating 171, 177
- described 170
- methods of 173
- security considerations 171
- files
- accessing with JavaScript 170-177
- closing 172
- getting information for 176
- locking 173
- opening 172
- positioning within 174
- reading from 175
- writing to 175
- file upload 183
- fixed decimal notation 264
- float data type 265, 266
- floatValue method 312
- flush function 93, 103, 105, 148, 186
- described 106
- flush method 106, 176
- example of use 107
- form elements
- hidden 114, 117, 118
- using as request properties 113
- FORM HTML tag 113
- forms
- and client maintenance 147
- client scripts for 87
- default values 117
- GET method 183
- hidden elements 117
- POST method 184
- processing 73
- and the request object 126
- statements 74
- variables 131
- From property 168
- Function object 95
- functions 92
- debug 61
- redirect 107
- write 97, 98
G
- garbage collection, in JavaScript 122-123
- GATEWAY_INTERFACE CGI variable 112
- getLength method 174, 176
- getMember method 301
- getOptionValueCount function 93
- getOptionValue function 93, 114
- getPosition method 173, 174
- getPostData method 184
- get value of method attribute 113
- global object 31
H
- hangman application 70
- -h compiler directive 53
- headers 118, 121
- request 111
- Hello World application 70
- hidden form elements 117
- history method 129
- home field, of jsa.conf 66
- hostname 110
- hostname property 142
- host property 142
- HREF attribute 99
- HTML 86, 88
- attributes 92, 98
- conditionalizing 87
- embedding JavaScript in 96-100
- generating 93
- glossary entry 315
- and JavaScript 85, 96-100
- sample source code 73
- HTML page
- constructing 88, 101, 102, 105-108
- sending to client 105, 147
- HTML tags
- FORM 113
- IMG 230, 231
- INPUT 118
- HTTP 96, 101
- applets 294
- glossary entry 315
- protocol level 109, 110
- request, See requests
- request information 303
- response buffer 303
- user 109, 110
- HTTP_ACCEPT CGI variable 111
- HTTP_IF_MODIFIED_SINCE CGI variable 111
- HTTPD processes, objects for 141
- httpHeader method 111, 113, 121, 183
- HTTP method 109, 110
- HTTPS_KEYSIZE CGI variable 109
- HTTPS_SECRETKEYSIZE CGI variable 110
- HTTPS CGI variable 109
I
- -i compiler directive 53
- if...else statement
- in sample application 75
- image data type 266
- image maps 131
- using 131
- imageX property 130, 131
- imageY property 130, 131
- IMG HTML tag 230, 231
- index.html
- and default page 56
- Informix 190
- configuring 254-256
- data types 265, 266
- stored procedure parameters 238
- INFORMIXDIR environment variable 255
- INFORMIXSERVER environment variable 255
- INFORMIXSQLHOSTS environment variable 255
- initial page 132, 198
- and request object 129
- glossary entry 315
- specifying 56, 64
- INPUT HTML tag 118
- input validation 87
- insertRow method 219, 227, 270
- INSERT SQL statement 228
- installation parameters
- configuring 64
- Installing an application 54
- int data type 266
- integer data type 265
- interval data type 265
- IP address 147, 151, 152
- glossary entry 315
- lifetime of properties 155
- IP address technique, glossary entry 315
- ip property 130
- ISMAP attribute, of IMG tag 131
- isNaN function 93
J
- Java
- See also LiveConnect
- accessing JavaScript 300
- accessing with LiveConnect 295
- arrays in JavaScript 297
- calling from JavaScript 295
- classes 298
- communication with JavaScript 293-312
- compared to JavaScript 28
- example of calling from JavaScript 298
- to JavaScript communication 300
- JavaScript exceptions and 302
- methods requiring char arguments 298
- objects, naming in JavaScript 297
- object wrappers 295
- packages 298
- Java applets, server scripts for 87
- JavaArray object 295, 297
- JavaArray type conversions 309
- JavaClass object 295, 298
- JavaClass type conversions (LiveConnect) 310
- JavaObject object 296
- JavaObject type conversions 309
- java package 297
- JavaPackage object 296, 298
- JavaScript
- accessing from Java 300
- application executable files 39
- basics 85-123
- client-side 24
- communication with Java 293-312
- compared to Java 28
- components illustrated 22
- core 23
- debugging 93
- differences between server and client 22
- ECMA specification and 30
- enabling 41
- example of calling from Java 304
- files 38, 92
- compiling 39
- garbage collection 122-123
- and HTML 96-100
- to Java Communication 295
- Navigator 24-25
- object wrappers 312
- overview 21
- runtime processing 88-90, 100-105
- server-side 25-27
- server-side overview 90-96
- tasks on client 86-87
- tasks on server 86-87
- variables, and request properties 131
- versions and Navigator xv
- where it can occur 91
- JavaScript files 92
- Java virtual machine 38
- jsa.conf file 66
- jsac. See compiler.
- jsaccall.c 179
- jsaccall.h 179
- jsaccall application 70, 178
- JSException class 300, 302
- js files 38
- JSObject, accessing JavaScript with 301
- JSObject class 300
- jsVersion property 142
L
- -l compiler directive 53
- LD_LIBRARY_PATH environment variable 254, 258, 261
- LIBPATH environment variable 254, 258
- libraries, external 178-182
- library field, of jsa.conf 66
- links
- for BLOb data 231
- creating 99
- LiveConnect 92, 95, 293-312
- accessing Java directly 295
- capabilities 294
- configuration for 42
- converting data types 305-312
- glossary entry 315
- and HTTP applets 294
- Java to JavaScript communication 300
- and NSAPI applications 294
- objects 295
- restrictions 294
- and WAI plug-ins 294
- LiveWire database access library 38
- LiveWire Database Service 187-289
- See also databases
- system requirements for 40
- locking 158-166
- lock method 141, 158-166
- in sample application 75
- Lock object 91, 96, 158-166
- longdatacompat 254
- long data type 266
- long raw data type 266
M
- mail
- MIME-compliant 169
- sending with JavaScript 96, 167-170
- majorErrorCode method 195, 204, 270, 273
- majorErrorMessage method 195, 204, 273, 274
- mark and sweep 123
- mathematical constants and functions 264
- Math object 95
- maxdbconnect field, of jsa.conf 66
- metadata application 71
- METHOD attribute 113
- method property 109, 130
- methods
- close 172
- destroy 155
- expiration 155
- flush 106
- history 129
- open 172
- setPosition 174
- static 317
- migrating applications xvii-xviii
- MIME, glossary entry 315
- MIME-compliant mail 169
- MIME types 170
- minorErrorCode method 195, 204, 270, 271, 274
- minorErrorMessage method 195, 204, 273
- money data type 265, 266
- multimedia
- using BLObs 230
- MULTIPLE attribute
- of SELECT tag 114
- multithreaded databases 196
- multi-threading
- and Sybase 262
N
- NAME attribute 99, 113
- in sample application 74
- of SELECT tag 114
- native functions 178-182
- Navigator
- in JavaScript application architecture 36
- and JavaScript 24, 25
- JavaScript versions supported xv
- Navigator JavaScript
- See client-side JavaScript
- nchar data type 265, 266
- NETSCAPE_LIVEWIRE 120, 148
- Netscape cookie protocol 148, 152
- glossary entry 316
- netscape package 297
- Netscape packages
- See packages
- Netscape web servers
- configuration style support 58
- in JavaScript application architecture 36
- sample applications installed with 69
- next method 219, 221, 223, 241, 243, 272
- NSAPI applications 294
- null value conversions (LiveConnect) 308
- number data type 265, 266
- Number object 95
- number property 75
- numbers
- converting to characters 174, 176
- identifying 93
- storing 263
- type conversions (LiveConnect) 306
- numeric data type 266
- nvarchar data type 265, 266
O
- object field, of jsa.conf 66
- Object object 95
- object prototypes 91
- objects
- adding properties to 91
- JavaScript in Java 300
- lifetimes of 126
- LiveConnect 295
- -o compiler directive 53
- ODBC
- configuring 256-258
- data types 265
- drivers supported 252-253
- glossary entry 316
- stored procedure prototypes 237
- oldvideo application 70, 277-289
- and Informix 278
- onClick event handler 114
- Open DataBase Connectivity standard
- See ODBC
- OpenLink
- configuring 257-258
- open method 172
- OPTION tag 115
- Oracle 190
- configuring 258-260
- data types 265, 266
- stored procedure parameters 238
- ORACLE_HOME environment variable 259, 260
- ORACLE_SID environment variable 260
- outParamCount method 239, 245
- outParameters method 235, 239, 244, 245
- output buffer 102
- flushing 93, 106-107
- output parameters
- of stored procedures 245
P
- packages, Java 298
- Packages object 95, 297
- packed decimal notation 264
- parameters for stored procedures 238
- parseFloat function 93
- parseInt function 93
- Pascal functions 178
- passthrough SQL, executing 217
- PATH_INFO CGI variable 110
- PATH_TRANSLATED CGI variable 110
- PATH environment variable 254
- for the compiler 42
- -p compiler directive 54
- pointers 174
- pools of database connections
- See connection pools
- popups, client scripts for 87
- port property 142
- post value of method attribute 113
- primitive value, glossary entry 316
- project object 91, 96, 101, 139-141
- description of 139
- in sample application 75
- lifetime 139
- lifetime of 128, 140
- locking 141, 159, 162-163, 173
- overview 127-128
- properties 140
- properties of 140
- sharing 141
- storing connection pools on 198, 200, 201
- properties
- See also the individual properties
- static 317
- protocol property 109, 130, 142
- prototypes 91
- stored procedures and 237
Q
- queries
- customizing output 216
- displaying 216-217
- QUERY_STRING CGI variable 109, 110, 130
- query property 109, 130
- quotation marks
- with backslash 100
- order of 99
R
- raw data type 266
- -r compiler directive 54
- readByte method 173, 175
- readln method 173, 175
- read method 173, 175
- real data type 266
- record values, displaying 220
- redirect function 93, 103, 105, 107-108, 129, 147, 149, 150, 153, 156, 186
- described 107
- registerCFunction function 93, 179, 180
- release method 203, 204, 270, 273
- REMOTE_ADDR CGI variable 110
- REMOTE_HOST CGI variable 110
- REMOTE_USER CGI variable 109, 110, 130
- REQUEST_METHOD CGI variable 109, 110, 130
- request bodies, manipulating 184-185
- request headers 111, 113, 121
- manipulating 183-184
- request object 91, 96, 101, 105, 112, 129-131, 183, 184
- creation 129
- description of 129
- example of property creation 113
- and forms 131
- in sample application 74
- lifetime of 126, 129
- overview 126-127
- in page processing 101, 102
- properties 109, 130-131
- properties, and JavaScript variables 131
- saving properties 108
- setting properties with form elements 113
- request properties encoding in URLs 116
- requests
- changing 93, 107-108
- header 118
- manipulating raw data 182-186
- redirecting 116
- sharing a connection 205
- terminating 107
- request thread 303
- response headers, manipulating 94, 185
- responses, manipulating raw data 182-186
- resultSet method 234, 239, 240, 271
- Resultset object 91, 95, 233, 271, 272, 273
- See also result sets
- methods of 243
- result sets 239
- See also Resultset object
- creating 240
- Resultset object 239
- returnValue method 235, 239, 244, 245
- return values of stored procedures 245
- rollback, glossary entry 316
- rollbackTransaction method 204, 229, 270
- rowid data type 266
- runtime environment components 37
- runtime library 37
- runtime processing 97, 100-105
- example 89
S
- sample applications 69-83
- Hangman 76-83
- Hello World 71-76
- SCRIPT_NAME CGI variable 110
- scripts, changing client properties 103
- SCRIPT tag 38, 92
- See also client scripts
- direct substitution in 117
- when to use
- security
- external libraries and 178
- File object and 171
- select lists 114
- SELECT SQL statement 219, 220, 223, 225
- SELECT tag 93, 114
- sendmail application 70
- SendMail class 167-170
- SendMail object 91, 96
- send method 167
- serial data type 265
- server
- administration functions 101
- authorization 101
- characteristics of 86
- communicating with client 117
- maintaining client object on 151-154
- processes, objects for 141
- restarting 179, 180
- SERVER_NAME CGI variable 110
- SERVER_PORT CGI variable 110
- SERVER_PROTOCOL CGI variable 109, 110, 130
- SERVER_SOFTWARE CGI variable 112
- SERVER_URL CGI variable 110
- server-client communication 112-122
- server cookies 146, 151, 152-153
- glossary entry 316
- lifetime of properties 155
- server object 91, 96, 101, 141-143
- description of 141
- lifetime 142
- lifetime of 128
- locking 159, 162-163, 173
- overview 128
- properties 141-142
- properties of 141
- sharing data 143
- server routing 57
- server scripts
- communicating with client 87
- when to use 87
- server-side JavaScript 22, 25-27
- enabling 41
- executing 105
- glossary entry 316
- illustrated 25, 26
- server-side objects, lifetime of 87
- SERVER tag 38, 87, 88, 92, 96, 97-98, 100
- See also server scripts
- in sample application 73, 74
- when to use 100
- server URL encoding 107, 112, 117, 151, 153-154
- glossary entry 316
- lifetime of properties 155
- session key 109
- Session Management Service 87, 101, 125-166
- glossary entry 316
- object overview 126-129
- setPosition method 173, 174
- SHLIB_PATH environment variable 254, 255, 258
- single-threaded databases 196
- smalldatetime data type 266
- smallfloat data type 265
- smallint data type 265, 266
- smallmoney data type 266
- Smtpserver property 168
- source files 63
- creating 51
- source files, components of 51
- source script, example of 73
- special characters in URLs 117
- SQL 190
- See also the individual statements
- error handling 269-274
- executing 217
- glossary entry 316
- SQL_BIGINT data type 266
- SQL_BINARY data type 266
- SQL_CHAR data type 266
- SQL_DATE data type 266
- SQL_DECIMAL data type 266
- SQL_DOUBLE data type 266
- SQL_FLOAT data type 266
- SQL_INTEGER data type 266
- SQL_LONGBINARY data type 266
- SQL_LONGVARCHAR data type 266
- SQL_NUMERIC data type 266
- SQL_REAL data type 266
- SQL_SMALLINT data type 266
- SQL_TIME data type 266
- SQL_TIMESTAMP data type 266
- SQL_VARBINARY data type 266
- SQL_VARCHAR data type 266
- SQLTable method 204, 216, 270
- ssjs_generateClientID function 94, 135, 207
- ssjs_getCGIVariable function 94, 108, 109, 130
- ssjs_getClientID function 94, 135, 152, 153
- start field, of jsa.conf 66
- static, glossary entry 317
- stopped transaction, glossary entry 317
- storedProcArgs method 237, 270, 271
- stored procedures 233-247
- See also Stproc object
- arguments to 235
- defining prototypes for 237
- executing 237
- in DB2 236
- output parameters 245
- parameters for 238
- registering 236
- result sets 234
- return values 235, 245
- steps for using 235
- Stproc object 233, 235
- storedProc method 204, 237, 271
- Stproc object 91, 95, 233, 235, 271
- See also stored procedures
- creating 237
- methods of 239
- string data type 265, 266
- String object 95
- strings
- parsing 93
- type conversions (LiveConnect) 308
- stringToByte method 174, 176
- styles, configuration 58, 63
- Subject property 168
- sun package 297
- Sybase 190
- configuring 260-262
- data types 264, 266
- stored procedure prototypes 237
- SYBASE environment variable 261
T
- targets, creating 99
- TCP port 110
- text/html content type 182
- text data type 265, 266
- threads
- and databases 196
- and Java 303
- ticks
- See backquotes
- time data type 265
- timestamp data type 265
- tinyint data type 266
- TNS_ADMIN environment variable 259
- To property 168
- toString method 312
- trace utility 61, 62, 63
- configuring 64
- transactions
- committing 194
- controlling 229
- glossary entry 317
- managing 227-230
- overview 227
- rolling back 194
- scope of 229
U
- unescape function 93
- unique identifier 94
- unlock method 141, 158-166
- in sample application 75
- updatable cursor
- glossary entry 317
- updateRow method 219, 227, 270
- UPDATE SQL statement 228
- upgrading applications xvii-xviii
- uri field, of jsa.conf 66
- uri property 130
- URL-encoded variables
- and request object 131
- resetting 117
- URL encoding
- See also client URL encoding, server URL encoding
- maintaining client object with 147, 149, 151
- URLs 110
- adding client properties to 156-158
- adding information to 93
- application 57
- changing 107-108
- and client maintenance 149-151, 153-154
- conventions used xviii
- creating 147
- debug 62
- dynamically generating 115
- encoding information in 115-122
- escaping characters in 93
- glossary entry 317
- including special characters 117
- modifying 112
- and redirect function 107
- redirecting to 93
- and reloading a page 117
- and Session Management objects 128
- to start and stop applications 59
V
- VALUE attribute 118
- varbinary data type 266
- varchar2 data type 266
- varchar data type 265, 266
- -v compiler directive 53
- VDBCINI environment variable 258
- versions of JavaScript xv
- videoapp application 70, 277-289
- and Informix 278
- and ODBC 278
- and SQL Server 278
- video application
- See videoapp application
- viewer application 70
- Visigenic, configuring 258
- Visual JavaScript 29
W
- WAI plug-ins 294
- web files 39, 60
- building 47
- defined 51
- glossary entry 317
- moving 59
- specifying path 56, 64
- wrappers
- for Java objects 295
- for JavaScript objects 312
- writeByte method 173, 175
- write function 73, 93, 97, 105, 156, 171
- with backquotes 98
- and client maintenance 150
- described 106
- and flush 106
- with SERVER tag 97
- writeln method 173, 175
- write method 173, 175
- WWW, glossary entry 317
Table of Contents | Previous
Last Updated: 09/29/99 18:02:02
© Copyright � 1999 Sun Microsystems, Inc. Some preexisting portions Copyright
� 1999 Netscape Communications Corp. All rights reserved.