请问如果我安装了weblogic,把weblogic做容器,直接用记事本写EJB,然后运行,可以吗?如果行,是不是也要象TOMCAT 那样去配置一个工作目录,怎么配置?谢谢

解决方案 »

  1.   

    这些和安装WL时的设置有关系,可以对照修改
    Tools->Configure Servers->WebLogic Application Server X.X
    选中Enable server
    [Ceneral选项卡]
    Home directory:     WL安装路径/WeblogicXXX/server
    Working directory:  WL安装路径/user_projects/mydomain[要使用的域]
    [Custom选项卡]
    BEA home directory: WL安装路径
    Domain directory:   WL安装路径/user_projects/mydomain
    User name:          name
    Password:           password
    Server name:        myserver[安装时给server的名字]
    Add a Admin Console item to the Tools menu:不选如果想把WL做为默认服务
    Project->Default Projects Properties->Server选项卡
    Single server for all services in project:选中Weblogic Application Server X.X