Author Archives: Eclipse Editor - Page 2

Generating Undeclared Methods

Eclipse has many features that make the job of a programmer easy. Here a simple project is created and will use few of those features to demonstrate how easy programming can be using Eclipse. Most of the new programmers, ignore these and prefer to code everything themselves which is time consuming.

Read more »

Concurrent Versions System (CVS)

Eclipse comes with support for teams in the form of CVS, Concurrent Versions System. CVS is an open source tool to keep track of every version of a set of files. The versions and files are kept in a repository that is able to respond to requests like, “ give me version 1.9 of file Abc.java ”.

Let’s assume that you are working on a file “ TestClass.java ”. When the file is new, it is added to the repository, which basically means that file becomes known to the repository, and from that point onwards, the repository will keep record of the file and all its versions. After adding the file, some editing is made, and then those edits are “ checked in ” to the repository, which instructs the repository to watch the difference, store the difference, and then make the checked in file the current/latest copy of the file. After you have checked in your changes, the file version beomces 1.1, and any other user that has access to the repository can update their local copy with this version 1.1 from the repository. With the time, the file continues to be edited and newer and newer version are checked in, Since the repository has the file and all the old versions of that file, you are table to ask the repository for “ TestClass.java 1.2 “ ( 1.2 is the version no), even when the latest version is 1.56.

Read more »

Working With ANT

ANT is a Java build tool. It is very easy to use ANT in Eclipse. For example, you have a simple Java project with following code:

Read more »

Eclipse Help – Introduction

While using any software help content is sometimes more than crucial. In old versions of Eclipse there was some limitation in eclipse help. While you’re browsing the Eclipse help system, and some of the help pages are very long. You want to search the text in those pages, but you notice that the Eclipse help browser doesn’t let you search the current page. Though this problem has been rectified in new versions.

The Eclipse Platform’s help system allows you to contribute your plug-in’s online help using the “ org.eclipse.help.toc ” extension point.

Read more »

Tomcat In Eclipse – Sysdeo Tomcat Plug-in

There are many plug-ins available for the integration of tomcat with eclipse but most simple among them is “ Sysdeo Tomcat plugin ”. This can be downloaded from http://www.eclipsetotale.com/tomcatPlugin.html .

Step wise process to integrate tomcat using this plug-in is as follows:

Read more »

Using Find And Replace In Eclipse IDE

Java programmers usually searches for some methods, keywords or even identifiers in the source files, project or in the workspace as a whole. The search capability uses an index of Java code in your workspace that needs to be kept up-to-date, Independent of Java builds, Means you don’t have to select the “Build Automatically” preference or need to save your modifications in order to do a search.

Searching In A File

To search for some text in a file in the active editor.

Read more »

How To Call EJB From Eclipse IDE

Assuming that you know how to create J2EE modules in eclipse IDE and generating EJB code using Xdoclet. To know more click here .

Read more »

How To Create EJB’s In Eclipse IDE

Here I am assuming that you are aware of creating J2EE Module In Eclipse IDE. To know more click here. So Suppose you have an EJB Module created in IDE, Then for example we will create a stateless session bean by following these steps.

Read more »

Creating J2EE Modules For Enterprise Application

Using Lomboz we can create Enterprise Application modules. Here we will see how we can add J2EE, Web modules to an Enterprise Application so that J2EE development can be done in a quicker and easier way.
Although a programmer can create Web and J2EE modules separately and later add them to EAR file, But the recommended approach is to create those modules while creating Enterprise Application, So that they will be packaged instantly to your EAR project.

Read more »

Development Of Enterprise Applications in Eclipse IDE

Lomboz is a reliable plugin for J2EE development. It can be downloaded from http://lomboz.objectweb.org/downloads/drops/S-3.1M6-200505030842/.

Developing Enterprise Applications in Eclipse is quite simple with the help of lomboz. Here let me describe five simple steps to create an Enterprise Application Project using Eclipse IDE.

Read more »