• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB 3.1 No Local interface

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JBoss IIOP
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic