• 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

Explanation on EJB elements needed.

 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anybody explain the relationship between the following items ? :
1 - Home Interface eg HelloHome.java
2 - Remote Interface eg Hello.java
3 - EJBObject
4 - EJBHome
5 - stub
6 - skeleton
When & how each of them are created ? eg when running ejbc
Can explain with an example ? … eg HelloHome
Where can I find the EJBObject and EJBHome .java AND .class files ?
Where can I find the stub and skel .java AND .class files ? Is it in C:\bea\wlserver6.1\tmp_ejb<computer_name>7001 ? But this dir of mine is empty.
I am quite clear that 1 and 2 are written by developers and 3 and 4 are implemented by the container’s tools. When does the auto generation of 3 & 4 happen ?
Btw, I am using Weblogic server and for container specific information, you may use WLS as an example.
Would appreciate any explanation.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you should invest some time in reading a written description of the EJB architecture (such as the official tutorial or Ed Roman's free ebook). Yes, we could discuss each of these here but I'm afraid that would take longer than just reading a book...
 
reply
    Bookmark Topic Watch Topic
  • New Topic