Friday, 24 June 2011

Tips to Crack Core Java Interview Questions

Java today is one of the most popular digital applications in web designing & is being preferred by the layman as well as high end users for different purposes such as in flash video application, 3-D gaming, complex software development etc. So students, java developers, and technical recruiters are producing their own application using java platform. But if your basic java knowledge is not strong then you would not be able to develop your unique application and hence flourishing in the ever growing & expanding IT industry would become impossible. Thus first work on your Core java interview questions to land up a plum job in IT industry as well as to enhance your Java knowledge. Java, an object oriented programming language offers three basic level of programming viz. core java programming, specialized java programming & advanced Java programming. Out of these first basic level is called basic Java programming language & is the first step of mastering Java language. While attending a technical interview you will be asked most question on the basic java as interviewer wants to check the fundamental (core) knowledge of the candidate. There are many resources available both online & offline to prepare for the java interview questions but if you want to save your time and is looking for some ready reckoner guide to help you in preparing Core java interview questions, then do follow some of the tips described here.

Make your fundamental java knowledge strong

Firstly go through all the core java interview questions like

What is OOP concept?What is abstraction, encapsulation, inheritance, polymorphism principle? Difference among all these four principles.What are some basic features of Core java language?Why Java is preferred over other language?What is the basic application of java language?Practice core java programming by running basic java program

Install basic java software on your desktop/laptop and practice some basic program by proper running & execution. During java interview questions round, you would be surely asked to recognize the error present in the program given or written by you. If you do not have sufficient practice on java programming, then you would find it very difficult to find the minute error hidden in the many steps of the program. Many a times even a small semicolon, colon, bracket changes the complete execution of program. So practice the program on computer to excel into java interview questions.

Use online & offline resources available for comprehensive knowledge

There are many books & questions series are available on Core java interview questions in both online as well as offline format. If you surf web regularly then you can subscribe to practice test series on basic java. Some of these practice tests are completely free while for others there is a nominal fee marked to the material so decide according to your need & prepare well interview questions on basic java. Beside if you are looking for hard copy version on Core java interview questions,then go through any book store & you will find numerous books on core java. But before buying look for the language & content as well as program illustrations. If you are not able to understand the content then it is futile to spend your money on that book. So choose the material wisely and prepare well for Core java interview questions.


 

Thursday, 16 June 2011

Tips For Choosing The Best Custom Software Development Service

In order to build the right kind of business, it is important to have a well known web presence. Those who are not yet published on the net might want to think about moving forward with the process. In order to get the right amount of help, look into this guide and learn how to choose the best custom software development service to work with. Start with these simple tips right now and see how easy it can be.

Take some time to evaluate the current system and software that is being used. Many people find that they need to work with a service so that they can get something new and fresh built and installed. It will be up to the business owner to look into the system being run and think about the type of changes that need to be made. This is going to make the process a lot easier in the long run.

On top of that, be sure to sit down and think about what the business needs in a software system so that everything can be done the proper way. The custom software development service that is hired will need the right amount of details so that they can begin taking care of the order. In order to ensure that the development goes according to plan, the owner needs to describe what they need and show the service what has been used in the past.

There is no need to worry about spending too much money on these services. In fact, many of these services will offer great rates, depending on the type of work that needs to be done. Owners should think about the amount of funds that are available for the project and go from there. If the development service is not willing to work with the cost, move on until the right company is located. Estimates are usually provided to owners so that they can get an idea of what they will need to be spending.

Before settling down on an actual custom software development service to work with, do a little bit of a background check. It is important to choose a reputable service that is known for providing systems that businesses have grown from. Look into different ratings and find out who currently has the best reputation to work with. This does take some time, but actually sets the business ahead when they locate the top rated service that will sign on for the needed job.

The best advantage that people can get from working with these services is the fact that they can be done online. Many owners are actually outsourcing the work to various countries over the internet and reaping a number of different benefits. Take the time to browse around on the internet and see which outsourcing companies currently have the right time to take on a brand new development project.

If the company hired does the right kind of job, make sure to keep them in mind for the next project. It is always a good idea to keep these services on file at all times, just in case something does happen to the software that was created. Be sure to evaluate the service that is rendered and build the right kind of working relationship.

Hiring a reputable custom software development company is quite simple these days. There are many businesses out there that have been able to get better results and higher profits because of the change. Start looking for services right now and see what they can do.

Monday, 13 June 2011

How to Monitor If an Image Loads Completed - HTML and Javascript Tips

Recently, a requirement about display images using Javascript came to me. The requirement is to display 3 images in a div tag and after 6 seconds, it should display 3 other images. The problem is that the images have to be loaded from a remote Internet site, so that the end user will have to wait when the images are loading.


Here is how I came up a solution:


Use 2 types of image loading. Type 1 is a traditional loading and type 2 has a loading completed function. Using 2 divs (called div1 and div2) to contain image.


At the beginning, display 3 images using type1 on div1 and hide div2 and start the loading function. The loading function will get the next 3 images' addresses from the server, start loading the them using type2 onto div2, initialize a loadingImageCount variable as 3, and schedule a check function after 6 seconds. The type 2 image loading completed function will decrease the loadingImageCount variable by 1. The check function will check the loadingImageCount variable. If it is greater than 0, schedule a check function after 1 second and end.


Otherwise, it will use animation to swap div1 and div2, swap the reference of div1 and div2 (so the next calling of the loading function will affects div2 at that time or div1 at this time because div2 at this time is displayed and div1 at this time is hide for preparing the next 3 images), and start the loading function. (Red means image loading type. Green means function name. Blue means variable name.)


Then here is the unusual part: how to implement type 2 of image loading that have a loading completed function? How to monitor if an image loads completed?


After searching for some time, many suggests a DOM object's variable called readyState. My testing shows it can work on IE8 and Firefox 3.6 without any bugs.


Here is the function:


function handleImageLoad(imgDom, fn) {


if (imgDom.readyState == "complete") {


fn.call(this);


} else {


imgDom.onreadystatechange = function() {


if (imgDom.readyState == "complete") {


fn.call(this);


}


}


} }


The usage is like:

handleImageLoad(document.getElementById('img1'), function() {alert('loaded'); });

(Please refer to web design blog for colored coding version.) It is not perfect though. It might not be able to monitor when the image is loaded after checking and before the function registering. Another better way is create an image object using JS, register the onreadystatechange on it, and then change its SRC. However, the above method is generally enough for current usage this time.


24K Design Studio Pte Ltd is an innovative Singapore web design and SEO company providing corporate website design, content management system, ecommerce solution and search engine optimization (SEO).

Monday, 6 June 2011

6 Vital Aspects To Consider When Evaluating Code Generators

Code generators have been a hot topic in programming for many years. Love them or hate them, they can make your life much easier by making you more productive, your code more maintainable and creating a common development methodology. The difficult aspect is discerning which are vital aspects and which are nice to have.


First, the generator must allow for "round trip" code generation - the regeneration of code without wiping out any custom changes. This is vital because you will be changing the database design frequently in the beginning. The best tools implement this by only regenerating the base classes. The child classes are left untouched.


Second, the generator must have a built in security system and roles. This is critical because many applications have a business requirement of authentication and authorization. We only want people in the application who should be using it. Then, once logged in, we only want that user to view what she is allowed.


Third, the generator must create a distributed architecture. So many applications get started as small projects. Over time, they became large and difficult to maintain. We want to start out with a scalable standard architecture. That way, our developers get used to a common development methodology. This commonality allows the IT manager to move developers to different projects with very minimal ramp up time.


Forth, it must have an active development community. Go to the code generator's web site and check out the forum. Are there a lot of people there? Did the code generator's creators frequently answer questions? If they answered, what was their tone? Helpful? Annoyed?


Fifth, the code generator must include the source code for common components or generate all the code. This is needed because you want to be able fix any future issues yourself. Too frequently, you will find a bug in a component and you must wait for a fix. This can take days or weeks. This is simply unacceptable in many businesses.


Finally, look at the history of the company and the code generator. How long have they been in existence? You will be investing a lot of time, effort and money into learning the code generator and its architecture. You want to have certainty the company will be around for several years to come. The last thing you want to do is become familiar with the tool and find out a couple months later the company went out of business.


Richard E Beck is a Brainbench Certified Internet Professional (BCIP) - Web Development and a Microsoft Certified Solution Developer (MCSD). He has over 17 years of experience in distributed applications, Service Oriented Architecture and web development. He has spent the last seven years building and studying code generators. Visit http://richbeck.com/ to read more.