Vendor here:)
First, you will probably be better served sending this in to
[EMAIL PROTECTED] - they have been swamped lately, but have good
information.
Second, the reason you are having so much trouble with the mapping shipped
in a standard WL distribution is that we aren't trying to be in the OR
mapping space. The best tip I can give you is to check out TopLink, which
will allow you to do some very complex mapping and relationship definition.
TopLink also has the ability to generate persistent store layers directly
for WebLogic (which is how we solve the problem you present). You may need
to get some early access, though.
I guess I could present a whole bunch more positioning and marketing (maybe
a little email dance), but I'll assume you can get that from our web site:)
Regards,
Greg
At 03:42 PM 4/5/99 +0100, Ferguson, Jon wrote:
>Hi everyone,
>
>I've just run into a modelling wall - or just have a naive understanding
>of Weblogic's implementation of CMP. Perhaps you can help.
>
>Assume I need to model a car as a course grained component. Since a car
>is rather complex I use aggregation to connect up all its parts. Then I
>say things like 'start' and 'stop'. Assuming I'm using a relational
>database, my first instinct is that the car will have a data model using
>several tables, possibly with joins. It appears that using Weblogic and
>CMP I can only model simple: attribute=field type relationships from a
>record of a single table. Thus it seems like I therefore must model
>each simple component as a separate entity bean and then wrap the sum in
>a 'car' session bean.
>
>If this is the only way to do this using CMP and Weblogic then I can
>suffer it - but I don't like. Firstly, because this forces me to
>aggregate at a much finer level than the object-model requires, and
>therefore, opens up a much wider interface to abuse. Secondly, I
>instinctively think of communications between beans as being less
>efficient than standard object-to-object communications.
>
>I've used other EJB servers which do cope with more complex senarios so
>am I missing something?
>
>Many thanks in advance.
>
>Jon
>
>Jon Ferguson
>Senior Software Engineer
>Petrotechnics Ltd.
>email: [EMAIL PROTECTED]
>
>===========================================================================
>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".
----------------------------------------------
Greg Desmarais
Practice Manager, WebLogic
BEA Systems
(ph) 617-742-8045
(fax) 617-720-3598
(email) mailto:[EMAIL PROTECTED]
(www) http://www.beasys.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".