Want to build my own gateway

Hi All,

I am new in this… can any one of you give me any idea about how can i build a gateway which will interact with my local Openfire server and subsequently that gateway will also interact with another external server?

I want to establish the communication between my server and Openfire through this gateway …

Any help from you experts will be highly appreaciated…