Why is this a web app? For many companies even letting your service see the database metadata is not going to be viable. i.e. you're excluding the potential customers with the most money.
Would you create A maven plugin ? An eclipse plugin ? A standalone application like codesmith ? How you would protect it ?
What pricing model would you choose ?