Professional Documents
Culture Documents
My Eclipse
My Eclipse
SekharReddy
-> Programmers had to edit files, save the files, run the compiler,
then the linker, build the application then run it through a debugger.
-> Today IDEs bring editor, compiler, linker and debugger into one
place along with project management tools to increase programmer
productivity. -> Programmers had to edit files, save the files, run the
compiler,
Q) What is IDE? what are the advantages of using an IDE?
->easy to use
->Rapid development
->easy to debug...etc.
Q) What is workspace ?
-> It is a name space where we can store related projects.
-> We can choose the workspace during myeclipse startup.
-> We can change the workspace using
Naresh i Technologies, Opp. Satyam Theatre, Ameerpet, Hyderabad, Ph: 040-23746666, 23734842
An ISO 9001 : 2000 Certified Company
Page 1
MyEclipse Mr. SekharReddy
Inversedomainname.projectname.modulename.technology/usecase
Naresh i Technologies, Opp. Satyam Theatre, Ameerpet, Hyderabad, Ph: 040-23746666, 23734842
An ISO 9001 : 2000 Certified Company
Page 2
MyEclipse Mr. SekharReddy
package convention
com.companyName.projectName.moduleName.useCase
--> right click on project -> new -> folder -> "mylib"
--> copy and paste jar files into "mylib" folder.
--> right click on jar file-> Build path -> Add to Build path
or
--> right click on project -> Build path -> Configure Buildpath ->
libraries -> Add External jars -> Select required jar file.
Naresh i Technologies, Opp. Satyam Theatre, Ameerpet, Hyderabad, Ph: 040-23746666, 23734842
An ISO 9001 : 2000 Certified Company
Page 3
MyEclipse Mr. SekharReddy
--> Open the Java Build Path page of a project (Projects > Properties >
Java Build Path). On the Libraries page expand the library's node
and select the Source attachment attribute and press Edit
--> Download the javadoc of the jar and put it somewhere in your
filesystem.
--> Open the Java Build Path page of a project (Projects > Properties >
Java Build Path). On the Libraries page expand the library's node
and select the Javadoc location attribute and press Edit
=> You can export your Preferences settings from one workspace via
File -> Export -> General -> Preferences -> Give file name and location
File -> Import -> General -> Preferences -> select exiting preference file
Naresh i Technologies, Opp. Satyam Theatre, Ameerpet, Hyderabad, Ph: 040-23746666, 23734842
An ISO 9001 : 2000 Certified Company
Page 4
MyEclipse Mr. SekharReddy
File -> Import -> General -> Existing Project into workspace
->select the project folder -> ok -> finish.
If you have to type frequently the same code / part of the document you
can maintain templates which can be activate via auto complete (Ctrl +
Space).
For example lets assume you are frequently creating "public void name()
{}" methods. You could define a template which creates the method body
for you.
Naresh i Technologies, Opp. Satyam Theatre, Ameerpet, Hyderabad, Ph: 040-23746666, 23734842
An ISO 9001 : 2000 Certified Company
Page 5
MyEclipse Mr. SekharReddy
Q) What is perspective?
Q) What is debugging?
-----------------------------------------
Naresh i Technologies, Opp. Satyam Theatre, Ameerpet, Hyderabad, Ph: 040-23746666, 23734842
An ISO 9001 : 2000 Certified Company
Page 7
MyEclipse Mr. SekharReddy
Navigation :
Naresh i Technologies, Opp. Satyam Theatre, Ameerpet, Hyderabad, Ph: 040-23746666, 23734842
An ISO 9001 : 2000 Certified Company
Page 8
MyEclipse Mr. SekharReddy
--> Next Perspective ==> Ctrl + F8
Others:
--> Used on a method or class shows the whole inheritance tree, for example all methods which implement an interface.
==> ctrl + T
Naresh i Technologies, Opp. Satyam Theatre, Ameerpet, Hyderabad, Ph: 040-23746666, 23734842
An ISO 9001 : 2000 Certified Company
Page 9
MyEclipse Mr. SekharReddy
=> According to the sun microsystem there won't be any webroot in the directory structure. But
if we are creating the webproject in myelipse it will include Webroot in the directory structure
and it ill be removed while deploying the application into the server.
=> All the servlets should be there inside src and all the jsps should be there inside webroot or inside
web-inf.
=> We cannot access the wEB-inf jsp's directly.So in some projects we keep one jsp outside the WEB-INF and all
the remaining jsps we keep inside the WEB-INF.
=> All the generated .class files for the servlets should be there inside classes folder.
=> Eclipse automatically will move all the .class files to classes folder because the path is
configured automatically to check the path.
Naresh i Technologies, Opp. Satyam Theatre, Ameerpet, Hyderabad, Ph: 040-23746666, 23734842
An ISO 9001 : 2000 Certified Company
Page 10
MyEclipse Mr. SekharReddy
Naresh i Technologies, Opp. Satyam Theatre, Ameerpet, Hyderabad, Ph: 040-23746666, 23734842
An ISO 9001 : 2000 Certified Company
Page 11
MyEclipse Mr. SekharReddy
Naresh i Technologies, Opp. Satyam Theatre, Ameerpet, Hyderabad, Ph: 040-23746666, 23734842
An ISO 9001 : 2000 Certified Company
Page 12