Complete Contents
Introduction
Chapter 1 About Netscape Application Server Extensions
Chapter 2 About the Netscape Extension Builder
Chapter 3 Introduction to Netscape's Interface Definition Language
Chapter 4 Designing a Netscape Extension
Chapter 5 Generating Output Files
Chapter 6 Completing Method Stubs
Chapter 7 Using Template Streaming
Chapter 8 Managing State and Session Information
Chapter 9 Using Object Pools
Chapter 10 Compiling the Extension Source Code
Chapter 11 Deploying and Managing a Netscape Extension
Chapter 12 Example Extension: HelloWorld
Appendix A C++ Helper Functions
Appendix B Java Helper Static Methods
Appendix C Java Class Decorations
Appendix D Reserved Words
Appendix E The ConnManager.cpp File
Glossary
Previous Contents Index


 SymbolsABCDEFGHIJKLMNOPQRSTUVWXYZ 



A
accessing NAS services 89
access modules 33
  creating by importing 52
  creating in Netscape Extension Builder Designer 48
  IDL output location 69
accessors 90
application components 14
application model 14
applications, calling extensions from 90

C
C++ Class decoration 65
coclasses 57
compiling source code 77
component view 42
configuring extensions 182
ConnManager.cpp sample file 257
constants
  GXACL_ALLOWED 208
  GXACL_DONTKNOW 208
  GXACL_NOTALLOWED 208
Create a Lock decoration 58
CreateDataConn( ) 223
CreateDataConnSet( ) 227
CreateHierQuery( ) 228
CreateMailbox( ) 230
CreateObject( ) 155
CreateQuery( ) 231
CreateTrans( ) 233

D
decorations
  C++ Class 65
  Create a Lock 48, 51
  for coclasses 58
  for methods 63
  for object pooling 59, 63, 162
  Java Access Layer 48, 51, 58, 61
  Java Class 65
  Language 48
  Package Name 48
  Template Streaming 95
deploying extensions 179
DestroySession( ) 234
directory structure 70
  specifying in Netscape Extension Builder Designer 76
distributed state and session data 113

E
extension modules 32, 47
extensions
  benefits of building 16
  configuring 182
  defined 13
  deploying 179
  design-time components 30
  diagram of source code components 80
  method locking 26
  object pooling 27
  state and session management 27
  template streaming 26
  top-level directory 68

G
gen. directories 78, 79
Generate IDL command 76
generating source code 77
GetAppEvent( ) 235
GetHint( ) 162
GetStateTreeRoot( ) 111, 236
GetThreadSession( ) 112
global constants 49
GNUenv_nt.mak file 174
GXACL_ALLOWED 208
GXACL_DONTKNOW 208
GXACL_NOTALLOWED 208
GXContextCreateDataConnSet( ) 196
GXContextCreateHierQuery( ) 197
GXContextCreateMailbox( ) 199
GXContextCreateQuery( ) 200
GXContextCreateTrans( ) 201
GXContextDestroySession( ) 203
GXContextGetAppEvent( ) 204
GXContextIsAuthorized( ) 207
GXContextLoadHierQuery( ) 209
GXContextLoadQuery( ) 213
GXContextLog( ) 215
GXContextNewRequest( ) 216
GXContextNewRequestAsync( ) 218
GXGetStateTreeRoot( ) 111, 205

I
IDL files 69
  importing into Netscape Extension Builder Designer 52
IGXObjectEvaluation interface 136
IGXSession2 interface 112
IGXState2 interface 110, 112
IGXTemplateData interface 96, 97
IJavaObjectEvaluation interface 136
importing files 52
InitObject( ) 159
interfaces
  designing in Netscape Extension Builder Designer 53
  implementing in Netscape Extension Builder Designer 59
  locating in source code tree 85
introspection 135
Introspection Interface decoration 59, 145, 163
IsAuthorized( ) 237
ISession2 interface 112
IState2 interface 110, 112
ITemplateData interface 96, 99

J
Java Access Layer 73
  decoration 48, 51, 58, 61
Java Class decoration 65
Java native methods 74

K
Keep Pooled Object decoration 64, 145, 164
keywords, reserved 255
KIDL 29
KIDL Compiler 25, 77

L
LoadHierQuery( ) 239
LoadQuery( ) 242
local state and session data 113
Log( ) 244

M
make harness 27, 70
  configuring on Windows NT 174
  details of program execution 175
  editing makefiles 168
Manager Class decoration 58
MatchObject( ) 152
menu bar 42
method locking 26
  Create a Lock decoration 58
methods
  decorations for 63
  defining in Netscape Extension Builder Designer 54
  implementing in Netscape Extension Builder Designer 62
method stubs 71
  completing implementation code 87
  extending the class definition 88
  implementing template streaming 96
  locating in source code tree 84

N
NAS_ROOTDIR 12, 71
NAS services 89
native methods 74
NEB
  See Netscape Extension Builder
NEB_ROOTDIR 12, 71
NEB Designer 24
Netscape's Interface Definition Language
  see KIDL
Netscape Application Server registration file 69
Netscape Extension Builder 23
Netscape Extension Builder Designer 40
  creating modules in 47
  designing coclasses 57
  designing interfaces 53
  generating files 76
  GUI overview 40
  output from 68
  procedural overview 43
  starting the program 46
Netscape Extension Builder Runtime Layer 72
Netscape extensions
  See extensions
Netscape project file 69
NewRequest( ) 245
NewRequestAsync( ) 248

O
Object Pool Config decoration 144
object pooling 27
  adding decorations 140
  completing method stubs 150
  configuration 184
  decorations 63
  process flowchart 128
  sample implementation file 257
Object Pool Manager 128
  internal processes 137
Object Pool Name decoration 143

P
parameters
  defining in Netscape Extension Builder Designer 55
physical objects 127
Poolable Object decoration 59, 145, 163
Pooled In Parameter decoration 63, 147, 163, 164
Pooled No Reuse decoration 64, 146, 164
Pooled Object Creation decoration 63, 141, 163
Pooled Object Name decoration 143
PoolSampleExt extension example 130

R
ReleaseObject( ) 158
reserved words in Netscape Extension Builder 255
runtime features 25

S
service modules 35
  creating by importing 52
  creating in Netscape Extension Builder Designer 50
  IDL output location 69
servlet 91
source code
  generating with gmake 77
  output from gmake 71
state and session management 115
state tree 111
StealObject( ) 157

T
templates, creating 102
template streaming 26
  decoration 58
  implementing interfaces for 96
tool bar 43
top-level directory 68, 77
tree view 41

U
UninitObject( ) 161
Uses Pooled Object decoration 63, 147, 163, 164
Use Synchronization Lock decoration 63

V
value-added features
  See runtime features
virtual objects 127

W
working directories 78, 79
 

Copyright © 2000 Sun Microsystems, Inc. Some preexisting portions Copyright © 2000 Netscape Communications Corp. All rights reserved.