Thursday, June 18, 2015

Road to Java & Eclipse as a C# & Visual Studio verteran



This article describes the road through which I learn Java & Eclipse from mostly test automation/SDET perspective as a beginner.

I have pretty good experience with C#, Visual Studio and those Microsoft testing technologies. So the natural is that I will try to find equivalents in C# and Visual Studio when I meet things in Java & Eclipse.

You are welcome to correct me if there is anything in my writing is wrong. This is my learning experience and notes. Things are supposed to change if  later I will be able to find the things I write earlier are wrong, with my knowledge growing,.

Get to Know Java and Eclipse


The ways manage projects - Eclipse vs Visual Studio

I felt very lost when I started with Java and Eclipse because most things and naming in Eclipse are so strange and different from things in Visual Studio. And the IDE layout are different. Here I would recommend to go through the first couple of sections of Java & Eclipse Beginner Tutorial to get familiar with Eclipse IDE layout and how to setup a very basic Java project in it.

Those concepts how Eclipse manages project are essentially similar to Visual Studio. Most things in one IDE can be found their equivalents in the other one. Here I would like to list those key things comparison below. I hope it can be helpful for a developer who is very familiar with Visual Studio to switch to the Eclipse world.


Eclipse Visual Studio
Wordspace Solution
Project Project
src folder N/A Java project by default creates a source folder named src under a project. It's a kind of nice because while export (build), you can choose which source folder(s) to include in the output jar. Visual Studio doesn't do this.
Package Namespace
Import
(to a workspace)
Add existing project(s) to a solution
Build Path
(to a project)
Add/delete references to a project
.project, .classpath Visual Studio project file (.csproj) Visual Studio project file takes more responsibilities than those two. e.g.

Reference

http://www.ibm.com/developerworks/library/os-eclipse-visualstudio/

https://jmonkeycoder.wordpress.com/2013/08/28/eclipse-vs-visual-studio/

No comments:

Post a Comment