Just a (maybe stupid) question : what's the interest of using EJB if you
already have Corba ? Apparently, i see a disadvantage in the fact your methods
return objets keys, rather than object themselves. Can't you use another Corba
object  to browse your hierarchy, whose methods would return objects directly ?

Le mar, 21 mar 2000, vous avez �crit :
 > Hi,
>
> I apologise if this has been answered previously. The problem is :-
>
> I have a corba server which maintains a tree hierarchy of corba objects
> defined in some fixed idl, i.e (simplified) Project-Report-Documents. I am
> only interested in manipulating documents, the project and report objects
> just contain dumb attributes (i.e name, description). The document however
> is the entity which needs to be operated on.
>
> I have to be able to navigate to the document displaying a tree structure on
> the client side. I want to manipulate the document using a stateful session
> bean (maintains a reference to the corba server)
>
> My question is how do I model the corba tree structure and navigate it. My
> first passwas
>
> i) The session bean should have methods like String[] getProjects(),
> String[] getReports(String projectId), String[]
> getDocuments(projectId,reportId), setCurrentDocument(String projectId,
> reportId, documentName). Each method would delegate to the appropriate corba
> proxy.
>
> This looks very wrong! I am getting the impression that the hierarchical
> structure on the corba server represent a directory structure. Could I
> construct/maintain a (LDAP) directory which reflected the hierarchy store on
> the CorbaServer. Then EJB beans could also use this directory to find
> documents.
>
> Another problem how do you ensure that the JNDI structure is synchronised
> with the actual hierarchy that the corba objects represent.
>
> Regards
>
> Kieron Edwards

--
Guillaume Rousse

Iremia - Universit� de la R�union
15 avenue Ren� Cassin, BP 7151
97715 Saint Denis, messagerie cedex 9
Tel:0262938330 Fax:0262938260 ICQ:10756815

And now, some words for our sponsor :
Explosives, guns, assassination, conspiracy, primers, detonators, Kakadan,
initiators, main charge, nuclear charges, ambush, sniping, motorcade, IRS,
ETA, FARC, Cuba, Castro, Che Guevara, revolution, ATTAC, BATF, jtf-6...

===========================================================================
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