aspose file tools*
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
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: 9622
    
    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: 9622
    
    2

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

Joined: Sep 26, 2006
Posts: 9622
    
    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: 10289
    
168

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: 9622
    
    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: 9622
    
    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