Wei,

In the EJB 1.0 spec, ejbCreate() is required to return "void" for stateless
and stateful session beans and for container-managed entity beans and to
return "an instance of the primary key class" for bean-managed entity beans
-- this is what WebLogic does (and has done all along).  In the EJB 1.1
spec, ejbCreate() on both CMP and BMP entity beans will be required to
return "an instance of the primary key class".  WebLogic will fully support
the EJB 1.1 spec in an upcoming release, now that it has been finalized.

Also according to the spec (both 1.0 and 1.1), the EJB container always
returns the remote object reference to the client that called create()
(which caused the call to ejbCreate()).

Hope this clears up any confusion,
Robert

At 05:48 AM 10/1/99 -0700, you wrote:
>If I remember it correctly, WebLogic does not
>realy compliant with EJB spec. ejbCreate returns
>the remote object, instead of void.
>
>--- Richard Monson-Haefel <[EMAIL PROTECTED]>
>wrote:
>> Pankaj Tandon wrote:
>>
>> > Hi,
>> > I have a bunch of eJBs that happily  run on
>> Weblogic's WLS4.5.  I tried
>> > deploying these eJBs on J2EE using the deploytool
>> provided with t he
>> > download. Boy.. was that an uphill task! The java
>> app called deployment
>> > tool refuses to move ahead of step 3 in the eJB
>> JAR wizard issuing a series
>> > of exceptions. (I input my CustomerBean.class etc.
>> hoping it would take it
>> > from there)
>> > Has someone been successful in deploying eJBs from
>> other eJB servers on
>> > J2EE?
>> >
>>
>> If Weblogic still requires you to declare EJBContext
>> variable types as
>> transient that could be the source of your problem
>> since EJB 1.1 forbids this.
>>
>> Also (just a suggestion) you might want use the
>> J2EE-INTEREST mailing list
>> since its more focused on J2EE RI stuff.
>>
>> --
>> Richard Monson-Haefel
>> Author of Enterprise JavaBeans
>> Published by O'Reilly & Associates
>> ( http://www.monson-haefel.com )
>>
>>
>===========================================================================
>> To unsubscribe, send email to [EMAIL PROTECTED]
>> and include in the body
>> of the message "signoff EJB-INTEREST".  For general
>> help, send email to
>> [EMAIL PROTECTED] and include in the body of the
>> message "help".
>>
>>
>
>
>=====
>
>__________________________________________________
>Do You Yahoo!?
>Bid and sell for free at http://auctions.yahoo.com
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff EJB-INTEREST".  For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to