你试试sessionBean看看是不是还是这样,我这样做没有问题

解决方案 »

  1.   

    我试sessionBean是可以的,很正常,但是这个EntityBean就没有ejb name可选了
    我建立了一个pubs数据库中的authors表(sqlserver 2000中)
    但选时没有这个名,是不是要有别的什么配置
      

  2.   

    多在jb8中双击Demo11下的Authors出现好多page,如下
    General, Environment,EJB Refreences, Resource References,Security Role References,
    Properties, Security Identity, EJB Local References, Resource Env Refs, WebLogic 7.x Properties, WebLogic 7.x General, WebLogic 7.x Cache
    这么多页,里面我要改什么吗?
    多指教
    Entity Bean 'Authors'
    这里边东西我用动吗
      

  3.   

    Entity Bean 'Authors'下面列了好多项:
    bean class;
    home inferface;
    remote inferface;
    local home interface;
    local interface;
    home jndi name;
    local home jndi name
    descrption这里除了home infterface , remote interface其它都有默认值,home infterface , remote interface这两项我应填写什么,
      

  4.   

    以你的程序看不用动
    填本地接口类和远程接口类
    你最好看看EJB的基本概念,否则以后用JNDI还会有不少麻烦的