Author Archives: Tech Admin

Eclipse Quick Tip: Resolving Error “The import javax.servlet cannot be resolved”

When you start to develop web application using Java, you may think to use Eclipse as the IDE. Assume that you have seen a good tutorial about Java servlet on the internet or read the chapter of a book discussing about web development using JSP.

You are now writing the first servlet by using the wizard provided by the IDE. However, as soon the template file is loaded on the source code editor, you encounter the infamous error “The import javax.servlet cannot be resolved” just like depicted in the figure below.

Servlet import error

Continue reading

Quick Tip: Configuring Eclipse to Run for the First Time

Eclise GalileoFor Java developers, Eclipse is a convenient tool to develop software in broad range of programming languages. This tip is intended to help fellow developers who never use Eclipse before but are eager to start developing applications using Eclipse IDE.

Even though Eclipse is cross-platform, there is no guarantee that the tip provided in this post will also work for version of software and environment other than ones described below:

  • OS: Windows
  • Eclipse version: Eclipse 3.5 Galileo
  • JDK version: Java EE 6 SDK

Continue reading

Expanding to Java-related Topics

Various topics covered in Amikelive Technology BlogSince its inception, frequent readers or random visitors of this blog may come into conclusion that this blog talks a lot about PHP-related topics. This is somewhat true since at the time the blog was firstly launched, I had dealt with mostly applications built under W/LAMP environment. Even though I also fiddled with applications developed without any PHP codes, the scarcity of hands-on experiences under such circumstances avoided me sharing experimental results, hacks, software components, or even simply a technical note.

As the time progressed and I got involved again in academia, Java started to take some portion of my development time-table. Several years ago, I used Java to build some simple stand-alone desktop applications. As for web application, the PHP advocates were successful to send me to the PHP island. It is the simplicity of PHP and my first impression to the slowness of a Java-based web application which prevented me from delving more into the Java world. Fortunately, there were situations which forced me to use Java in my work and some other scientific experiments. These initially-undesirable situations then turned into a phase of Java re-learning for me. But at the time, I already had had better systemic understanding and ability to look at the bigger picture. The phase of relearning gave me better insight and understanding about application design and to bigger extent, the system design.

I feel very ecstatic about expanding the topics of this blog to also include some Java posts. It can be a subject of lesser interests for you. However, I believe that being open to changes will bring other positive impact. As a technology blog which has been around and settled for more than three years, it is time for this blog to move forward. It is the time to broaden the user base without abandoning old users. Now get yourself ready for more good stuff to read. So, please stay tune!

Comprehensive Guide to Java (JRE and JDK) Installation on Fedora Linux – Tips and Tricks

Sun's Java JRE and JDK on FedoraIn this article, you will be exposed to the installation of Sun Java in Fedora Linux. Although Java has been installed by default in every fresh Fedora package, the Java version shipped along with the OS package is the open-source version GNU Java instead. Some applications and frameworks may require Sun Java. Due to licensing issues, however, Sun Java can not be bundled with the default Fedora Linux package and should be installed separately. Although the installation steps in this article can also be reproducible in other Linux distributions, there is no guarantee that steps advised in this article will also work for other Linux distributions.

The installation of Sun Java in a Fedora Linux box can be seamlessly easy. Yet, some people especially those with minimum technical experience on *NIX OSes may face difficulties in completing the installation. This article tries to provide a comprehensive guide for the installation. It provides whole steps to be followed along with corresponding snapshots so that one can accomplish the installation successfully. It also shares some useful tips which may help readers in understanding the environment they are working on better.

Prerequisites and constraints

This installation assumes that the following requirements and constraints have been fulfilled:
1.    Installation will be conducted through the console prompt.
2.    User conducts the installation using root account.
3.    The software yum must have been already installed in the box.
4.    The software wget is already installed in the box.
Tip: if wget is not installed yet, run command yum install wget from the console and the software will be immediately installed.
5.    Fedora version used is Fedora 8.0 or newer.
Note: in legacy Fedora, there is different path in installing the compatibility libraries. You can check jpackage site for more information.
6.    JRE and JDK version to install is 1.6 (snapshots are for JRE and JDK 1.6 update 17)
Continue reading

Whitepaper – An Introduction to Private Cloud

As the word “cloud computing” becomes more ubiquitous these days, several questions can be raised ranging from basic question like the definitions of a cloud and cloud computing to more tempting questions like architecture of cloud infrastructure and implementation of cloud computing to solve complex, data-intensive compute problems.

Concerns raised over the cloud computing are mainly related on how secure and reliable the cloud is to support enterprise-level requirements. The notion of offloading data and process to third party infrastructure or software providers in cloud computing may not be a sound idea in the enterprise realm. This article will briefly summarize private cloud, a type of cloud environment which is designed to be run with stringent requirements that may fit the enterprise-level SLAs.

Download the full article here: An Introduction to Private Cloud (7757 downloads )