Developing EJBs (continued)...Client code to Locate the Home Object
public class AccountClient {
public static void main( String[] args ) {
//get the JNDI naming context
Context context = new InitialContext();
//use the context to lookup the EJB Home interface
(AccountHome)context.lookup(”Accounts");
//use the Home Interface to create a Session Bean
(Account)home.create(1234,"Athul",100.0);