• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reflection on ejbs  RSS feed

 
sony gam
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I was wondering if ejbs support reflection.
That is can I say,
Class class = Class.forName("//some remote interface fully qualified class name");
Thanking you in anticipation,
Sony Gam
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can certainly reflect on the Home and Remote interfaces and use those to invoke() methods on EJB stubs. We've done that many times.
Kyle Brown
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
 
sony gam
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kyle,
Thank you very much.
Actually I have made a silly mistake, I have put .class also along with the fully qualified name and so I got a class not found exception.
Anyway thanks a lot,
Sony gam
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!