Java-Business-Application/C2/Creating-a-Java-web-project/Khasi

From Script | Spoken-Tutorial
Jump to: navigation, search
Time Narration
00:00 Pdiang sngewbha sha ka spoken-tutorial halor Creating a Java web project.
00:06 Ha kane ka tutorial, ngin pule:
00:09 ban shna ka Java Web Project
00:12 Shaphang ka Deployment Descriptor
00:15 Shaphang ka file web.xml.
00:19 Hangne ngi pyndonkam ka :Ubuntu version 12.04
00:23 Netbeans IDE 7.3
00:26 JDK 1.7
00:28 Firefox web-browser 21.0
00:32 Phi lah ban pyndonkam uno uno u web-browser uba phi kwah.
00:35 Ban bud ïa kane ka tutorial, phi dei ban don ka jingtip ïaka:
00:39 Core Java pyndonkam ka Netbeans IDE bad
00:42 HTML.
00:44 Lada em, na bynta ki tutorial ba kum kane leit sha ka website jong ngi.
00:50 Mynta, to ngin peit kumno ban shna ïaka Java web project basuk pyndonkam ka NetBeans IDE.
00:56 Na bynta kane, ngin leit sha ka NetBeans IDE.
01:01 Sha kyndong ha khlieh kadiang jong u IDE, click ha File bad click ha New Project.
01:08 KA New Project window ka plie.
01:12 Naka Categories, Jied Java Web bad naka Projects jied Web Application.
01:18 Nangta click ha Next.
01:20 Haka window babud kaba la plie,
01:23 type iaka Project Name kum MyFirstProject.
01:27 Buh ïaka Project location bad Project Folder kumba ka long.
01:31 Nangta, click ha Next.
01:35 Jied GlassFish Server kum ka Server.
01:39 Kynmaw ba ka Context Path hangne kadei MyFirstProject, Kane kadei ka juh ka kyrteng kum ka Project jong ngi.
01:47 Ngin sa pule sani bha ïakane.
01:50 Mynta, click ha Next bad nangta click ha Finish.
01:55 Click ha u Projects tab.
01:58 Ngi lah ban iohi, ba don ki node bapher bapher hangne bad ka web application ba kyrteng My First Project ba lahdep shna.
02:08 Mynta, ngim donkam ban pyrkhat than shaphang kine ki node mynta.
02:11 Hynrei to ngan click bad pyni ïa phi, ki don aiu hapoh.
02:16 Mynta, to ngin pule shaphang kaba la tip kum Deployment Descriptor.
02:21 KA web application jong ka deployment descriptor ka batai
02:25 ïaka classes, resources bad configuration jong ka application bad
02:31 Ba Kumno ka web server ka pyndonkam ïaki ban pyntreikam ïaki web requests.
02:37 Ka web server ka pdiang ïaka request na bynta ka application.
02:42 Ka pyndonkam ïaka deployment descriptor ban lam lynti ïa u URL jong ka request.
02:48 ka lam lynti ïa u URL sha u code uba dei ban pyntreikam ïaka request.
02:52 U deployment descriptor u dei u file ba kyrteng web.xml.
02:57 Mynta, to ngin wanphai biang sha ka IDE.
03:00 Ngim shym lah ban shem ïa ka file web.xml naki nodes kiba don hangne.
03:07 Ban ioh ïa ka, ha khlieh kadiang jong ka IDE, click ha File bad nangta click ha New File.
03:16 Na ka Categories, jied Web.
03:19 BAd naka File Types, jied Standard Deployment Descriptor (web.xml).
03:25 Nangta click ha Next
03:27 bad click ha Finish.
03:30 Click ha u Files tab uba haka liang kadiang jong ka IDE.
03:34 Peit thuh bala iohi ïaka web.xml hapoh jong ka folder WEB-INF jong u 'Web' node.
03:42 Phi lah ban iohi mynta ïa u source-code.
03:46 Ngi don ka xml header hangne.
03:50 Ngi don ruh ïa u web-app node.
03:53 Mynta, ngin pyrshang ban run ïaka application.
03:57 Ban leh kumta, right click ha MyFirstProject.
04:02 Click ha Clean and Build.
04:04 Kane kan delete ïa baroh ki file bala compile hashwa bad kiwei ki build outputs.
04:10 Bad ruh kan compile biang ïaka application.
04:14 Sa shisien, right click ha MyFirstProject bad nangta click ha Run.
04:20 Te, ka server ka la plie bad ka run bad kala pyntreikam ïaka My first Project.
04:27 KA browser window ka plie bad ka pyni ïaka Hello World .
04:32 Kane kadei namar haba ngi run ïaka project, ka web application ka render ïaka page bala pyni.
04:39 Mynta, to ngin peit ïa u URL hangne uba render ïaka page.
04:44 U dei u localhost colon 8080 slash MyFirstProject.
04:49 Te, haba ngi run ïaka MyFirstProject, dakaba long hi ngi ioh ïaka page JSP kaba ong HelloWorld!
04:57 Mynta, to ngin wanphai sha ka IDE jong ngi.
05:00 Ngi lah ban iohi ba hapoh jong ka folder WEB-INF, kadon ka index.jsp.
05:07 Double click haka index.jsp.
05:10 Ngi lah ban iohi ïa u source code hangne.
05:12 Ka dei ka JSP page ba suk bha ba don tang kiHTML tags.
05:17 Ka don ka title "JSP Page" bad ka don ïaka heading "Hello World".
05:24 Ka server ka pynbiang ïaka index.jsp dakaba long hi haba ngi run ïaka web application.
05:30 Kynmaw ba ngi lah iohsngew mynshwa shaphang kaba la khot ka ContextPath.
05:36 Ngi lah dep buh ruh ïaka ContextPath kum MyFirstProject.
05:41 Mynta, wan biang sha u browser.
05:44 Type ïa u URL kumba ha u localhost colon 8080 bad ñion Enter.
05:50 Ngi iohi ïa ka Home page jong ka Glassfish Server bala pyni.
05:56 Hangne, 8080 udei u default port hakaba ka server run haka machine.
06:01 kane ka Glassfish Server instance ka lah ban don bun tylli ki applications kiba run haka.
06:08 Ban plie ïakano kano ka application, type ïaka kyrteng jong ka application ha u URL.
06:15 Te, ngi dei ban type ïa kato ka application kaba la pyntreikam ha kato ka instance.
06:21 Te, ngin type slash MyFirstProject .
06:26 Bad ñion Enter. Te, ngi iohi bala pyni ïaka Hello World!.
06:31 To ngin batai lyngkot. Ha kane ka tutorial ngi la pule:
06:35 Ban shna ka Java Web project ba suk.
06:38 Pyntreikam ïaka web project
06:41 bad shaphang ka web.xml file.
06:44 Ban tip shuh shuh shaphang ka spoken tutorial project,
06:46 Peit ïaka video kaba don haka link harum.
06:50 Ka batai lyngkot ïaka Spoken Tutorial project.
06:54 Lada phim don ka bandwidth ba biang, phi lah ban download bad peit ïaka.
06:58 Ka Spoken Tutorial Project team:
07:00 Ka pynlong workshop dakaba pyndonkam ki spoken tutorials.
07:04 Ka ai certificates sha kito kiba pass haka on-line test.
07:07 Ban tip kham bniah, sngewbha thoh sha: contact at spoken hyphen tutorial dot org.
07:13 Ka Spoken Tutorial Project kadei shi bynta jong ka "Talk to a Teacher" project.
07:17 La kyrshan ïaka daka National Mission on Education Lyngba ka ICT, MHRD, Sorkar India.
07:23 Khambun ka jingtip halor kane ka mission kadon ha:
07:27 http://spoken-tutorial.org/NMEICT- Intro
07:34 ïaka Library Management System la noh synniang da ka software MNC ba pawkhmat lyngba ka programme "Corporate Social Responsibility" jong ki.
07:44 Ki la pynkhamti ruh ïaka content naka bynta kane ka spoken tutorial.
07:48 ïa kane ka script la pynkylla sha ka ktien Khasi da I Hezekiah Lyngdoh na Shillong. Khublei ba phi la ïasnohlang.

Contributors and Content Editors

Hezekiah2016