Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help regarding RemoteClient

 
Joe Harry
Ranch Hand
Posts: 10106
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Joe Harry
Ranch Hand
Posts: 10106
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To put it in other words my client is not a managed class.
 
Joe Harry
Ranch Hand
Posts: 10106
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would also be glad to know how I can handle my RemoteException in my client written for EJB 3?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Joe Harry
Ranch Hand
Posts: 10106
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10106
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I do a lookup on my Remote Interface where there is no Home interface for a EJB 3 stateless bean.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic