Skip to Main Content
Enterprise JavaBean (hereafter EJB) technology has been widely adopted in software industry to develop Web information systems. However, most of EJB applications are reengineered from legacy database applications. This means that legacy SQL statements need to be translated into EJB client code. Since many methods in Enterprise Beans can be regarded as view definitions of the underlying database, the EJB client code generation can be mapped to the problem of query rewriting using views. This paper addresses the automatic generation of EJB client code using query rewriting.