Friday, December 30, 2011

My Sql Queries


To create table:
create  table table_name(col1 datatype(size),col2 datatype(size)……..);
create table ramgodgift (eno int,ename varchar(20));

To Insert Values into Table;
Insert into table_name(col1,col2…) values ( field value1,field value2…..);
insert into ramgodgift(eno,ename) values(1,'ramgodgift');

To create database::

Create database data_base_name;
Create database ramgodgift;

To delete the database::

Drop database database_name;

To get the backUp::

Mysqldump –u [username] -p [password][select a drive] [give back up name].sql;
Mysqldump –u root –p mifos > c:\ramgodgift.sql

To Update Table::

Update Table_name SET field1=value where field2=value;
Update ramgodgift set ename=’suresh’ where eno=2;
Note: varchar should be in single(‘’) quotes.

My NEW YEAR CELEBRATIONS 2012

"We've done this every year since about 2004, and it's always been a good time. I expect a lot of people, and that will be couples and teenagers and families with children, just everybody."



"I expect that if it is bitter cold, then we won't see people comes out  until 11:45 (p.m.), but that's because they will be at house parties.

I hope in better way the new year celebrations can be done

all ready i have planned for what to do on this new year party.

some times i got an doubt that why i can celebrate the new year party

but i have to celebrate for enjoy purpose.

HAPPY NEW YEAR IN ADVANCE

RAMGODGIFT

Saturday, December 24, 2011

Spring IOC


Spring IOC is a Architectural pattern describing an external entity (i.e Container) used to wire the object at creation time by Injecting there dependencies.
Below two packages are provides Basis for Spring Framework IOC Container.
Ø org.springframework.bean
Ø org.springframework.context

Dependency Injection is a process of injecting the dependencies into an Object. Because we generally divide huge applications into some object and this object represents some functionality.
BeanFactory interface manages the objects at any Nature.
ApplicationContext is built on the top of the BeanFactory it adds the other functionality such as easy integration of Spring AOP feature.
In spring Object are  the backbone of our application that managed by spring IOC* container are referred to as Beans . A Bean is simply an Object that managed by Spring IOC Container.

Spring core container:

Spring core container is a basis for complete spring framework. It provides an implementation of IOC supporting Dependency Injection. Spring at present allows us to supply the configurations either as an XML format , properties file format, or programmatically using by Spring Bean API. But we mostly prefer for XML based configurations since they are simple and easy to modify.

INITIALIZING SPRING CORE CONTAINER

It can be instantiated by creating an Object of any one of BeanFactory or ApplicationContext implementation classes supplying Spring Bean configuration.
//using ApplicationContext or Bean to Instantiate Spring core Container. 

APGENCO Online Apply for 411 Assistant Engineer Trainee Vacancies 2012 Read more: APGENCO Online Apply for 411 Assistant Engineer Trainee Vacancies 2012


Andhra Pradesh Power Generation Corporation Limited (APGENCO) has issued advertisement for the recruitment of Assistant Engineer trainee Vacancies. Eligible candidates have to apply through online from 20.12.2011 – 03.01.2012. The following are details about age limit, educational qualifications, no of vacancies & other details regarding APGENCO Recruitment are mentioned below…
APGENCO Vacancy Details:-
Total no of vacancies: 411 Posts
Name of the post: Assistant Engineer Trainee Vacancies Branch wise
1. Electrical: 219 Posts
2. Mechanical: 100 Posts
3. Electronics: 30 Posts
4. Civil: 62 Posts
Age limit: Candidates should be below 34 years as on 01.12.2011. Upper age limit relaxation for SC/ST/OBC/PWD candidates is given as per Indian government rules
Educational qualifications: Must possess B.E/B.Tech/A.M.I.E., in respective branch or equivalent qualification from any recognized University
Selection procedure: Candidates are selected on the basis of written test, & interview
Registration fee: RS 500/- for Regular Candidates, Rs 150/- for SC/ST/BC Candidates. Candidates should pay regs.fee in any one of AP online centre (or) AP online Portal to obtain journal number.
How to apply: Eligible candidates have to apply through online. The following are the instructions for filing online application are mentioned below
Online application instructions:
1. Candidates have to visit www.apgenco.gov.in for details & online application
2. Candidates have to upload their recent passport size photo at the time of submission of application
3. Candidates have to submit online application from 20.12.2011 – 03.01.2012
Important dates:
Starting date of submission of online application: 20.12.2011
Closing date of submission of online application: 03.01.2012
Last date for payment of registration fee: 03.01.2012
Written test: 22.01.2012
For more details regarding age limit, educational qualifications, pay scale, how to apply, selection procedure, no of posts, application fee & other details of APGENCO Recruitment 2012 is available at below link…