Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Explanation on EJB elements needed.  RSS feed

 
Timothy Toe
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • 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.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • 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...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!