• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB 3.1 No Local interface

 
Ban San
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am presently doing some work on Glassfish ejb 3.1 container.

I am not becoming able to decipher the mechanism behind the No Local interface
view(where one need not to write the local interface for a EJB).

I would be obliged if you can put some light on it and give me some direction to
advance further
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ban San wrote:
I am not becoming able to decipher the mechanism behind the No Local interface
view(where one need not to write the local interface for a EJB).


Sorry, I don't completely understand the question. Are you asking, how to use/lookup nointerface view?
 
Ban San
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jai,

Nice to get a reply from a knowledgable person like you.

Of late i am just playing with Open EJB code, and trying to submit a patch related to
No Local Interface view.

In this course, I am just trying to decipher the way No Local Interface View is implemented in Glassfish Ejb Container.

1. Firstly, Glassfish EJB Container genereates a interface dynamically for each No Local Interface view Session Beans.
The naming structure of these interfaces follow a common pattern (_EJB31_Generated_<<Our Bean name>>__Intf__)
Do you have any idea how this is generated dynamically?


2. Secondly, I am still bit unaware how the lookup mechanism using either JNDI or @EJB takes place in
glassfish for no local interface view




 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ban San wrote:

In this course, I am just trying to decipher the way No Local Interface View is implemented in Glassfish Ejb Container.

1. Firstly, Glassfish EJB Container genereates a interface dynamically for each No Local Interface view Session Beans.
The naming structure of these interfaces follow a common pattern (_EJB31_Generated_<<Our Bean name>>__Intf__)
Do you have any idea how this is generated dynamically?

2. Secondly, I am still bit unaware how the lookup mechanism using either JNDI or @EJB takes place in
glassfish for no local interface view




Sorry, I haven't looked at their implementation.

 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, if you are looking for Glassfish specific implementation details, then you might have a better chance on their mailing list or forums.

 
Ban San
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply. Anyway, I somewhat figured out Glassfish's methodology.
They are using ASM, and generating the interfaces related to the session bean
dynamically.
How about JBOSS? How are you doing that in case of JBOSS?
Is there any document where the implementation methodologies are documented
(EJB 3.1 features) for JBOSS?
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ban San wrote:
How about JBOSS? How are you doing that in case of JBOSS?
Is there any document where the implementation methodologies are documented
(EJB 3.1 features) for JBOSS?


We use Javassist. We don't have any internal implementation documentation for that, atleast not yet.
 
Ban San
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One more question. What is the ORB used for JBOSS ejb container?
Are the stubs skeletons generated is of dynamic nature?
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JBoss IIOP
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!