Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB3.0 deployed on WAS7.0 does not work on remote beans ?  RSS feed

Frodo Ba
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all. This is my first post so please be nice.

I am trying to access one EJB remotely from inside another EJB. They are deployed on my localhost app-server WAS7.0 and in two different ear-projects.
My projects are very simple setup to keep things nice and easy: test-app-ear, test-app-web, test-app-ejb and then the project to simulate the remoteness: test-service-ear and test-service-ejb.
I am trying to access the test-service-ejb from test-app-ejb. I DO have genereated the ibm-ejb-jar-bnd.xml files in both ejb projects, but when I try to access the remote bean it is null.

The relevant ejb-code look like this:
* Session Bean implementation class MyAppEjb
public class MyAppEjb implements MyAppEjbLocal {

MyServiceEjbRemote myServiceEjbRemote;

* Default constructor.
public MyAppEjb() {
// TODO Auto-generated constructor stub

public String applicationSayHello() {
return "hello from application";

So..does anyone know what more is needed to actually instanciate myServiceEjbRemote ?

Thanks in advance.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!