This manual describes the Event Notification Service (ENS) architecture and APIs for SunTM JavaTM System Messaging Server and Sun Java System Calendar Server. It gives detailed instructions on the ENS APIs that you can use to customize your server installation.
This manual is for programmers who want to customize applications in order to implement Messaging Server and Calendar Server.
This book assumes that you are a programmer with a knowledge of C/C++ and Java Messaging Service, and that you have a general understanding of the following:
The Internet and the World Wide Web
Messaging and calendaring concepts
This manual contains the following chapters and appendix:
Table P–1 How This Book Is Organized
Chapter |
Description |
---|---|
Describes the Event Notification Service (ENS) components, architecture, and Application Programming Interfaces (APIs). |
|
Describes the ENS C API. |
|
Chapter 3, Event Notification Service Java (JMS) API Reference |
Describes the ENS Java API and provides sample code. |
Describes the Messaging Server event references and provides sample Messaging Server code. |
|
Describes the Calendar Server event notifications and provides sample Calendar Server code |
The http://docs.sun.comSM web site enables you to access Sun technical documentation online. You can browse the archive or search for a specific book title or subject.
Use the following URL to see all the Messaging Server documentation:
http://docs.sun.com/coll/1312.1
The following documents are available:
Sun Java System Messaging ServerAdministration Guide
Sun Java System Messaging Server Administration Reference
Sun Java System Messaging Server MTA Developer’s Reference
Sun Java System Messenger Express Customization Guide
The Messaging Server product suite contains other products such as Sun Java System Console, Directory Server, and Administration Server. Documentation for these and other products can be found at the following URL:
http://docs.sun.com/db/prod/sunone
In addition to the software documentation, see the Messaging Server Software Forum for technical help on specific Messaging Server product questions. The forum can be found at the following URL:
http://swforum.sun.com/jive/forum.jsp?forum=15
Use the following URL to see all the Calendar Server documentation:
http://docs.sun.com/coll/1313.1
The following documents are available:
Sun Java System Calendar Server Administration Guide
Sun Java System Calendar Server Developer’s Guide
Use either one of the following URLs to see the documentation that applies to all Communications Suite products:
http://docs.sun.com/coll/1312.1
or
http://docs.sun.com/coll/1313.1
The following documents are available:
Sun Java Communications Suite Release Notes
Sun Java Communications Suite Installation Guide
Sun Java Communications Suite Upgrade Guide
Sun Java Communications Suite Delegated Administrator Guide
Sun Java Communications Suite Deployment Planning Guide
Sun Java Communications Suite Schema Migration Guide
Sun Java Communications Suite Schema Reference
Sun Java Communications Suite Event Notification Service Guide
Sun Java System Communications Express Administration Guide
Sun Java System Communications Express Customization Guide
You can find the Communications Suite Event Notification Service Guide online in PDF and HTML formats. This book can be found at the following location:
Sun Java Communications Suite 5 Event Notification Service Guide
Third-party URLs are referenced in this document and provide additional, related information.
Sun is not responsible for the availability of third-party web sites mentioned in this document. Sun does not endorse and is not responsible or liable for any content, advertising, products, or other materials that are available on or through such sites or resources. Sun will not be responsible or liable for any actual or alleged damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods, or services that are available on or through such sites or resources.
Sun Function |
URL |
Description |
---|---|---|
Documentation |
Download PDF and HTML documents, and order printed documents |
|
Support and Training |
Obtain technical support, download patches, and learn about Sun courses |
For product downloads, professional services, patches and support, and additional developer information, go to the following:
Download Centerhttp://wwws.sun.com/software/download/
Professional Serviceshttp://www.sun.com/service/sunps/sunone/index.html
Sun Enterprise Services, Solaris Patches, and Supporthttp://sunsolve.sun.com/
Developer Informationhttp://developers.sun.com/prodtech/index.html
If you have technical questions about this product that are not answered in the product documentation, go to http://www.sun.com/service/contacting.
The following table describes the typographic changes that are used in this book.
Table P–2 Typographic Conventions
Typeface or Symbol |
Meaning |
Example |
---|---|---|
AaBbCc123 |
The names of commands, files, and directories, and onscreen computer output |
Edit your .login file. Use ls -a to list all files. machine_name% you have mail. |
AaBbCc123 |
What you type, contrasted with onscreen computer output |
machine_name% su Password: |
aabbcc123 |
Placeholder: replace with a real name or value |
The command to remove a file is rm filename. |
AaBbCc123 |
Book titles, new terms, and terms to be emphasized |
Read Chapter 6 in the User's Guide. Perform a patch analysis. Do not save the file. [Note that some emphasized items appear bold online.] |
The following table shows the default system prompt and superuser prompt for the C shell, Bourne shell, and Korn shell.
Table P–3 Shell Prompts
Shell |
Prompt |
---|---|
C shell prompt |
machine_name% |
C shell superuser prompt |
machine_name# |
Bourne shell and Korn shell prompt |
$ |
Bourne shell and Korn shell superuser prompt |
# |
The following table describes the default paths and file names used in this book.
Table P–4 Default Paths and File Names
Term |
Description |
---|---|
msg-svr-base |
Represents the base installation directory for Messaging Server. The default value of the msg-svr-base installation is as follows: Solaris™ systems: /opt/SUNWmsgsr |
cal-svr-base |
Represents the base installation directory for Calendar Server. The default value of the cal-svr-base installation is as follows: Solaris™ systems: /opt/SUNWics5 |
Sun is interested in improving its documentation and welcomes your comments and suggestions.
To share your comments, go to http://docs.sun.com and click Send Comments. In the online form, provide the document title and part number. The part number is a seven-digit or nine-digit number that can be found on the title page of the book or at the top of the document. For example, the title of this book is Sun Java Communications Suite 5 Event Notification Service Guide, and the part number is 819-4435.