Monthly Archives: April 2007

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 »

Exporting/Importing JAR files

With mobile broadband technology readily available to anyone willing to connect to the world wide web, it shouldn’t come as a surprise when interest for basic programming skyrockets. Java is one of the programming languages that caught fire because of this, so let’s try to learn more about it.

JAR (Java archive) files are commonly being used by Java developers. JAR file is a deployable package comprising of number of class files and other resources. One benefit is that JAR file uses compression algorithms to reduce the overall size.

Now suppose we have a Java project in Eclipse called Resources. It comprices of 2 classes Student and Teacher.

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 »

Configuring Xdoclet for J2ee Applications in Eclipse

For J2EE applications, We can configure Xdoclet in Eclipse so that development can be made faster. Xdoclet can be downloaded from

http://www.xdoclet.sourceforge.net/xdoclet/install.html

Extract Xdoclet files to the local drive.

Read more »