I write a simple ejb to test how to deploy ejb on glassfish and how to write a client to use it.but when i try to use the ejb,it said the ejb can not be found or the jndi name are not bound to any class.finally i found if i want to bound a jndi name to a ejb on glassfish,i must write a sun-ejb-jar.xml file manually.
By the way,we can not see the out put on console when we use glassfish V2.1 The output is written to C:/glassfish/domains/domain1/logs/server.log