Develop code for a Java Platform, Enterprise Edition (Java EE) client application.
The JNDI namespace knows what to return on a lookup because of the information assembled by the assembly tool.
Assemble the client application on any development machine with the assembly tool installed.
When you assemble your client application, provide the required information to initialize the runtime environment for your client application. For information about how to provide the required information, see the documentation for the assembly tool.
When you configure resources for use by your client application, consider the following items:
Resource Type | Client Configuration Notes® | Client implementation provided by WebSphere Application Server |
---|---|---|
javax.sql.DataSource | Supports specification of any data source implementation class | No |
java.net.URL | Supports specification of custom protocol handlers | Provided by Java Runtime Environment files |
javax.mail.Session | Supports custom protocol configuration | Yes - POP3/POP3S, SMTP/SMTPS, IMAP/IMAPS |
javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, javax.jms.Queue, javax.jms.Topic | Supports configuration of WebSphere embedded messaging, IBM® MQ Series and other JMS providers | Yes - WebSphere embedded messaging |
The application is contained in an enterprise archive (EAR file). The EAR file is composed of: