Mock tests, Interview questions, Tutorials and Tech news
 
 

Archive

Author Archive

Spring Certification in India

February 4th, 2010 smitha 2 comments

Spring framework is very popular and need of spring knowledge among the IT industry is raising. But I found that getting a spring certification is not very easy.  To get the spring certification voucher you have to take spring training from spring source, which are available in few major cities of India or you have to have a prior work experience in spring.

You can find spring training locations here…

Read more…

The Object Oriented Game Approach Part 1: Objects

January 27th, 2010 smitha 1 comment

(For the next series of articles, I would assume that programming would be a fundamental part of one’s body, if not, then go practice! Also ,you need to brush up on some Object Oriented concept. Happy Reading)

Today, we would be tackling about Object Oriented Paradigm, in relation with Game Programming. For now, think inside the box.

First picture a room, say for example picture a computer room.

What should be inside this kind of room? More or less we can see a number of  CPU’s, keyboards,mouses,monitors,cables and maybe one or two printers.Is the room airconditioned? Then you can probably feel a little cold inside this room. Hear some music or probably some noise? Is a sound system probably present too?Also, you should not forget about the tables and the seats where the computers are, or the AVR’s where the computers are hooked too! Have you gotten a feel of the room yet?

Planning is almost always done first instead of just rushing in and just coding whatever pops out of the mind. Coding without planning is only done for those things that need to be crammed. Game programming shouldn’t be one of them.

Now proceed to the next step. Ask yourself these questions:
a)Where are you again?
b)How many objects are in the room?
c)Why are these objects here in the first place?
d)What is the purpose of a specific object?
e)How does an object work?
f)What are the functions of these objects? Read more…

A Game Design/Game Creation Short

January 18th, 2010 smitha 2 comments

Have you ever played a game that you have been so immersed with ? You probably were too addicted that you skipped meals trying to finish a goal or a mission.Have you ever wondered how games as simple as Bejeweled, or as huge as World of Warcraft captivated the hearts and mind of both the young and the old? Well, blame it to game design.These 2 games are very well-designed that once you start playing it, it’s hard to let go.

So how can you say that a game is well-designed. There is at least 3 prerequisites(properties) to well-designed games ,namely:

a) Planned- well-thought-of; plans are usually drafted a number of times before finalization

b) Functional- it works the way it should be ; it should achieve its purpose

c) Tested -ensure everything is going according to plans before implementation Read more…

Transaction Management in Hibernate- Part I

December 17th, 2009 smitha No comments

Transaction: Transaction simply means a unit of work, which is atomic. If only one step fails, then the whole unit of work fails.  When we consider database, Transaction groups a set of statements/commands which gets committed together. If a single statement fails, whole work will be rolled back.   Transactions can be described using ACID criteria. Read more…

Action classes in Struts

November 16th, 2009 smitha 2 comments

In this post we will explore the features of Struts 2 action class and its capabilities.

Struts2 Actions are the most important and main part of struts2 Framework. They work as Model of MVC framework. Following article gives you more deep idea about Action classes  role, configuration etc.

Action class Role:

1. Acts as Model encapsulates the business Logic: The main responsibility of Action class is to include business logic. The business logic will be encapsulated in execute method of the Action class. Read more…

Categories: Programming / tutorials Tags: ,

Struts 2 – Hands on Tutorial

November 15th, 2009 smitha 3 comments

Struts 2 Practical Tutorial:

Following tutorial demonstrates you a simple  struts2 application and explains you how things work together in struts2. The tutorial demonstrates sruts2 using a calculator application which calculates different operation results and displays them.

The tutorial uses Eclipse3  IDE -  or above.

Step 1:  Download struts2

Download struts2-blank-xxx.war from  :   http://struts.apache.org/download.cgi

Step 2:  create a project in eclipse

Create a new Web project in eclipse. (To create webProject click File Menu on top–> select New –> Select Web Project ).
Once you create the application will have src folder and a WebRoot folder. Read more…

Categories: Programming / tutorials Tags: ,

Struts 2 New Features

October 29th, 2009 smitha 6 comments

       Recently for a  training I started learning struts2.  As I had worked on struts one few years back I started comparing both struts-2 and 1. I found struts2 very easier than struts1.  

Though struts 1 was very popular, comparing it with the newer frameworks, which has come into market in last 2 years, struts 1 has some problems.

  •  ActionForms / Action classes etc – one action needed lots of coding and they were a pain
  • Also the action class unit testing was difficult.
  • Type conversions were not automatic.
  • There was no special feature for AJAX in the framework.. etc

Read more…

Categories: Programming / tutorials Tags:

Some useful options in Class element in Hibernate

October 22nd, 2009 smitha No comments

Hibernate mapping: the <Class> element: Some useful options

In hibernate mapping file the <class> element maps the domain object with corresponding entity in the database. It will be defined under <hibernate-mapping> tag. <Hibernate-mapping> tag also allows multiple <class> tags inside it. (i.e we can save multiple class mapping information in a single file).

A sample class element looks like below:

<hibernate-mapping>

<class table=”user_tasks” >

<id column=”user_task_id”>

<generator>

</generator>

</id>

.

.

.

</class>

</hibernate-mapping>

Here we don’t discuss all the class element attributes, but some which I found very useful: Read more…

Get Adobe Flash playerPlugin by wpburn.com wordpress themes