This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Help regarding RemoteClient Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Help regarding RemoteClient" Watch "Help regarding RemoteClient" New topic
Author

Help regarding RemoteClient

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9344
    
    2

Guys,

How would a Remote Client which is running in a seperate container (not in the same place where EJB components are deployed i.e., in a place where I cannot use DI) look like in EJB 3?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9344
    
    2

To put it in other words my client is not a managed class.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9344
    
    2

I would also be glad to know how I can handle my RemoteException in my client written for EJB 3?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9912
    
158

To put it in other words my client is not a managed class.


You mean, how the lookup code would look like?


I would also be glad to know how I can handle my RemoteException in my client written for EJB 3?


Can you please elaborate?


[My Blog] [JavaRanch Journal]
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9344
    
    2

Originally posted by Jaikiran Pai:


Can you please elaborate?


Yes, how will my client code look like? How should I handle RemoteExceptions in such a client code?
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9344
    
    2

So I do a lookup on my Remote Interface where there is no Home interface for a EJB 3 stateless bean.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help regarding RemoteClient
 
Similar Threads
start studying...
EJBQL
Passivation and its storage
Exception while client is doing a lookup for Entity beans
IDEA from intellij the best IDE I've ever used