由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Difference btw EJBLocalHome and EJBHome?
相关主题
这三种方法获得EJB有何不同?JEE EJB Question
Re: EJB and its Future (Discussion welcomed)关于EJB开发的几个问题
请教一下JSP+SERVLET结构的进阶教材,多谢了How do I send cookies from a servlet?
interview求助理解Java Servlets [fwd]
简单的EJB问题Another Servlet Problem:Browser Caching
光学Java Standard 本身是不是永远不够?need your comments
java在美国到底怎样?请推荐servlet还有jsp的书
OutofMemoryError: Java Heap Spaceservlet读取directory的基本问题
相关话题的讨论汇总
话题: ejbhome话题: ejb话题: difference话题: servlet
进入Java版参与讨论
1 (共1页)
c***c
发帖数: 6234
1
I am a new EJB programmer. I read some sample codes
Why in EJB web services, EJBLocalHome is used and pure EJB servlet uses
EJBHome as interface?
Thank you for all your commens
c*****s
发帖数: 214
2

一般Home就行了,工作在远程(Servlet, JSP)这头。本地(EJB的Container这边)如果你
也想用它就通过LocalHome。

【在 c***c 的大作中提到】
: I am a new EJB programmer. I read some sample codes
: Why in EJB web services, EJBLocalHome is used and pure EJB servlet uses
: EJBHome as interface?
: Thank you for all your commens

r*****l
发帖数: 2859
3
You should know the pros and cons of local and remote interfaces, right?
In the WS case, the beans needed are local, i.e. in same JVM.
In the servlet case, the servlet container and application server may
run in different JVMs. It's also possible that they are in one JVM but
the developer plan to seperate them together, or they just like remote
interface.

【在 c***c 的大作中提到】
: I am a new EJB programmer. I read some sample codes
: Why in EJB web services, EJBLocalHome is used and pure EJB servlet uses
: EJBHome as interface?
: Thank you for all your commens

1 (共1页)
进入Java版参与讨论
相关主题
servlet读取directory的基本问题简单的EJB问题
运行servlet时出现的http status 404问题光学Java Standard 本身是不是永远不够?
Where I can find comparison of JVMsjava在美国到底怎样?
What are the key features of the EJB technology?OutofMemoryError: Java Heap Space
这三种方法获得EJB有何不同?JEE EJB Question
Re: EJB and its Future (Discussion welcomed)关于EJB开发的几个问题
请教一下JSP+SERVLET结构的进阶教材,多谢了How do I send cookies from a servlet?
interview求助理解Java Servlets [fwd]
相关话题的讨论汇总
话题: ejbhome话题: ejb话题: difference话题: servlet