I need to access the Add General Section Block page in a iFrame from Java webapp. The intent is to add a block or a page from Java web app. Instead of writing to the drupal tables myself in java, I was thinking to open a iFrame in java webapp and point the iFrame to drupal add block page and add it this way. In this approach, I won't have to write the code to insert data in drupal database which is very convoluted. I just need to add the drupal block in java by displaying drupal Add block page in iFrame and drupal would do the rest to insert into the tables. 

Any help would be really appreciated. Thanks.