Create a Group of contacts using java

Hi,

Can anyone give me some example on creating a group of contacts using java in notes?

Thanks in Advance

Madhava