There is code writen in a bean to update the DataBase fields using set field name methods,but we don't know the where the database tables and fields are mapped exactly. we are using struts with ejb. as of my knowledge we write in some xml file. but ,we donno the exact file. so,please kindly help me out in this by sending any example for entity beans with inserts or modifies some info in database with struts config or give any example which suits above mentioned requirements.