Hii
In the case of EJBs, how many stubs & skeletons are created and who does create them ??
Shoj
-
Stubs & Skletons (5 messages)
- Posted by: Shoj mr
- Posted on: May 17 2004 02:15 EDT
Threaded Messages (5)
- Stubs & Skletons by Paul Strack on May 17 2004 12:16 EDT
- Stubs & Skletons by Shoj mr on May 18 2004 01:05 EDT
-
Stubs & Skletons by Paul Strack on May 18 2004 11:10 EDT
-
Stubs & Skletons by Shoj mr on May 20 2004 12:58 EDT
- Stubs & Skletons by Paul Strack on May 20 2004 11:03 EDT
-
Stubs & Skletons by Shoj mr on May 20 2004 12:58 EDT
-
Stubs & Skletons by Paul Strack on May 18 2004 11:10 EDT
- Stubs & Skletons by Shoj mr on May 18 2004 01:05 EDT
-
Stubs & Skletons[ Go to top ]
- Posted by: Paul Strack
- Posted on: May 17 2004 12:16 EDT
- in response to Shoj mr
In the case of EJBs, how many stubs & skeletons are created and who does create them
There is one stub/skeleton per EJB class. The EJB server's compiler tool creates them. This happens (a) when you deploy the EJB to the server or (b) by pre-compiling the EJB using the servers EJB compilation tool (for example, the "ejbc" tool for Weblogic). -
Stubs & Skletons[ Go to top ]
- Posted by: Shoj mr
- Posted on: May 18 2004 01:05 EDT
- in response to Paul Strack
Hii
In the case of EJBs we have both Home Objects & EJB Objects, what both of them have stubs & skeleton ??
When we do a look up for an EJB we get the Stub of Home Object corresponding to the bean & when we call the create method on the Home Object Stub we will get the Stub of EJB Object
Is this correct ??
Thanks
Shoj -
Stubs & Skletons[ Go to top ]
- Posted by: Paul Strack
- Posted on: May 18 2004 11:10 EDT
- in response to Shoj mr
When we do a look up for an EJB we get the Stub of Home Object corresponding to the bean & when we call the create method on the Home Object Stub we will get the Stub of EJB Objec. Is this correct
That's correct. -
Stubs & Skletons[ Go to top ]
- Posted by: Shoj mr
- Posted on: May 20 2004 00:58 EDT
- in response to Paul Strack
Thanks Strack
So the conclusion is we have two stubs
& 2 skletons
Shoj -
Stubs & Skletons[ Go to top ]
- Posted by: Paul Strack
- Posted on: May 20 2004 11:03 EDT
- in response to Shoj mr
Well ... it depends.
So far as I know, two stubs is correct. But I have seen some EJB servers optimize by creating a single "combined" skeleton on the server-side to handle both home and remote invocations.
You have to be careful about sweeping generalizations on how EJBs work "under the cover", because different EJB vendors implement the gritty details in a variety of ways.