Tag: development

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 Archie Spencer

androidI always hear the same question asked in several ways. “Can I actually learn how to produce apps for Android?” “How hard is it to study Android programming?” “Where should I go to learn Android programming?” “I just bought a new Android device, and I feel so inspired! I have an idea for a new application, but where do I begin?”

Mobile application development is really hot these days, and Android is now out in front of the rest in the mobile app world. And if you have already read this far in this article, I’m assured it is because you have already been asking some different version of one of the questions listed above. Today you are lucky, because I have already been down this road, and I have one resounding response: “Positively! It is really feasible to become able to write Android applications, no matter your background, and the tools to study and develop with are free and simple to use!”

So let’s begin with the tools. The number one tool for Android programming is the Eclipse IDE (Integrated Development Environment). Eclipse is free, runs on many operating systems (including Windows and Linux), and is often upgraded to provide better performance in development. In addition, the Android Development Team from Google has provided the Android Development Toolkit (ADT) plugin for Eclipse that turns it into an Android mobile application fabrication powerhouse! It turns application compilation into a one-click task, provides custom editors for layout files and resources, and automates updates for the latest revisions of the Android SDK. Some developers find Eclipse a little quirky, or even buggy to use at times (myself included). For example, it won’t always recognize new resource files until you restart it, which is sometimes a pain. However, I always use Eclipse with the ADT plugin for all of my Android programming, and I suggest that you do the same thing.

You may always opt to use a different piece of software, and there are many out there. But a word of caution about IDEs: many Android IDEs claim to turn mobile programming into a “drag-and-drop” process, or permit Android programming in other languages besides Java. Is it easy to create mobile apps using these tools? Of course. Will they be alright apps? Maybe. But will they be great apps – apps that really exceed expectations and extend easily with new features as the Android mobile platform evolves? No. Mobile programming is just like any other task worth doing: do it correctly (in this case, do it the Android way) and you will always have better success.

Now on to the study part. This part will take much longer than just downloading a simple tool. Learning Android development is like studying any other foreign language (and that is what this is – just a foreign language, except a language that allows you to talk to a computer instead of another human). It will require persistence, and a lot of trial-and-error. A good portion of readers will quit, telling yourself that it isn’t worth it. That’s ok: the remainder of us will succeed in the Android app market in your absence! For those readers who don’t quit, you will find the process very rewarding in so many ways.

If you don’t understand Java, that is how you need to start. When I started learning Android I got a little frustrated, because I didn’t already understand Java beforehand. After spending a week on the basics of Java, I learned that I could read the code samples and understand the examples. So start there.

Next is the Android SDK itself. There are so many studying tutorials for Android available that I really don’t have the room to list them all in this post. But Google does, so search for it. Search for “Android app tutorial” and start with the tutorial that suits you the best. It is truly that easy. I would also suggest the Android lessons found in the Android SDK online documentation for all of your coding reference needs about the Android platform. And don’t forget those newsgroups! They are one of my favorite places to find instant help from real developers who enjoy helping new programmers.

Archie Spencer is an Android development veteran, and has been building mobile apps for Android since 2010. He invites you to continue your journey on the path to dominating the Android app market by checking out his new Android App Tutorial, designed specifically with new developers in mind.

Tags: ,
Back to top