Part I Development Tasks and Tools
1. Setting Up a Development Environment
Setting Up Your Ant Environment
Defining the ANT_OPTS Variable
Subelements of sun-appserv-deploy
Attributes of sun-appserv-deploy
Examples of sun-appserv-deploy
Subelements of sun-appserv-undeploy
Attributes of sun-appserv-undeploy
Examples of sun-appserv-undeploy
Subelements of sun-appserv-instance
Attributes of sun-appserv-instance
Examples of sun-appserv-instance
The sun-appserv-component Task
Subelements of sun-appserv-component
Attributes of sun-appserv-component
Examples of sun-appserv-component
Subelements of sun-appserv-admin
Attributes of sun-appserv-admin
Attributes of sun-appserv-jspc
Attributes of sun-appserv-update
Part II Developing Applications and Application Components
7. Using the Java Persistence API
8. Developing Web Applications
9. Using Enterprise JavaBeans Technology
10. Using Container-Managed Persistence
13. Developing Lifecycle Listeners
Part III Using Services and APIs
14. Using the JDBC API for Database Access
15. Using the Transaction Service
16. Using the Java Naming and Directory Interface
The Sun GlassFish Enterprise Server provides server-specific Ant tasks, which are described in the following sections:
Enterprise Server is compatible with Apache Ant versions 1.6.5 or greater. If you
don't have Ant installed, you can download it from the Update Tool. The Apache
Ant Build Tool add-on component supplies Ant version 1.7.1. For more information about
the Update Tool, see Update Tool in Sun GlassFish Enterprise Server v3 Administration Guide.
For more information about Ant, see the Apache Software Foundation web site at http://ant.apache.org/.
For information about standard Ant tasks, see the Ant documentation at http://ant.apache.org/manual/.
Note - Variables in the examples in this chapter, such as ${asinstalldir}, reference values defined in build.xml or properties files.