Implementation of adwords using PL/SQL and java