Hi,

i think about the following problem:
i represent a directory (like dmoz.org) in two tables:

+-----------------------+
| tree                  |
+-----------------------+
| id        integer pk  | <--+-+-+
| name      varchar     |    | | |
| parent    integer     | ---+ | |
| ...                   |      | |
+-----------------------+      | |
                               | |
+-----------------------+      | |
| links                 |      | |
+-----------------------+      | |
| id        integer pk  |      | |
| rel1      integer     | -----+ |
| rel2      integer     | -------+
| name      varchar     |
+-----------------------+

some example data:

table tree
+----+-------------------------+--------+
| id | name                    | parent |
+----+-------------------------+--------+
| 1  | root                    | -1     |
| 2  | food                    |  1     | 
| 3  | vehicle                 |  1     |
| 4  | meat                    |  2     |
| 5  | drinks                  |  2     |
| 6  | cars                    |  3     |
| 7  | transporter             |  6     |
+----+-------------------------+--------+

table links
+----+------+------+--------------------+
| id | rel1 | rel2 | name               |
+----+------+------+--------------------+
| 1  | 5    | 7    | transporter        |
+----+------+------+--------------------+

in the example above i represent the following structure:

root
+- food
|  +- meat
|  +- drink
|     + link:transporter   ----+
+- vehicle                     |
   +- cars                     |
      +- transporter       <---+


my problem is to represent this structure in cmp ejb. 
any ideas? is it possible to access these objects
over SOAP webservices?   

thanx a lot
markus

p.s. please help, any examples would be nice

-- 
-------------------------------------------------------------------------------
 Markus Garscha                    
 Germany                                                  pgp-keyid: 0xEE18AF3B  
-------------------------------------------------------------------------------

Attachment: msg26310/pgp00000.pgp
Description: PGP signature

Reply via email to