我在Jboss 4.2.3中部署了我的EJB3。我現在如何訪問它?我沒有看到任何JNDI名稱或控制檯中顯示的任何內容。以下是EJB部署的堆棧跟蹤。在Jboss 4.2.3中部署了EJB3。我們如何訪問它?
如何編寫客戶端訪問ExtractorDAOImpl中的方法?
15:38:48,535 INFO [EARDeployer] Init J2EE application: file:/C:/ejbtest/jboss-4.2.3.GA/server/default/deploy/mytestejb.ear 15:38:48,804 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer 15:38:48,811 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=mytestejb.ear,jar=mytestejb-ejb-1.0-SNAPSHOT.jar,name=ExtractorDAOImpl,service=EJB3 with dependencies: 15:38:48,848 INFO [EJBContainer] STARTED EJB: com.myorg.mytestejb.dao.ExtractorDAOImpl ejbName: ExtractorDAOImpl 15:38:48,889 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer 15:38:48,889 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=mytestejb.ear,jar=mytestejb-ejb-1.0-SNAPSHOT.jar,name=Extractor,service=EJB3 with dependencies: 15:38:48,899 INFO [EJBContainer] STARTED EJB: com.myorg.mytestejb.Extractor ejbName: Extractor 15:38:48,938 INFO [EJB3Deployer] Deployed: file:/C:/ejbtest/jboss-4.2.3.GA/server/default/tmp/deploy/tmp19095mytestejb.ear-contents/mytestejb-ejb-1.0-SNAPSHOT.jar 15:38:48,946 INFO [EARDeployer] Started J2EE application: file:/C:/ejbtest/jboss-4.2.3.GA/server/default/deploy/mytestejb.ear