Saturday, 18 January 2014


1)Searching a word in Eclipse

Go to Market Place >> "Quick search" install the plugin .This Plugin is given by STS(Spring tool suite)

In Mac shortcut to Search    "command+Shift+L"

2)View the Jar File Code

Go to Market Place >> "Enhanced Class Decompiler" install the plugin .

Eclipse>>preferences>>FIle Associations
File types               :   *.class without sources
Associated editors : class Decomiler Viewer(default) By click on Default
Apply and Close

3)Check out the Project From Git in Eclipse

Eclipse>>Project Explorer>>Import>>Import>>Projects from Git>>Clone URI>>Give the URI username/password
select the Branch you what to check out>>select the Work Space you what check out
Select the Radio Button "Import existing Eclipse Projects"
Click on Finish

4)Commit History of Line in Git via Eclipse

Select/Open a file>>Right click>> Team>>show Revision information

debug in chrome by pressing F12 or moretools>Dev tools or ctrl+shift+I

debugg shortcuts
f10 step over  -next
f11 step into  -into the method
shift+f11 step out -out of the method
f8 to coninue -break point to break point

break point -to stop the control while executing the javascript  to debug the javascript
conditional break points -this is break point will stop the execution  when the condition maches //var empid==10
watches -we can see the variables  values at runtime will debugging how the varible values are changing
call stack-if are debugging or else if error in the javascript execution  we can able to know what are the methods called in stopping this break point get to know

Best Practices
dont use meth
do not use == or != will not check the type
use === and !==
In Web services
If U got the following Error
IWAB0489E Error when deploying Web service to Axis runtime
 * IWAB0489E Error when deploying Web service to Axis runtime axis-admin failed
 * with {}HTTP (403)Proxy Unacknowledged

1)IE>Settings>Internet options>connections>LAN Settings>Proxy server>
copy Address xx.xx.xx.xxxx and port 80
2)windows >preferances>General>Network Connections
Active provider  select Manual>HTTP >Add> paste the copied Ip and port >ok
create adynamic web project>write a class under package>
windows>preferance >webservice>
1)i)axis2 preferance>D:\from_ruhul\axis2-1.6.2-bin\axis2-1.6.2(installed axis2)>ok
ii)rigth click on project>properties>project Facets>enable Axis2 web services
2)i)CXF 2.x preferance>Add>Home directory of unziped CXF 2.7.7>enable thecheck box
ii)right rick on project>properties>enable the CXF 2.x Web Services>ok

Right click on project>new >other>web services>web service>Next>browse  file
drag up the both>finsih/next
then we can see the  web service explorer click on the method(service) give the neccessary  input. we get theoutput in the status scroll and see
To access fromm broweser
copy the url in nthe wsdl file in the <soap:address locaation=http://localhost:8080/WebServiceCXFHello/services/HelloWorldPort>

paste in the browser http://localhost:8080/WebServiceCXFHello/services/HelloWorldPort?wsdl
user Environment variables

C:\Program Files\Java\jdk1.6.0_45
C:\Program Files\apache-maven-3.1.1

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.6.0_45\bin;C:\Program Files\apache-maven-3.1.1\bin;
vsphere credentails
esx ip:
esx credentials:
esx ip:

gateway :
after that you crootan install new windows 2008 R2 in it.

No comments:

Post a Comment