How does the EJB client locate the EJB server without url?
问题 I am new to Java EE. At present I am going through The Java EE 6 Tutorial, Volume 1 (Basic Concepts Beta) by Sun Microsystems. To escape from monotonous reading time to time I play with few Java EE projects/codes written by others. I came from SE. My head is still filled with SE. In SE ( two tier application) I use DATABASE_URL = "jdbc:mysql://something.db_server.com/db_name" This is how my client knows where the database server is. In one Java EE example I saw // Access JNDI Initial Context.