Zabag (Chinese: Sanfotsi; Sanskrit: Suvarnadvipa, Javaka; Arabic: Zabaj) is thought to have been an ancient kingdom located south of China somewhere in Southeast Asia, between the Chenla Kingdom (now Cambodia) and Java. The established studies by several historians associated this kingdom with Srivijaya and pointed its location somewhere in Sumatra, Java or Malay Peninsula. However its exact location is still the subject of debate among scholars. Other possible locations such as northern Borneo and Philippines are also suggested.
Reference to the Sri Lankan materials, king Chandrabhanu Sridhamaraja is one of Javakan kings from Tambralinga kingdom, one the kingdoms in the prehistory period of Nusantara, who had invaded Sri Lankan in 1247. However the Javaka has not occurred here for the first time. Many scholars identify Srivijaya with the Arabic Zabaj, which most scholars agree in equating with Javaka (in Pali texts) that appear in Indian sources.
The naval force of a Maharaja of Zabaj had ever played a major role in a legend recorded by an Arabic merchant name Sulaimaan in 851, and published by the historian Masoudi in his 947 book "Meadows of Gold and Mines of Gems." He described the story of one silly Khmer king who defied the power of the Maharaja of Zabaj. Eventually how the end of the story was, he wrote down the Legend of the Maharaja of Zabaj.
Some scholars have sought to link this Maharaja of Zabaj with the Sailendra king of Java. However, there are few evidences to prove that the Maharaja of Zabaj is the same king of Sailendra. While the Javakan king of Tambralinga had been linked direct to Maharaja of Zabaj. Therefore, the Javaka had occurred in The history since 9th century. In addition Javakan king also occurred in the history of Lavo kingdom, one the kingdoms in the prehistory period of Nusantara.