Srikanth,
You don't execute a jar file. You can call a JPA (
EJB 3) entity from a session bean or
servlet (or another class using JNDI lookup.)
What does your Ant script do? What error is it giving you? More details will help you get a more targeted answer.