File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes  Unable to Connect EJB 3.0 from Client. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark " Unable to Connect EJB 3.0 from Client." Watch " Unable to Connect EJB 3.0 from Client." New topic

Unable to Connect EJB 3.0 from Client.

Hemant kec

Joined: May 23, 2012
Posts: 1
I am using EJB 3.0 with WebSphere server 7.0 in windows 64 machine.
I am trying to connect form Client to EJB 3.0 bean.

The sample project is as follows
package dellejb3;
import javax.ejb.Local;
* DellEJB3 local interface
public interface DellEJB3Local {
public void Hello();
package dellejb3;
import javax.ejb.Stateless;
* Session Bean implementation class DellEJB3
public class DellEJB3 implements DellEJB3Local {
* Default constructor.
public DellEJB3() {
public void Hello()

I am facing lot of issue to connect the EJB from some Client.

1) After deploying the EJB, I am unable to see JNDI name in Webshpere 7.0
2) How to connect to EJB from Client. I tried lot of combination but dose not work.

3) META-INF folder contains only MANIFEST.MF file.

Can you please let me know how to lookup in this case.

With Regards
Hemant Joshi.
Palak Mathur
Ranch Hand

Joined: Jan 29, 2007
Posts: 316

Please use code tags.

Palak Mathur | My Blog | TechJaunt | What is JavaRanch? | List of All FAQs
Myyron Murray Latorilla
Ranch Hand

Joined: Dec 10, 2009
Posts: 65

shows here that you only have a LOCAL interface, you should be able to acquire the EJB thru injection. But then the question is what is your client? it may need to use a remote interface and do a lookup for the EJB.
I agree. Here's the link:
subject: Unable to Connect EJB 3.0 from Client.
It's not a secret anymore!