In configuration area of the application server
It depends on naming service provider being used.
Objects are bound to names directly in Java code.
In web.xml file
In InitialContext object
In the application properties file