Tag: programming

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: , ,

"hello world" javascript in LinuxBy David J Selden-Treiman

JavaScript is often useful for website design. It can allow you to dynamically generate content for individual visitors. You can load content dynamically using AJAX. You can create animations that may increase the effectiveness of your website.

However, JavaScript has some drawbacks too.

1. Increased Loading Time

In order for your JavaScript to be loaded by your visitors’ browsers it will need to be downloaded to their computer. This increases the amount of time required to load your webpage.

If you have a very fast internet connection, this may seem insignificant. JavaScript files are often smaller than 100kB, and on a modern wireless or Ethernet connection it will load in less than a second.

However, not all visitors to your website will have a fast internet connection. Some may living in remote locations with slow internet connections. Remember dialup? Some internet connections haven’t gotten much faster than that.

Your webpage may also downloaded by people on mobile devices. While cellphone data connections are getting faster, in many areas, especially in rural parts of the world away from cities, internet connections are still slow. If you use JavaScript on your website, your visitors on these connections will have to wait for it to download.

2. Increased Waiting Time

After your JavaScript has loaded, your visitors’ computers will need to execute your code. If you are using a fast, modern computer, your browser can probably perform your JavaScript quickly and easily.

However, not everybody uses a developer-level computer. Some people use computers that will require a significant amount of time to even start up a browser.

If your JavaScript requires a large amount of time to complete, visitors with slower computers will need to wait… and wait… for your JavaScript to be performed. This may even prevent them from using their computer in other ways.

Having to wait can greatly decrease the quality of these visitors’ experience.

3. Different Implementations

Just like CSS is implemented differently on different computers by different browsers, JavaScript is executed differently depending on the visitors’ machine. This can cause your JavaScript to not work or even make your website unusable.

In general, there are commonly agreed upon standards for how portions of code should be executed. However, not every browser agrees to follow all of the rules. Internet Explorer has historically failed to accept web development standards, causing problems for web developers. (But, thankfully for developers, Microsoft has been getting better about complying with them.)

In addition to browser differences, your code will likely need to operate differently depending on each visitors’ individual machine. Windows, Mac OS, Linux, iOS, Android, and other operating systems all have slightly different (or some times very different) ways of displaying website content.

To compensate for these differences, you will need to design your JavaScript to work with all of these different OSs.

In addition, your JavaScript will need to work with different screen sizes. If you have JavaScript that influences an image that it assumes is 500px by 500px, and a visitor’s screen decreases the size of the image, your JavaScript may not work as you intended. It may harm the appearance of the image or even make the entire page unusable.

Because of the complexity of implementing JavaScript for different browser, OS, and machine configurations, it is usually easier to use alternatives, such as CSS, where possible.

Tags: , , ,

Linux Training and Red Hat Certification

By John Kol Marsh

In today’s competitive IT world, knowledge of Linux can help shape the future of a person. Apart from knowledge in languages such as Java, C++,.net, PHP, knowledge of Linux can help in securing a very good career. Linux was created by Linus Torvalds. The source code of Linux which is called the Kernel is available for free on the internet. Anyone can download and develop it in a unique way. Many companies have already released their own versions of Linux. This makes it a very unique operating system. Every version of Linux is different from the other in one way or the other.

Linux is one of the preferred operating systems for corporate houses.

· One of the greatest advantages of using it is because it’s swift in multitasking. It is very stable in terms of crashing and rebooting. Many other operating systems have to be rebooted from time to time to run efficiently.

· As it is a free-operating system, the bugs are fixed within a very short span of time. If a bug is reported, many people will offer solution to the problem like a community based approach.

· It is secured operating system because of the fact that it is virus-free. This is because it does not recognize or run the virus or worms.

This makes it a perfect operating system for corporate and databases.

Linux training can help in gaining sufficient knowledge about Linux. It is different from the most popular operating system like Microsoft Windows. There are many variations in Linux and one of the most popular versions is Red Hat Linux.

In order that a person needs to fully understand and operate a Linux based system, he or she needs to have required knowledge and training. Red Hat Certification or RHCE Certification is the certificate which is given to those expert users who get through the Red Hat Training and Examinations. Red Hat Training includes Red Hat Essentials, System Administration, Security & Networking Administration, Red Hat Enterprise Linux Virtualization.

Now the question of which professional institute to choose arises. There are plenty of institutes that provide Red Hat Linux. But, one of the best Corporate Linux Training provider is Zonix Systems. Zonix systems has scaled up to the position of a leading Linux Corporate Training providers within a short span of time. The reasons are the course curriculum that they follow and the Team Members. The Team members include some of the best names in the Information Technology industry.

Zonix Systems has teamed up with Red Hat to provide training and Red Hat Certifications. Zonix Systems also provides case study analysis which is a very practical approach in learning the subject.

Zonix Systems is not just a training institute, but it is also provides Linux Support/ Consulting Services and Linux Based Mail Server as well. These Linux Support/ Consulting Services and Linux Based Mail Server services are much needed by Corporate Companies which need advice on implementing and enhancing their operating systems. This Linux training center is located in Noida, and Delhi, India.
Buy the Red Hat Linux Certification Study Guide today!

Tags: , , , , , ,

A Sneak Peek Into Window Based Application Development

By Shania Ellis

There are mainly two types of applications available either window based or web based. Windows based applications are the computer based applications which operates from the computer and runs only on windows operating system. These can be run only on those computers where it is installed. Generally both are confused but there are many differences between them.

Web based applications require web browser and internet connection and can be access on any operating system installed in computer. Each of these programs has their own benefits and drawbacks. Web based applications are fast as the user does not have to install anything before using them and we can access the same program on different computer system. On the opposite side, if the server is not responding we can’t do a single access in web based application. Previously windows were considered to be simple graphical user interface which ran on MS-DOS platform having their own file format and device drivers for running a particular application. But with the advancement of technology various software are introduced which gives a multiple user interface and allows window to run applications bigger than accessible memory. The most advanced window operating system is Windows 7 having great number of new features like touch support, home networking system and SuperBar. Windows 7 is more compatible with applications and hardware than previous operating systems.

Window based application can be developed in several ways. Visual Studio 2005 and Microsoft.NET Framework are the more acceptable application that can be installed as a service on our system. By using Visual Studio 2005 the application development becomes quicker, easier, and more reliable and by.NET programming application user can control the actions like when to start and stop. Windows operating system with.net perk up the speed at which they are operated as they are directly run from operating system. In.NET framework, different programming languages such as VB.NET, VBScript, and Managed C++ and C # can be used for developing window applications, since the.NET Framework is independent of one particular language and are supportive of many kinds of programming languages. Furthermore,.NET Framework can be used for running applications in nearly all platforms such as Linux, UNIX and Macintosh without any hindrance.

The reason why.Net framework is able to support many programming languages is because of its use of the dominant Common Language Runtime engine (CLR). The application programming codes are compiled into a Microsoft Intermediate Language (MSIL) code instead of resident codes which helps in running the application by creating the resident code. In India, there are a number of companies which uses.Net programming. As the global phenomenon is constantly changing and IT professionals know that rather than remaining just as a “specialist”, they should rather develop proficiency and practical experiences in industries, market segments and core business processes that would help them adapt to the changing ecosystem.

Shriv ComMedia Solutions (SCMS) has acquired skill set compatible with the emerging trends and demands. The areas of our skill set include window based application technologies, web application services, web development, multimedia, and technical writing.

Tags: , , ,

How to Start Your Career in System Programming

By Raghu Bharadwaj

If you are a fresher and are really looking for a personally and professionally satisfying career in embedded systems or system level programming then these are the exact skills that you need to get hold of

Skill guide for System/Embedded/Real Time Programmers

•Effectively programming using Data Structures

•Application of C for System programming purposes

•Complete understanding of any Operating System (Linux, most widely used here)

•OS customization skills, Device Drivers, Embedded Drivers

•OS building for target hardware

•Network programming

•C++ for Embedded and Real Time programming

•Understanding finer aspects of Real Time OS designs

•Programming for Multicore architectures

•Above all true passion for hard core programming

The above guide is purely indicative and is based on the current and expected future skill requirements. However these are the skills which are going to stay for a very long time. I call them “skills forever”. Most of these skills are age old and are proven effective time and again with minor modifications to meet moving requirements.

How to master these skills

Here I recommend three proven ways to master these skills

1. Self Learning

Go out and do it on your own, this is the mantra of self-learning, definitely, the most satisfying path of all the. With so much open information available self-learning is definitely recommended. A decade back may be it would have been ill advised, due to lack of information available through Internet, books and so on, but the current situation only augments the use of it.

Pros & Cons

This is indeed the most satisfying of all paths. Information is readily available and it is only left to you to explore and deduce the right information. Now students willing to walk this path should be very selective in choosing information as there are every possibility that he/she may end up with heavy unwanted or even misleading information and most importantly taking much of his time. To sum it up I would say that in this path the learning curve i.e. the time taken to learn is more compared to all other kinds of learning.

Sources for this style of learning are: internet, books, practical experimentation, technical forums, seminars and so on.

2. Mentoring/Professional Training Course

To put it in a single sentence, “Look for a mentor/trainer who can extend his expertise and help you build your skills in the smartest and shortest way”. Definitely the most widely preferred channel of learning and also the most confusing, thanks to the ever growing number of training organizations offering a wide variety of courses. I certainly am not against this trend but I would only like to caution students on being very selective while choosing these organizations for building their skills.

Let us look at some of the common training programs available for Embedded/System software development

There are a growing number of institutions offering specialized training courses on this domain. Most of these institutions offer a similar line of course contents with minor deviations. However most of them do talk about:

•Programming with C and Data Structures

•Programming with C++

•Linux/Unix Essentials

•Some part of Linux Drivers

•Micro-controllers and Programming them

•Embedded Systems Concepts


Now if you compare this with the above mentioned Skill guide, surely most of the training organizations need to drastically improve their contents to cater the exact skill requirements of the students and mind you most of these institutions are delivering these courses just at the knowledge gaining level. So be extremely selective in choosing your training courses. This is a highly recommended source of learning as there are plenty of options to choose from, obviously with a bit of scrutiny.

3. On Job Training

Definitely the most preferred method of learning. This gives the student a great opportunity to be in the company of experts and also in the most conducive learning environment. The student who enters this course would develop his/her skills in a way which is most desired by his/her employer. This could help in building both generic as well as specific skills. However there is a good chance of being very specific in the skills gained and this may hamper his overall generic outlook.

Now it’s your turn to choose

So the choices are open, rate your skills and choose any path or even try to come up with something of your own. Just remember that, our expertise can always be availed and we will be more than happy to help you.

Raghu Bharadwaj is a lead trainer in the area of Linux System Programming, including Linux Device Drivers, Kernel Programming, Embedded Linux, RTOS and Network Programming etc. To know more about his online and campus based training programs visit http://www.techveda.org.

Tags: ,

Important Concepts For Linux Beginners – Shells and Utilities
By Levi Reiss

A shell is the command interpreter program that serves as an interface between some users and 250px-Bash_demothe operating system itself. We say some users because most users rely on the graphical user interface. The Windows shell is the DOS command line interface accessed by clicking on Run and then entering the cmd command. The Windows graphical user interface is Explorer. This article describes the Damn Small Linux shell interface and several utilities, useful programs that may be launched from the shell. A subsequent article will describe the corresponding graphical user interface.

Why would anyone want to bother with a shell when the prettier, easier-to-learn and easier-to-use graphical interface is available? The answer is: It depends who you are and what you want to do. For system administrators or their associates it’s often much less cumbersome to use the shell rather than the graphical user interface. While Damn Small Linux commands may be quite arcane, they are often very powerful. And efficient. The Linux way of performing administrative and other technical tasks admittedly takes time to learn and master. But it does the job and does it well. In all fairness, many Windows systems administrators often apply command-line utilities. But they don’t have a powerful shell to help them do their work.

Historically Unix used the Bourne shell, the C shell which resembles the C programming language, and the Korn shell. Linux’s most widely used shell is Bash, also spelled BASH, the (Bourne-Again Shell). Damn Small Linux offers many shells but most people go with Bash both to communicate interactively with the operating system and to write programs known as shell scripts. If you program in Linux no matter which programming language you use you should learn some Bash specifics.

Utilities enable you to handle some very sophisticated processing. You can think of them as commands or as prewritten programs. Unix-Linux people often send the output of one command or utility to another command or utility for further processing. For example, the ps command displays active processes. It tends to generate voluminous output, especially in a busy system. Let’s say that you are interested only in the processes associated with a given terminal. You send (the technical term is pipe, expressed by the | character) the output of the ps command to the grep utility which looks for patterns within the input. You code a single line, multipart command to obtain the list of processes associated with that particular terminal. Unix and Linux are well known for elegant solutions. In contrast the Windows solution to this information need is much more clumsy.

The grep utility has many other uses including validating e-mail addresses. Let’s say that your web site asks potential subscribers to furnish their e-mail accounts when signing up for a newsletter. A sophisticated but relatively short statement coded in grep could validate e-mail accounts.

DSL-logoOther Damn Small Linux text processing utilities include the related egrep and fgrep commands, mawk a pattern scanning and text processing language, sed an editor that handles large files, and diff a utility that compares files. DSL provides utilities that compress and archive files, and a wide range of other utilities. If you need them, these Linux utilities can be very useful and time-saving.

Our next subject is Linux programming support.

Levi Reiss has authored or co-authored ten books on computers and the Internet. He loves the occasional glass of wine as exemplified by his wine websites including http://www.theworldwidewine.com. He teaches Linux and Windows operating systems plus other computer courses at an Ontario French-language community college. Visit his new website http://www.linux4windows.com which teaches you how to download and run Damn Small Linux on Windows computers, even if they are “obsolete.”

Tags: , , , , , , , , ,
Back to top