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 pass was 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. The advantage of the first approach is that as the CORBA calls go directly to the actual structure rather than an intermediary directory you know that the structure is current. Regards Kieron Edwards =========================================================================== 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".
