Is there a configuration sample to Xbee Pro 900 Digimesh S3B?

What kind of sample are you looking for. They are designed so that they will communicate right out of the box.

I want to make a simple communication. I’m trying to communicate without an antenna. is there any problem to power on XBee RPSMA without antenna?

Yes, you do need to have antennas on them. If you follow the Quick start guide, it will have you communicating in less than 5 min.

May I use a 2.4 GHz antenna just for a test?

It is not recommended but a mismatched antenna is better than no antenna. Just understand that it may not perform as well.

with an antenna it’s working well.

what the configuration u used to make communication two way between four arduino over xbee