<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ahmet Sayar &#187; research</title>
	<atom:link href="http://www.ahmetsayar.com/category/research/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ahmetsayar.com</link>
	<description>Personal Web Page</description>
	<lastBuildDate>Thu, 29 Apr 2010 20:40:35 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>tricks-in-creating-web-application-with-eclipse</title>
		<link>http://www.ahmetsayar.com/tricks-in-creating-web-application-with-eclipse/</link>
		<comments>http://www.ahmetsayar.com/tricks-in-creating-web-application-with-eclipse/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 13:07:53 +0000</pubDate>
		<dc:creator>ahmet</dc:creator>
				<category><![CDATA[research]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[web application]]></category>

		<guid isPermaLink="false">http://www.ahmetsayar.com/?p=138</guid>
		<description><![CDATA[1.Check if there is intalled JRE-jdk
Windows-preferences-Java-Installed JREs
If there is not add one
2.Check if there is server runtime environment set
Windows-preferences-Server-Runtime Environments
If there is not add one
3. Now start developing application
Create project
New-Web-DynamiC Web Project-give a name
4.Add application to tomcat server and run/stop the server
R-click on Server
R-Click-New-Server to add a server to the application
then right clik and select [...]]]></description>
			<content:encoded><![CDATA[<p>1.Check if there is intalled JRE-jdk<br />
Windows-preferences-Java-Installed JREs<br />
If there is not add one</p>
<p>2.Check if there is server runtime environment set<br />
Windows-preferences-Server-Runtime Environments<br />
If there is not add one</p>
<p>3. Now start developing application<br />
Create project<br />
New-Web-DynamiC Web Project-give a name<br />
4.Add application to tomcat server and run/stop the server<br />
R-click on Server<br />
R-Click-New-Server to add a server to the application</p>
<p>then right clik and select start to run<br />
second way to run<br />
R-click on the JSP page Run As-Run on server-select server</p>
<p>//==========How to create servelt:<br />
R-Click on the project name-New-Servlet-give package name-Give servlet name</p>
<p>In order to invoke servlet …projectName/ServletName<br />
//==========How to export the application as War file<br />
File-Export-Web-War File-Give a name<br />
Then you can run this application developed in Eclipse under webapp directory of any tomcat installations<br />
java source files will be going into “Java Resources: src”<br />
jsp, html go to WebContent<br />
jars go to WebContent/lib</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ahmetsayar.com/tricks-in-creating-web-application-with-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Development of Java Web Services with Eclipse</title>
		<link>http://www.ahmetsayar.com/java-web-services-creation-in-eclipse-ide/</link>
		<comments>http://www.ahmetsayar.com/java-web-services-creation-in-eclipse-ide/#comments</comments>
		<pubDate>Sat, 16 May 2009 10:01:49 +0000</pubDate>
		<dc:creator>ahmet</dc:creator>
				<category><![CDATA[research]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[web services]]></category>

		<guid isPermaLink="false">http://www.ahmetsayar.com/?p=113</guid>
		<description><![CDATA[Web Service applications require a couple of libraries such as axis, servlet-container and java software development kits. If you want to build a Web Service application on the Eclipse IDE, you have to be careful. Below you will see the basic steps when you go through any tutorial you find on the web.
Before starting, please [...]]]></description>
			<content:encoded><![CDATA[<p>Web Service applications require a couple of libraries such as axis, servlet-container and java software development kits. If you want to build a Web Service application on the Eclipse IDE, you have to be careful. Below you will see the basic steps when you go through any tutorial you find on the web.</p>
<p>Before starting, please download/install the below list.<br />
Please do NOT use any other versions of these software/library packages. In other case you will encounter many debugging problems that you can not cope with in eclipse.</p>
<p>0.<br />
Get the below packages with the right versions</p>
<p>axis2-1.2<br />
Dynamic web module 2.4 (you dont need to download it is already in eclipse)<br />
apacxhe tomcat 5.5<br />
java 5<br />
1. Setting axis2 runtime env<br />
Window-preferences-WebServices-Axis2 Preferences<br />
C:Program Filesaxis2-1.5 and ok</p>
<p>2.<br />
Next we need to create a project with the support of Axis2 features. Open File -&gt; New -&gt; Other&#8230; -&gt; Web -&gt; Dynamic Web Project</p>
<p>Give the project a name<br />
set the target runtime Apache Tomcat v5.5<br />
Dynamic Web Module version 2.4<br />
Add java 1.4 and set</p>
<p>3.<br />
Right click on the project name and select Project facets<br />
click &#8220;Axis2 Web Services&#8221;</p>
<p>4.<br />
Select Converter.java, open File -&gt; New -&gt; Other&#8230; -&gt; Web Services -&gt; Web Service<br />
-chose web service runtime first<br />
Apache Axis2</p>
<p>5.<br />
TEST:<br />
<a href="http://localhost:8080/Axis2WSTest/">http://localhost:8080/Axis2WSTest/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ahmetsayar.com/java-web-services-creation-in-eclipse-ide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some hints making your life easier with Eclipse</title>
		<link>http://www.ahmetsayar.com/some-hints-making-your-life-easier-with-eclipse/</link>
		<comments>http://www.ahmetsayar.com/some-hints-making-your-life-easier-with-eclipse/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 00:15:15 +0000</pubDate>
		<dc:creator>ahmet</dc:creator>
				<category><![CDATA[academic]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[eclipse java]]></category>

		<guid isPermaLink="false">http://www.ahmetsayar.com/?p=109</guid>
		<description><![CDATA[//========
Scrapbook: Funtions similar to JUnit test classes.
Creating Scrapbook page:
Right click on the project name + new + Other+ Java + JavaRun/Debug + Scrapbook Page
Examle: write down 2+2 and then Run+Inspect -&#62; see the answer
When you work on scrapbook page its default tools will be shown in toolbar.
You can also run Java statements without needing main [...]]]></description>
			<content:encoded><![CDATA[<p>//========<br />
Scrapbook: Funtions similar to JUnit test classes.</p>
<p>Creating Scrapbook page:<br />
Right click on the project name + new + Other+ Java + JavaRun/Debug + Scrapbook Page</p>
<p>Examle: write down 2+2 and then Run+Inspect -&gt; see the answer<br />
When you work on scrapbook page its default tools will be shown in toolbar.</p>
<p>You can also run Java statements without needing main function/statement.<br />
In order to run a java class or parts of it, you need to import the related package.<br />
select import package button and import the package</p>
<p>In order to run a specific part of java statement<br />
just select the code you want to run and select &#8220;execute the selected text&#8221; from Scrapbook toolbars.</p>
<p>//========<br />
Keep the seperate source folder for the test classes such as JUnit and scrapbook pages</p>
<p>To do this:<br />
File-new-source folder-name it &#8220;test&#8221;-finish<br />
we want test classes to  be in the same package as the classes to be tested</p>
<p>after creating test foulder, create a package with the same name in which there are classes to be tested.</p>
<p>Now lets create first JUnit test class:<br />
Right click on package-new-JUnit Test case-name it to class being tested_Test-<br />
You might need to add the path to the JUnit library&#8230;.</p>
<p>Class under test&#8217;e de test edilecek class ismini yaz</p>
<p>How to run JUnit test class:<br />
Run-Run As- JUnit Test</p>
<p>Not: you have to implement test methods before running actual tests. In other case, you will get error messages.</p>
<p> </p>
<p>//=======For Java<br />
Source + &lt;generate setters and getters methods&gt;<br />
Automatically creates get and set methods for all the predefined variables.<br />
//=========quick fix<br />
problems tabinda (asagida) problemin uzerinde right clik yap sec<br />
Ctrl+1 enable you to fix the problem in the edit page &#8211; during coding.<br />
//=======how to configure add/edit project&#8217;s build path<br />
right clik on the name of the project  &#8211; Build path &#8211; Configure Build path -<br />
//==========Object initialization in shortcut<br />
Write &#8220;New&#8221; then Ctrl+spacebar, then update the Object&#8217;s type and name.<br />
//==========creating main method in shortcut<br />
Write &#8220;main&#8221; then Ctrl+spacebar</p>
<p>//===========System.out in shortcut<br />
after writing the text/statement to be displayed, highlight it and then Ctrl+Spacebar<br />
//========== creating jar from the source files<br />
File-export-Java-Jar file</p>
<p> </p>
<p>//============Importing a project<br />
Since eclipse is based on standards we can work on any project developed by someone else<br />
File-Import-General-Existing projects into Workspace-(select archive file)-open<br />
//==========How to open multiple files at once<br />
Select the files from the project pane and then drag&amp;drop in to the edit pane.<br />
//======finding out the places where commands are defined or set<br />
Ctrl+3<br />
ex. write Web Services and see all the related settings wizards and etc.</p>
<p>It is a very handy way to quickly find commands, menu choces or resources.<br />
//=============Keyboard shurtcuts<br />
Window-preferences-Keys<br />
OR<br />
Ctrl+Shift+L : keyboard shurtcut key assist<br />
ex.<br />
Ctrl+S  Save the document<br />
Ctrl+F : Find / replace<br />
CTRL+Space : yardimci menuyu acar kelimeyi tamamlamak icin<br />
Ctrl+D: Delete the current line<br />
Ctrl+Shift+Delete:<br />
Ctrl+Z: Undo<br />
Ctrl+right: move to the next word<br />
Ctrl+left: move to the prev word<br />
Ctrl+Shift+right: add next word to selection<br />
Ctrl+Shift+left: add prev word to selection<br />
Ctrl+J: Incremental Find next<br />
Alt + /: word completion<br />
Ctrl_Shift+F: Format  &lt;default formats are defined in Windows-preferences. for ex. xml file: XML-XML Files-Editor&gt;</p>
<p>//=========Creating your own shurtcut<br />
Window-preferences-Keys-&lt;click on &#8220;include unbound comments&#8221;&gt;type binding<br />
//=====export/import preferences from one project to another</p>
<p>File-Export-preferences-browse to find/name a file- save</p>
<p>In new workspace<br />
File-import- browse file-open<br />
//=========Compare editor (comparing different versions of the same file)<br />
Right Click-Compare with-Local History-select one from the list<br />
left column shows the current version of the file<br />
Right column shows the earlier version of the file</p>
<p>Eclipse save our editing history automatically each time we save the file.<br />
/=========Compare editor (comparing different files)<br />
select the files from package explorer pane and then<br />
right clik and select compare with.. &#8211; each other<br />
//=======Bring back the deleted files<br />
Right click on the project name in package explorer<br />
select Restro from Local History<br />
then restore</p>
<p>//======================<br />
Use import and export with archive files to<br />
-share a project with anothe person or computer<br />
-take a snapshot of a project for later use</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ahmetsayar.com/some-hints-making-your-life-easier-with-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What Is Research ?</title>
		<link>http://www.ahmetsayar.com/what-is-research/</link>
		<comments>http://www.ahmetsayar.com/what-is-research/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 21:13:41 +0000</pubDate>
		<dc:creator>ahmet</dc:creator>
				<category><![CDATA[academic]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[researcher]]></category>

		<guid isPermaLink="false">http://www.ahmetsayar.com/?p=23</guid>
		<description><![CDATA[It could be useful to discuss “What is Research”. Some might think you talk to your adviser or similar experienced researcher, identify a vaguely interesting topic, write some  software, remove obvious bugs, do a performance measurement and write your thesis.
However this is not correct; whats described above is not research at all even if [...]]]></description>
			<content:encoded><![CDATA[<p>It could be useful to discuss “What is Research”. Some might think you talk to your adviser or similar experienced researcher, identify a vaguely interesting topic, write some  software, remove obvious bugs, do a performance measurement and write your thesis.</p>
<p>However this is not correct; whats described above is not research at all even if the software is incredible but rather producing an environment in which research can be performed. Research requires asking questions, querying the answers, refining questions and so on until new knowledge is obtained. Your software and studies gives you an advantage to ask and answer new questions. Note usually questions and answers are typically NOT identified upfront; they emerge from work.</p>
<p>Geoffrey C. Fox</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ahmetsayar.com/what-is-research/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
