Tuesday, April 23, 2002 09:43 AM
I am unsure of what it means to create a object in JNDI, could anyone tell me if you have to create a class to instantiate the object or is this done automatically some where? My code is as follows but I am getting "Operation failed: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'cn=Button'"
DirContext ctx = new InitialDirContext(env);
Button b=new Button("Push me");