Tag: java

Are You Ready for Java Application Development on Linux?

Java logoBy Adam George

Today, Linux is best recognized as the fastest-growing J2EE application development platform. It’s so popular among the developer as well as enterprise community since it contributes in saving a lot of time and money.

Java, a programming language powered by Sun Microsystems, offers a complete range of programming scope to the Java developers’ community. These seasoned Java developers are well versed in building “out-of-the-box” computer applications as well as applications for a wide array of hand-held devices.

Almost every one of us knows that Java is an object-oriented language that can be run across a number of platforms. No wonder why Java is often referred to as “Compile once, run anywhere” platform independent programming language.

Now if we talk about J2EE application development on Linux, it’s important to consider the context and environment in which the applications are being developed. It may baffle a newbie Java developer to Linux in understanding the way Java finds environment on the Linux platform.

Well, there are some pre-requisites that need to be there to get started with Java application development on Linux platform namely, current working directory, command-line parameters, current shell’s environment variables and location of data files. However, the usage of these parameters is variable as you can use the one that is in tandem with your application development requirements and the portability index you desire in your Java-based applications.

The program invocation offers the primary external information. This can be in different forms as arguments or the basic information, which can further point a program to scalability and implementation and deployment.

Let’s talk a bit about command-line arguments. In a scenario where the program is run using a command line, the program name would suffice for the purpose. The open source has encouraged Java developers to build new utilities for creating better applications in a more efficient and effective manner. This is supported by Linux and hence the trend has flourished to such a remarkable extent. Though a novice developer would find the Linux commands taxing to learn in the first place; however, once done with that, the following journey is a treat.

Further, the developer needs to learn about using Linux development tools like Ant, JUnit, GNU Compiler for Java (GCJ) etc. Then follows the development of some logic layers by making use of Java Database Connectivity (JDBC). JSPs are used to integrate a web interface, and Abstract Windows Toolkit (AWT) for integrating a GUI.

Now that you know a fair deal about Java application development on Linux, it’s time to get started with the same.

Adam George is a well known writer. He has written many articles on various topics including outsourcing, Presently writing on Software services, Software Development, JAVA Application Development and other Software testing services.

Tags: , ,

By Herb Leibacher

Linux has a history of being difficult for beginners. For many years Linux really was for experts as doing anything in the operating system was pretty difficult and not too user friendly. As the years have moved on Linux has changed drastically. Every year it becomes easier and easier to use. The complicated expert functions are changed to simple point and click interfaces that most average users prefer.

Ubuntu has been known as one of the easiest distributions to learn for beginners since it is so simple. There is another distribution that might be easier than Ubuntu and that one is Linux Mint. Before this looks like another distribution war, it is not. Linux Mint is actually build on top of Ubuntu and uses the same packages and repositories. Ubuntu is in Linux Mint.

What makes Mint different is that many of the basic set up processes and plugins are included in the distribution. Flash automatically works without have to go to Adobe and select the debian package and install it. Some beginner users might not understand that they need to download the DEB package as opposed to the setup or EXE like they are used to. Things like Java are already installed. While this isn’t too difficult to get setup in Ubuntu, it could be for a new user. Mint typically takes these things that a new user might find a bit difficult and does it for you.

Another reason that this might be the best distribution to consider using is because it’s set up much like Windows users are used to using. There is a taskbar on the bottom of the screen. The “start” button, open programs, and similar icons are all in the same place as one is used to seeing them.

If you have started to get into Linux or have had some problems, download Linux Mint and give it a try.

Herb likes to write about technology issues. Please check out his website that contains bathroom floor cabinets information as well as small bathroom sink information.

Tags: , ,

Basic Java Interview Questions


Basic Java Interview Questions

By Richa Pandey

Java today is one of the most sought programming languages by developers and programmers all over the world. The Java platform is being used for development of all kinds of rich applications in phones, tablets, desktops, speakers & other IT enabled software. Thus, demand for Java developers has increased in the market & everybody is jumping on the bandwagon to secure the job of a Java developer. So if you are also in the race & are going to face technical Java interview questions during recruitment but don’t know where to look for the basic Java interview questions, then a complete ready reckoner guide is here for you.

1. What is Java?

Java is a platform independent & object oriented programming language called OOPS. This language was discovered by Mr. James Gosling of Sun Micro systems in early 1991.

2. What is class & define abstract class in Java?

In simple Java terms, class refers to a group of similar objects with the same attributes (data structure) and behavior (function). Java consists of different types of classes such as abstract class, interface class, etc. Abstract class is a differential implemented class (means some portion of this class can be fully implemented during execution while other portions can not be fully implemented).

3. What is the difference between an interface & abstract class in Java?

An abstract class has no direct instances in the system & consists of methods inside the code strings, while such a feature is absent in the interface class.

4. Explain some of the basic features of Java.

Here you can explain many features of Java such as:


  • Java is reusable
  • Unlike other programming languages, Java gives the main emphasis to data instead of procedure – thus making it more user-friendly.
  • Java is a very secure language as none of the data can be accessed by the external or third party function directly without the first user’s permission.
  • Java is platform independent.

5. Explain the difference between a queue & a stack.

The basic difference between a queue and a stack is that a queue works on FIFO concept (that is, first in first out rule) while the stack works on LIFO concept (means last in first out) rule.

6. What do you mean by Java packaging?

Java packaging helps in neat & concise filing of different classes into the respective directories, thus making it easier for the user to categorize the data properly. So if you are dealing with various modules & want to organize your files into proper classes without much hassle, then Java packaging is the apt solution for you.

Besides these basic Java interview questions, you will be asked to write some basic programs in Java language explaining different commands used in each step by the interviewer. The interviewer may also give you some already written programs & you have to find the error(s) present in any steps of the given program stating the reason of errors present with proper logic. So just brush up on your Java fundamentals from any resources available to you & practice some programs execution & running on the computer to master the language & sail through the Java interview questions easily.

A freelance writer writing for a pioneer website http://www.skill-guru.com which specializes on GRE and GMAT based content and preparation material.

Back to top