Consider Java
Jay's Tech Blog
2007-11-20
访问EJB
Local的是不能在EJB外访问的, 否则会报这样的异常:
javax.ejb.EJBException: Invalid invocation of local interface (null container)
如果想独立启动junit测试访问ejb, 需要把ejb声明为Remote.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment