Shrikant,
There is an easier way to do this. In the source, the @ejb:finder tags are missing their query attributes. If you add these, the queries get generated into the ejb-jar.xml automatically.
I have attached a patch file to fix this. It would be good if someone at JBoss would give the released template archive an overhaul. This is pretty much a show stopper that will deter potential new users.
Regards,
Marco