"S. von Knellehekje" wrote: > > I'm writing some support software and want to use EJB and a 3-tier model, > because I think that the best option. I can't, however, figure out how to > allow the users of the software to add fields to the beans in the datalayer > without having them to rewrite my beans. > > My first guess was to use extension of my databeans but that means chancing > the type of the variables used to store the home and remote interface's in > my 2nd tier (or doesn't it?) and rewriting the home interface because of the > return types of the create method and some of the findBy methods. > > I think this is quite a common problem, but I can't seem to find anything on > how to solve it. Can anybody tell me how to tackle this or point me to some > possible solutions / resources? One way to do this is to define the interface to your entity as an XML document. You can then write a general purpose Entity Bean that reads and writes to any database table. Ian McCallion Alexis Systems Limited Romsey, UK =========================================================================== 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".
