sentence: according to one popular tradition , the pesantren education system originated from traditional java pondokan ; dormitories ; ashram for hindu or vihara for buddhist to learn religious philosophies , martial arts and meditation .