create test program by jb6
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   zhebin_cong
Posted On:   Tuesday, March 12, 2002 03:31 AM

hello i creating entity beans from an imported data source ( right click the table name->Create entity bean ),after that i want to immedietaly create a test client program,as follow: file->new->enterprise->EJB Test Client ,the " ejb test client wizard " appear,but the " ejb name " drop-down-list is empty,then i check " from jar or directory " radio select,specify the jar file manually,then click ok,it tell me " can not find a valid EJB Home class " why? my home class created by jbuilder6 as follow: package com.mansin.entity; import javax.ejb.*; import java.util.*;    More>>

hello


i creating entity beans from an imported data source ( right click the table name->Create entity bean ),after that i want to immedietaly create a test client program,as follow:


file->new->enterprise->EJB Test Client ,the " ejb test client wizard " appear,but the " ejb name " drop-down-list is empty,then i check " from jar or directory " radio select,specify the jar file manually,then click ok,it tell me " can not find a valid EJB Home class " why?


my home class created by jbuilder6 as follow:


package com.mansin.entity;


import javax.ejb.*;
import java.util.*;

public interface AuthorsHome extends javax.ejb.EJBLocalHome {
public Authors create(java.lang.String auId) throws CreateException;
public Authors findByPrimaryKey(java.lang.String auId) throws FinderException;
}



thank you!

   <<Less
About | Sitemap | Contact