title: Write a firefox plugin and access it from a java application
body: <p>I want to write a firefox plugin which will communicate with a java application.
  The plugin will have to notify the java application of the web page/ url being loaded.
  The java application will take care of the rest.</p>
  
  <p>Any help or pointers will be much appreciated.</p>