• 大小: 5.98MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-24
  • 语言: Java
  • 标签: ejb  java  

资源简介

java实现,整个项目源码,包括企业知识库管理的各个模块

资源截图

代码片段和文件信息

package com.xjf.ekms.beanhelper;
import javax.naming.InitialContext;
import javax.naming.Context;
import javax.naming.NamingException;
import javax.ejb.EJBException;

import com.xjf.ekms.sessionbean.login.*;
import com.xjf.ekms.sessionbean.manager.*;
import com.xjf.ekms.sessionbean.view.*;

public class EJBGetter {
public static LoginLocal getLoginLocal()throws NamingException{

try{
Context initial = new InitialContext();
LoginHomeLocal homelocal = (LoginHomeLocal)initial.lookup(“LoginHomeLocal“);
return (LoginLocal)homelocal.create();
}catch(Exception e){
e.printStackTrace();
throw new EJBException(e);
}
}
public static ManagerLocal getManagerLocal()throws NamingException{

try{
Context initial = new InitialContext();
ManagerHomeLocal homelocal = (ManagerHomeLocal)initial.lookup(“ManagerHomeLocal“);
return (ManagerLocal)homelocal.create();
}catch(Exception e){
e.printStackTrace();
throw new EJBException(e);
}
}
public static ViewLocal getViewLocal()throws NamingException{

try{
Context initial = new InitialContext();
ViewHomeLocal homelocal = (ViewHomeLocal)initial.lookup(“ViewHomeLocal“);
return (ViewLocal)homelocal.create();
}catch(Exception e){
e.printStackTrace();
throw new EJBException(e);
}
}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        304  2008-04-28 10:11  源码\EKMS\.classpath

     文件        789  2008-04-27 18:52  源码\EKMS\.project

     文件        330  2008-04-27 18:52  源码\EKMS\.settings\org.eclipse.jdt.core.prefs

     文件        209  2008-04-27 18:52  源码\EKMS\.settings\org.eclipse.jst.common.project.facet.core.prefs

     文件        225  2008-04-27 18:52  源码\EKMS\.settings\org.eclipse.wst.common.component

     文件        200  2008-04-27 18:52  源码\EKMS\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件     139701  2008-06-22 23:17  源码\EKMS\build\classes\EKMS_EJB.jar

     文件    1177692  2008-06-22 23:16  源码\EKMS\build\classes\EKMS_WEB.war

     文件     139701  2008-06-22 23:17  源码\EKMS\EarContent\EKMS_EJB.jar

     文件    1177692  2008-06-22 23:16  源码\EKMS\EarContent\EKMS_WEB.war

     文件        659  2008-04-28 09:45  源码\EKMS\EarContent\meta-INF\application.xml

     文件     139701  2008-06-22 23:17  源码\EKMS\src\EKMS_EJB.jar

     文件    1177692  2008-06-22 23:16  源码\EKMS\src\EKMS_WEB.war

     文件        393  2008-04-28 10:20  源码\EKMS_EJB\.classpath

     文件        853  2008-04-27 18:50  源码\EKMS_EJB\.project

     文件        209  2008-04-27 10:22  源码\EKMS_EJB\.settings\org.eclipse.jst.common.project.facet.core.prefs

     文件        287  2008-04-27 18:50  源码\EKMS_EJB\.settings\org.eclipse.wst.common.component

     文件        229  2008-04-27 10:22  源码\EKMS_EJB\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件       1731  2008-06-15 22:13  源码\EKMS_EJB\build\classes\com\xjf\ekms\beanhelper\EJBGetter.class

     文件       2300  2008-06-15 22:13  源码\EKMS_EJB\build\classes\com\xjf\ekms\cmp\careerrequire\CareerRequireBean.class

     文件        621  2008-06-15 22:13  源码\EKMS_EJB\build\classes\com\xjf\ekms\cmp\careerrequire\CareerRequireHomeLocal.class

     文件        311  2008-06-15 22:13  源码\EKMS_EJB\build\classes\com\xjf\ekms\cmp\careerrequire\CareerRequireLocal.class

     文件       2334  2008-06-15 22:13  源码\EKMS_EJB\build\classes\com\xjf\ekms\cmp\community\CommunityBean.class

     文件        567  2008-06-15 22:13  源码\EKMS_EJB\build\classes\com\xjf\ekms\cmp\community\CommunityHomeLocal.class

     文件        283  2008-06-15 22:13  源码\EKMS_EJB\build\classes\com\xjf\ekms\cmp\community\CommunityLocal.class

     文件       1928  2008-06-15 22:13  源码\EKMS_EJB\build\classes\com\xjf\ekms\cmp\copculture\CopCultureBean.class

     文件        563  2008-06-15 22:13  源码\EKMS_EJB\build\classes\com\xjf\ekms\cmp\copculture\CopCultureHomeLocal.class

     文件        290  2008-06-15 22:13  源码\EKMS_EJB\build\classes\com\xjf\ekms\cmp\copculture\CopCultureLocal.class

     文件       2032  2008-06-15 22:13  源码\EKMS_EJB\build\classes\com\xjf\ekms\cmp\customer\CustomerBean.class

     文件        580  2008-06-15 22:13  源码\EKMS_EJB\build\classes\com\xjf\ekms\cmp\customer\CustomerHomeLocal.class

............此处省略852个文件信息

评论

共有 条评论