Saturday, 17 September 2016

First Dyanamic Project On Eclipse



steps(INstalling mysql setup)


1.download mysql commercial/community edition(search google)
2.install with developer-default(next ->next........finish)
3.done



steps(TOmcat apache apache)
0.search Tomcat apache version(for LUNA less than-7.0/for MARS less thn 8.0)
1.download zip/jar file from google according to Eclipse VErsion You have


setup for eclipse::

1.Window->show view->other->(search "server")->ok
2.right click on server window->new->server->apache->tomcat v8.0 server->tomcat installation directory->(browse kro)->select tomcat folder(eg.F:\software\apache-tomcat-8.0.37-windows-x64)->next->fininsh



Test if Tomacat Works!!!!
right click on serverWindow->start->
go to console window->>>"INFO: Server startup in 727 ms"--->means OKKKK
else error



Building first java app with Mysql database:
1.create a database from mysql worbench-(eg.Test)
2.Create a Table(eg.User)
3.Go to Eclipse->right click on project window->new->other->search dyanamic web project->finish
4.goto->c drive->program file->mysql->Connector.J 5.1->mysql-connector-java-commercial-5.1.36-bin(copy this jar file)
5.
method 1:
Go to created project->right click->webcontent->webINF->lib->paste here(works for dyanamic project only)
method 2:
a.paste in project file
b.right click on pasted jar file->buid path->add to build path
6.DONE

ENJOY PROGRAMMING!!!!!
















22:57