This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Saturday, December 22, 2012

Using jsp as a host server

JSP Hosting Basics 
JSP Hosting is a Java hosting program that has many similarities to Microsoft ASP. JSP hosting refers to the ability to run and manage Java Server Pages. Even though Java Server Pages (JSP) is quite similar to Microsoft's Active Server Pages (ASP) JSP does have slight differences in the hosting environment. 

Java Server Pages is a server-side language that uses simple tag-based codes inserted into HTML and XML to produce dynamic and interactive web pages that are platform independent, meaning that by all rights they should appear exactly the same on every computer screen, regardless of the platform. This is the result when your publish yoy JSP-coded website on a JSP-supported Java hosting provider. 

JSP allows web designers combine dynamically generated HTML in with their standard, static HTML code. While most CGI programs require you to compose the entire website in that one program, JSP allows you to compose the dynamic aspects and the static aspects of your site separately. 

Java Hosting which includes JSP support would be the logical choice of any web designer wishing to eliminate the irritating need to repeat work they've already done. Java hosting, and JSP hosting specifically, would also be an efficient choice for those web designers working with a team.

One of the greatest aspects about JSP is that you don't need to learn Java to use it and it’s practically built into programs like Macromedia Dreamweaver MX.
JSP's use a variety of simple tags. The following are some of the most basic and common ones:
* Directives: <%@directive%> Instructions processed when the page is compiled
* Hidden Comments: <--comment--> Document the page, not sent to the client
* Declarations: <%!declaration%> Declare methods or variables with scope throughout the page.
* Expressions: <%=expression%> A bit more complicated to explain, expressions produce results which are then inserted into the output stream at the appropriate place
* Scriptlets: <%scriptlet%> A fragment of code that can access a declared variable and execute it at a defined time.
* Actions: An XML-style tag that can perform any of a slew of functions

So if you are running JSP, remember that you need to have a host that provides JSP runtime modules on the host side of your web server so that you can run the appropriate scripts.
 

Using managed dedicated web hosting

Managed dedicated web hosting is for an individual or company that wants storage and bandwidth without the restrictions that you get by choosing a free web hosting service. If you have a site which you want to have more bells and whistles programmed into it, then managed dedicated hosting is the way to go. 

Dedicated services give you more email addresses, sometimes up to 500 addresses. It also has storage to support basic database applications on the server side of the web host. This allows for the development of applications that enable you to store data on the server side also and have queries and other types of program and programming scripts embedded into your web-site. 

But the key to these kinds of servers are the bandwidth that’s available to the user. Monthly bandwidth can range from 500 to 1000GB for the user. 

That’s good for your basic SOHO business or home office because if you’re running a small audio or flash application or database on your site, this type of hosting service should do just fine. Also, you can assign the other email accounts to co-workers, family members or whoever you want to.

When you are running web applications over 1,000GB, that’s when you should consider steeping up your web hosting package. There are various types of web plans based on the types of internet applications that you are developing for your business. For example, if you are developing online streaming video content for your site, then you might want to go past the 1000GB limit on your account and get more bandwidth.

As a SOHO or company grows, the need for more bandwidth is paramount especially if you have an intranet in your office or you have people accessing the back end of your web-site to load data from various locations.

Dedicated web hosting is what the majority of individuals and small businesses use until they start growing out of their bandwidth. They usually upgrade their web hosting packages and buy more storage and bandwidth.
 

Friday, December 21, 2012

Using mysql in a hosting environment


MySQL is a heavy-duty database server. Used with various software languages, most notably PHP, and part of the LAMP family (which is comprised of Linux, Apache, MySQL, and PHP),

Whether it's a customer relations management list or medical records, any data you have that needs storing, is stored on a database. You will need a database management system to add, access, edit, and process data in your databases, and MySQL is one of the best and most comprehensive packages on the market. MySQL can also be used as a relational database management system, which means it can store data in various tables that can communicate with one another rather than all in one large "storeroom" of data. 

You can run MySQL as a server in your local device or in a remote server. All you need to access your MySQL databases and MySQL functionality is your server name (such as the name server of your MySQL web hosting provider) or the appropriate IP address. You can then input your various commands, most likely using PHP scripts, to interact with your various databases. These commands are written on programming scripts. 

When choosing a MySQL web hosting provider, you'll want to consider some additional factors beyond the standard uptime, backup/redundancy systems, bandwidth, email, and bandwidth concerns. 

* Databases: If you're seeking a MySQL web hosting provider, you're surely planning on making databases a significant part of your web-presence. You therefore need to find a MySQL hosting provider that offers you at least as many data structures as you might need. A host that promotes itself as a MySQL hosting provider must offer its clients with multiple websites at least five databases.

* Interface: You'll be working with your databases intimately and frequently. You'll want a MySQL hosting provider that's designed its admin interface with the MySQL user in mind. If you have various staff-members involved in the building and maintenance of your various tables and databases, you'll want to be able to create multiple user I.D.'s to allow varying degrees of secure access. CPanel is a good administrative dashboard to have for MySQL databases.

* CRON support: A cron helps you to run specific scripts for regular, routine tasks to be run at periodic intervals. A MySQL hosting provider should allow you to set up and manage crons from your admin control panel. These scripts are also good for Preventive Maintenance routines.

* PHP Info: The most common script for MySQL databases is PHP. A MySQL hosting provider with PHP extensions enabled is likely to be more frustrating than useful to you. By checking into a prospective MySQL hosting provider's PHP capabilities, you can ensure compatibility between your scripting language and your database management, thus saving yourself tons of trouble and loads of regrets later on.

Remember, if you are running MySQL databases; make sure that you get a host that specializes in MySQL hosting.
 

Using subdomains—benefits and drawbacks

Most businesses don’t like to use subdomains because they feel like they give them a disadvantage in many areas, such as having a prefix name before your web-site, being ignored by bots and index spiders in search engines and all in all, it just doesn’t look right. So let’s check our facts on subdomains. 

A subdomain is substitute or second-level of a domain. A regular domain looks as follows: www.jamesbrown.com . A sub domain looks like this 

http://bravenet.jamesbrown.com. Subdomains do not have www on the front of them. All subs start with "http://subdomain/maindomain.com pattern of identification. 

Subdomains rank efficiently well. Search engine spiders and bots are not prejudiced when it comes to the ranking of subdomains and regular domains. As long as your site has the right SEO keywords and has been optimized, whether you have a subdomain or regular domain name doesn’t make a difference at all. 

Let’s pretend that you site has a lot of categories in it. If you were to submit to a search engine, you could submit each subdomain as its own individual category and still get a good ranking. Each subdomain would be looked at by search engines as a new site with its own index or home page. You may want to try creating subfolders on the subdomain to get around this so that search engines can read the folder as one set of site information.

People worry about their subdomain getting banned if the main domain name is banned. If the main domain is banned, it will have an effect on the subdomain. You see this happen often in adult content sites that have violated certain agreements that they have signed with a provider that does not want a domain used for adult material.

Again, there is nothing wrong with using a subdomain. If you want to develop each subdomain as its own entity, then by all means, do so. If not, get yourself a main domain name and use that as a certified landing page.
 

Using unmaneged host servise


If you are a customer that wants total control of your web site administrative functions then you might want to look at unmanaged web hosting services to give you complete remote control administration over your server. The technical side of the server can be controlled by a designated administrator that you pick to handle your web information. 

You have to have a technical person to install the server and manage the server if you don’t have the expertise because you as the customer will be responsible for maintaining the server environment. That’s why unmanaged servers are recommended for individuals and businesses with server administration resources. 

As far as developing applications and controlling the applications without going through technical support personnel on the managed server side, these types of servers are usually used when companies are developing real time response systems on the internet, such as geographical, science, engineering and multimedia/entertainment applications. 

Unmanaged servers allow you to add extra hard disk space to increase your space capacity and many computer companies sell physical servers that are configured for unmanaged hosting applications. Companies like Dell and HP have software programs that not only will run an office network but also handle web server and development applications.

Small businesses that don’t need a server on site and deal with administrative web packages should go with the managed host packages that provide assistance and administrative support. Managed applications will do just fine because of the costs that are incurred with maintaining an unmanaged server. Unmanaged servers need constant upgrades of software and hardware constantly which could cost your small business a big chunk of change.

Unmanaged servers are expensive to maintain and run unless you are a small firm that develops in house web applications. The best advice is to have a consultant draw up an IT plan to see if you need this type of hosting service or not.
 

Web server hosting types

There are different types of hosting services that you can choose from depending on what type of web development and web site that you want to host. 

Dial-Up Access Hosting – This is the most basic access/hosting service and these providers also provides a web page for hosting your site. Dial-up access hosting was the first hosting available and is still around. Most ISP’s specialize in just internet access and it’s rare that you will see an ISP do both. These companies make their money off of providing access to the Internet. 

Development Hosting - Web site developers are buying their own servers and offering independent hosting services for their clients. This is called development hosting in which they provide web development services along with a host server located at their place of business. The consumer gets charged for the development and the maintenance of the web-site. 

Web-Hosting ISP’s. – These are companies that specialize in hosting business web sites. There is no dial up access needed and site owners access their pages via File Transfer Protocol (FTP). This is what the majority of small businesses use to put their site information on the internet. Other services are also included in the Web Hosting ISP package depending on their service plans.

These types of hosting plans are usually for corporations that need a lot of bandwidth to run their web applications. These companies run T1 access lines for big packets of internet data and have multiple connections to an internet backbone. They have fully staffed data processing facilities and the prices are substantial for using these types of services.

Corporate/Industrial Hosting - Companies like Hewlett Packard, Dell or IBM, run the server infrastructure for most of these host companies.

The SOHO business owner will usually need the Web-Hosting ISP services. It is the middle ground between the basic and advanced services.
 

What is web hosting?

A web hosting service provides a service that allows individuals and businesses to post web pages to the internet. A web hosting service provider sells or for free (with advertisements on the web page) is a business that provides the servers and technologies to view web-sites on the internet. 

Web hosting services are services that customers can utilize after they have purchased monthly dial up or broadband services that allow them access to the internet. Web hosting services use hosting and client architecture to load content to the server so web pages and information can be viewed on the internet in its original HTML format. 

A web hosting company will offer clients access to a server that will provide the clients’ content to individuals on the World Wide Web after they make a URL or domain name request. To view pages on the web, you must have a web browser, such as Microsoft Internet Explorer or Netscape Navigator to request the web page from the server after you have purchased internet access.

Web sites are pages that are stored on a computer called a server. The server is a part of a network of computers on the internet or World Wide Web that allows users of the internet to reach your site anywhere in the world at anytime. The internet is open 24 hours, seven days a week around the clock.

Host computers are configured so that when your URL or domain name is typed in, the address will use a pointer routine (look for the address from terminal to terminal) until it reaches the computer that hosts your web-site. Then, if all is okay, your web site should display itself on the users screen.

Hosting companies require that you buy your URL or domain name first before you purchase hosting services. Most hosting companies have a package that will allow you to buy the domain name and hosting at the same time.
 

What is a domain name?

A domain is a name that identifies IP addresses on the internet. The domain name Yahoo.com represents about fifteen (15) IP addresses. Domain names are used to identify Web pages. For example, in the URL http://www.gohome.com/index.html, the domain name is gohome.com. 

You register a domain name by registering with a domain name services registrar. The domain name industry is regulated and overseen by ICANN, which is an organization responsible for providing standards and procedures for certifying companies as domain name registrars. 

Domain name registration has grown over the years. Network Solutions was the first domain name registrar to ever provide such a service. That was over ten years ago but today there are many accredited registrars. Only a domain name registrar is permitted to access and modify the master database domains that are on InterNIC servers. The fee is determined by the registrar as far as getting a domain name and some registers have special domain name packages.

Thursday, December 20, 2012

Indonesia - Hindu_Buddhist civilizations


Hindu-Buddhist civilizations

Early kingdoms


1600-year-old stone inscription from the era of Purnawarman, king of Tarumanagara, founded in Tugu sub-district of Jakarta.
References to the Dvipantara or Jawa Dwipa Hindukingdom in Java and Sumatra appear in Sanskrit writings from 200 BCE. The earliest archeological relic discovered in Indonesia is from the Ujung Kulon National Park, West Java, where an early Hindu statue of Ganesha from the 1st century CE was found on the summit of Mount Raksa in Panaitan Island. There is also archeological evidence of a kingdom in Sunda territory in West Java dating from the 2nd century, and according to Dr Tony Djubiantono, the head of Bandung Archeology Agency, Jiwa Temple inBatujaya, Karawang, West Java was also built around this time.

8th century Borobudur buddhist monument, Sailendra dynasty
A number of Hindu and Buddhist states flourished and then declined across Indonesia. By the time of the European Renaissance, Java and Sumatra had already seen over a millennium of civilization and two major empires. One such early kingdom wasTarumanagara, which flourished between 358 and 669 CE. Located in West Java close to modern-day Jakarta, its 5th-century king, Purnawarman, established the earliest known inscriptions inJava, the Ciaruteun inscription located near Bogor. On this monument, King Purnavarman inscribed his name and made an imprint of his footprints, as well as his elephant's footprints. The accompanying inscription reads, "Here are the footprints of King Purnavarman, the heroic conqueror of the world". This inscription is in Sanskrit2 and is still clear after 1500 years. Purnawarman apparently built a canal that changed the course of the Cakung River, and drained a coastal area for agriculture and settlement. In his stone inscriptions, Purnawarman associated himself with Vishnu, and Brahmins ritually secured the hydraulic project.
Three rough plinths dating from the beginning of the 4th century are found in Kutai, East Kalimantan, near Mahakam River. The plinths bear an inscription in the Pallava script of India reading "A gift to the Brahmin priests".
The political history of Indonesian archipelago during the 7th to 11th centuries was dominated by Srivijaya based in Sumatra, also Sailendra that dominated central Java and constructed Borobudur, the largest Buddhist monument in the world. The history of the 14th and 15th centuries is not well known due to scarcity of evidence. Two major states dominated this period; Majapahit in East Java, the greatest of the pre-Islamic Indonesian states, and Malacca on the west coast of the Malay Peninsula, arguably the greatest of the Muslim trading empires.

Medang


Prambanan in Java; built during the Sanjaya dynasty of Mataram, it is one of the largest Hindu temple complexes in south-east Asia.
Medang or previously known as Mataram was anIndianized kingdom based in Central Java around modern-day Yogyakarta between the 8th and 10th centuries. The center of the kingdom was moved from central Java to east Java by Mpu Sindok. An eruption of Mount Merapi volcano or a power struggle may have caused the move.
The first king of Mataram was Sri Sanjaya and left inscriptions in stone. The monumental Hindu temple of Prambanan in the vicinity of Yogyakarta was built by Daksa. Dharmawangsa ordered the translation of the Mahabharata into Old Javanesein 996.
The kingdom collapsed into chaos at the end of Dharmawangsa's reign under military pressure from Srivijaya. One of the last major kings of Mataram was Airlangga who reigned from 1016 until 1049. Airlangga was a son of Udayana of Bali and a relative of Dharmawangsa re-established the kingdom including Bali under the name of Kahuripan.

Srivijaya


The empire of Srivijaya in Southeast Asia
Srivijaya was an ethnic Malay kingdom on Sumatra which influenced much of the Maritime Southeast Asia. From the 7th century CE, the powerful Srivijaya naval kingdom flourished as a result of trade and the influences of Hinduism and Buddhism that were imported with it.

As early as the 1st century CE Indonesian vessels made trade voyages as far as Africa. Picture: a ship carved onBorobudur, circa 800 CE.
Srivijaya was centred in the coastal trading centre of present day Palembang. Srivijaya was not a "state" in the modern sense with defined boundaries and a centralized government to which the citizens own allegiance. Rather Srivijaya was a confederacy form of society centered on a royal heartland. It was athalassocracy and did not extend its influence far beyond the coastal areas of the islands of Southeast Asia. Trade was the driving force of Srivijaya just as it is for most societies throughout history. The Srivijayan navy controlled the trade that made its way through the Strait of Malacca.
By the 7th century, the harbors of various vassal states of Srivijaya lined both coasts of the Straits of Melaka. Around this time, Srivijaya had established suzerainty over large areas of Sumatra, western Java, and much of the Malay Peninsula. Dominating the Malacca and Sunda straits, the empire controlled both the Spice Routetraffic and local trade. It remained a formidable sea power until the 13th century. This spread the ethnic Malay culture throughout Sumatra, the Malay Peninsula, and western Borneo. A stronghold of Vajrayana Buddhism, Srivijaya attracted pilgrims and scholars from other parts of Asia.
A series of Chola raids in the 11th century weakened the Srivijayan hegemony and enabled the formation of regional kingdoms based, like Kediri, on intensive agriculture rather than coastal and long distance trade. Srivijayan influence waned by the 11th century. The island was in frequent conflict with the Javanese kingdoms, first Singhasari and then Majapahit. Islam eventually made its way to the Aceh region of Sumatra, spreading its influence through contacts with Arabs and Indian traders. By the late 13th century, the kingdom of Pasai in northern Sumatra converted to Islam. At that time Srivijaya was briefly a tributary of the Khmer empire and later the Sukhothai kingdom. The last inscription dates to 1374, where a crown prince, Ananggavarman, is mentioned. Srivijaya ceased to exist by 1414, when Parameswara, the kingdom's last prince, converted to Islam and founded the Sultanate of Malacca on the Malay peninsula.

Singhasari and Majapahit


Wringin Lawang, the split gate shows the red brick construction, and strong geometric lines of Majapahit architecture. Located at Jatipasar, Trowulan,East Java.
Despite a lack of historical evidence, it is known that Majapahit was the most dominant of Indonesia's pre-Islamic states. The Hindu Majapahit kingdom was founded in eastern Java in the late 13th century, and under Gajah Mada it experienced what is often referred to as a "Golden Age" in Indonesian history, when its influence extended to much of southern Malay Peninsula, Borneo, Sumatra, and Bali from about 1293 to around 1500.
The founder of the Majapahit Empire, Kertarajasa, was the son-in-law of the ruler of the Singhasarikingdom, also based in Java. After Singhasari drove Srivijaya out of Java in 1290, the rising power of Singhasari came to the attention of Kublai Khan in China and he sent emissaries demanding tribute. Kertanagara, ruler of the Singhasari kingdom, refused to pay tribute and the Khan sent a punitive expedition which arrived off the coast of Java in 1293. By that time, a rebel from Kediri, Jayakatwang, had killed Kertanagara. The Majapahit founder allied himself with the Mongols against Jayakatwang and, once the Singhasari kingdom was destroyed, turned and forced his Mongol allies to withdraw in confusion.
Gajah Mada, an ambitious Majapahit prime minister and regent from 1331 to 1364, extended the empire's rule to the surrounding islands. A few years after Gajah Mada's death, the Majapahit navy captured Palembang, putting an end to the Srivijayan kingdom. Although the Majapahit rulers extended their power over other islands and destroyed neighbouring kingdoms, their focus seems to have been on controlling and gaining a larger share of the commercial trade that passed through the archipelago. About the time Majapahit was founded, Muslim traders and proselytisers began entering the area. After its peak in the 14th century, Majapahit power began to decline and was unable to control the rising power of theSultanate of Malacca. Dates for the end of the Majapahit Empire range from 1478 to 1520. A large number of courtiers, artisans, priests, and members of the royal family moved east to the island of Bali at the end of Majapahit power.

Wednesday, December 19, 2012

Prehistoric Indonesia


Prehistory


The replica of Java manskull, originally discovered in Sangiran, Central Java.
In 2007 analysis of cut marks on two bovid bones found in Sangiran, showed them to have been made 1.5 to 1.6 million years ago by clamshell tools, and is the oldest evidence for the presence of early man in Indonesia. Fossilised remains of Homo erectus, popularly known as the "Java Man" were first discovered by the Dutch anatomist Eugène Dubois at Trinil in 1891, and are at least 700,000 years old, at that time the oldest human ancestor ever found. Further Homo erectus fossils of a similar age were found at Sangiran in the 1930`s by the anthropologist Gustav Heinrich Ralph von Koenigswald, who in the same time period also uncovered fossils at Ngandongalongside more advanced tools, re-dated in 2011 to between 550,000 and 143,000 year. In 1977 another Homo erectus skull was discovered at Sambungmacan
In 2003, on the island of Flores, fossils of a new small hominid dated between 74,000 and 13,000 years old and named "Flores Man" (Homo floresiensis) were discovered much to the surprise of the scientific community. This 3 foot tall hominid is thought to be a species descended from Homo Erectus and reduced in size over thousands of years by a well known process called island dwarfism. Flores Man seems to have shared the island with modern Homo sapiens until only 12,000 years ago, when they became extinct. In 2010 stone tools were discovered on Flores dating from 1 million years ago, which is the oldest evidence anywhere in the world that early man had the technology to make sea crossings at this very early time.
The archipelago was formed during the thaw after the latest ice age. Early humans to travelled by sea and spread from mainland Asia eastward to New Guinea and Australia. Homo sapiens reached the region by around 45,000 years ago. In 2011 evidence was uncovered in neighbouring East Timor, showing that 42,000 years ago these early settlers had high-level maritime skills, and by implication the technology needed to make ocean crossings to reach Australia and other islands, as they were catching and consuming large numbers of big deep sea fish such as tuna.
Austronesian people form the majority of the modern population. They may have arrived in Indonesia around 2000 BCE and are thought to have originated in Taiwan. Dong Son culturespread to Indonesia bringing with it techniques ofwet-field rice cultivation, ritual buffalo sacrifice, bronze casting, megalithic practises, and ikatweaving methods. Some of these practices remain in areas including the Batak areas of Sumatra, Toraja in Sulawesi, and several islands in Nusa Tenggara. Early Indonesians were animists who honoured the spirits of the dead as their souls or life force could still help the living.
Ideal agricultural conditions, and the mastering of wet-field rice cultivation as early as the 8th century BCE, allowed villages, towns, and small kingdoms to flourish by the 1st century CE. These kingdoms (little more than collections of villages subservient to petty chieftains) evolved with their own ethnic and tribal religions. Java's hot and even temperature, abundant rain and volcanic soil, was perfect for wet rice cultivation. Such agriculture required a well organised society in contrast to dry-field rice which is a much simpler form of cultivation that doesn't require an elaborate social structure to support it.

History of Indonesia

History of Indonesia
History of Indonesia.png
Prehistory
Early kingdoms
Kutai4th century
Tarumanagara358–669
Kalingga6th–7th
Srivijaya7th–13th
Sunda Kingdom669–1579
Medang Kingdom752–1045
Singhasari1222–1292
Majapahit1293–1500
Rise of Muslim states
Spread of Islam1200–1600
Pasai1267–1521
Ternate Sultanate1257–present
Malacca Sultanate1400–1511
Cirebon Sultanate1445–1677
Demak Sultanate1475–1548
Aceh Sultanate1496–1903
Pagaruyung Kingdom1500–1825
Banten Sultanate1526–1813
Mataram Sultanate1500s–1700s
European colonisation
Portuguese1512–1850
Dutch East India Co.1602–1800
Dutch East Indies1800–1942
Emergence of Indonesia
National Awakening1908–1942
Japanese occupation1942–1945
National Revolution1945–1950
Independence
Liberal democracy1950–1957
Guided Democracy1957–1965
Transition1965–1966
New Order1966–1998
Reformasi1998–present
Timeline
Portal icon Indonesia portal


The History of Indonesia was shaped by its geographic position, its natural resources, the series of human migrations, contacts, economy and trade, conquests and politics. Indonesia is anarchipelagic country of 17,508 islands (6,000 inhabited) stretching along the equator in South East Asia. The country's strategic sea-lane position fostered inter-island and international trade; trade has since fundamentally shaped Indonesian history. The area of Indonesia is populated by peoples of various migrations, creating a diversity of culturesethnicitihes, andlanguages. The archipelago's landforms and climate significantly influenced agriculture and trade, and the formation of states.
Fossilised remains of Homo erectus and his tools, popularly known as the "Java Man", suggest the Indonesian archipelago was inhabited by at least 1.5 million years ago. Austronesian people, who form the majority of the modern population, are thought to have originally been from Taiwan and arrived in Indonesia around 2000 BCE. From the 7th century CE, the powerful Srivijaya naval kingdom flourished bringing Hindu and Buddhist influences with it. The agricultural BuddhistSailendra and Hindu Mataram dynasties subsequently thrived and declined in inland Java. The last significant non-Muslim kingdom, the Hindu Majapahit kingdom, flourished from the late 13th century, and its influence stretched over much of Indonesia. The earliest evidence of Islamised populations in Indonesia dates to the 13th century in northern Sumatra; other Indonesian areas gradually adopted Islam which became the dominant religion in Java and Sumatra by the end of the 16th century. For the most part, Islam overlaid and mixed with existing cultural and religious influences.
Europeans arrived in Indonesia from the 16th century seeking to monopolise the sources of valuable nutmeg, cloves, and cubeb pepper in Maluku. In 1602 the Dutch established the Dutch East India Company (VOC) and became the dominant European power. Following bankruptcy, the VOC was formally dissolved in 1800, and the government of the Netherlands established theDutch East Indies as a nationalised colony. By the early 20th century Dutch dominance extended to what was to become Indonesia's current boundaries. The Japanese invasion and subsequent occupation during WWII ended Dutch rule, and encouraged the previously suppressed Indonesian independence movement. Two days after the surrender of Japan in August 1945, nationalist leader, Sukarno, declared independence and was appointed president. The Netherlands tried to reestablish their rule, but abitter armed and diplomatic struggle ended in December 1949, when in the face of international pressure, the Dutch formally recognised Indonesian independence.
An attempted coup in 1965 led to a violent army-led anti-communist purge in which over half a million people were killed. General Suharto politically outmanoeuvred President Sukarno, and was formally appointed president in March 1968. His New Order administration garnered the favour of the West whose investment in Indonesia was a major factor in the subsequent three decades of substantial economic growth. In the late 1990s, however, Indonesia was the country hardest hit by the East Asian Financial Crisis which led to popular protests and Suharto's resignation on 21 May 1998. The Reformasi era following Suharto's resignation, has led to a strengthening of democratic processes, including a regional autonomy program, the secession of East Timor, and the first direct presidential election in 2004. Political and economic instability, social unrest, corruption, natural disasters, and terrorism have slowed progress. Although relations among different religious and ethnic groups are largely harmonious, acute sectarian discontent and violence remain problems in some areas.