Thursday, 17 October 2013

East Coast Railway Recruitment cell 1626 Posts



East Coast Railway Recruitment Cell: East Coast Railway Recruitment Cell(RRC) has announced a new notification for filling the 1626 posts like Trackman,Token Porter,Helper II,Safaiwala posts.who are eligible candidates can apply these posts and fallow the given details and apply before 11-11-2013.RRC Bhubaneswar Group-D Posts details are given bellow..

Vacancy Details

Name of the post: Group-D

Number of posts: 1626
  1. Trackman
  2. Token Porter
  3. Safaiwala
  4. Helper-II
Age Limit: candidate age should be greater than 18 and less than 33

Qualification : 10th Standard or ITI equivalent

Fees: 100/for UR and OBC candidates.

How to Apply:candidate  first download the application form and fill the application form along with necessary documents should be sent the given address.

For More Details we can click the fallowing link

Read More

Important Questions in Hibernate



Important Questions in Hibernate

In real time Hibernate is  called as DAO(Data Access Object).Because Hibernate Only Provide the Persistence Logic.DAO Pattern suggested that to separate the Business logic and Persistent logic.So in this process loose coupling between the business logic and persistent logic.And also reusable the persistent logic.

1.In Hibernate what happens when the same object is loaded for two times with  in a session?
ans:

  • A session of hibernate maintain a cache for storing the objects used in a session.With the help of the cache to reduce the no of round trips between the java application and database.
  • For the first time hibernate load the object from the database and it will be stored in a session cached .
  • Second time the object is loaded from the session cache but not from the database.

 We can understand  how many times the object is loaded from the database,using select command printed on the console.

2.what is the difference  between the save( ) method and persist( )method in hibernate?
ans:

  • save( ) method  return type is serializable  and persist( ) method return type is void.
  •  save ( ) method will save the object in session cache and returns the id of the object in  serialized format. 
  • persist( ) method will save the object in session cache and doesn't return any id of session object.
  • If the generator class is assigned the the programmer need to assign the id explicitly.In this case persist( ) method is used.
  • If the generator class is other than assign then hibernate will assign id of the object.In this case save( ) method is used.

3.What is the difference between save( ) and saveOrUpdate() methods?
ans:

  • save( ) method will perform only save operation.but saveOrUpdate( ) will perform save and update operations.
  • saveOrUpdate( ) method performs save operation if the id is new.If the id is persist then it perform update  operation.

4.In properties of pojo class,primitives or wrapper  is better type?
ans:

  • wrapper type is better than primitives .Because if we don't assign  a primitive  property value then it will save the property value is zero.It will miss understanding of the data.
  • To over come this problem we use wrapper type property  in this we don;t assign a primitive value then it will save the property value null is stored in database.So there will be no misunderstanding of the data.
5.why hibernate is recommended  to implement a pojo class java.io.Serializable interface?
ans:
  • If a database server is running on local machine then the object of pojo class may or may not be implement a serializable  interface
  • If a database server  is running on a remote machine in a network then only serializable objects are transfer in to the network.So we can must implement our pojo class object with serializable interface.
6.Can you create a hibernate application without creating a configuration file or not?
ans: Yes.we can create a hibernate application without configuration file.By using we can create a properties file or we can add a configuration pro-grammatically.

  • Before hibernate 3.x,Configuration file can be done either using properties file or pro grammatically .In hibernate 3.x we can use configuration xml file.
  • In properties file we can configured only connection properties and  hibernate properties.mapping resources can not be configured.
  • we can add the mapping resource to configuration explicitly by calling add Resource()method.
example:
hibernate.properties
     connection.driver_class=oracle.jdbc.OracleDriver
     connection url =jdbc:oracle:thin:@localhost:1521:XE
     connection username=system
     connection password=tiger
    dialect=org.hibernate.dialect.OracleDialect
    show_sql property tag
    
      In this above properties file we can configure only hibernate properties and connection properties.
      Next we can call the mapping resource through calling addResource() method in client application.
example:
         Configuration conf=new Configuration();
           conf.addResource("product.hbm.xml");
7 What is difference between the pool and cache?
ans: In hibernate mainly two difference are there in pool and cache.
  • pool  is a group of equal objects.we call them as stateless objects.But a cache is a group of unequal objects.we call them as state full objects.
  • In a pool a client has to wait until one of the object is free,when a pool is busy.where as in cache a client has to wait until any one of the object is free when cache is busy..
Read More

Wednesday, 16 October 2013

Amazon Walk in for Fresher 2013



Amazon Walk in For Freshers in Hyderabad:: Amazon Company has conducted a walk in for freshers from 21st to 25 October.company details and candidate qualification and skills are given bellow.who are eligible candidates can attend this walk in.

Company Name: Amazon

Designation: Associate

Experience:Fresher

Qualification: BE/B.Tech 2013/2012/2011 Batches

Location: Hyderabad

Salary: As per the Industry

Job Details: Communication skills,use sql understanding data models for business functions.

Apply Mode: walk in

Walk in Date: 21st to 25th October 2013

Timing: 10 AM

Venue Details:
Amazon Development Center India
Plat no 6
DivyasreeTrinity Building,
Madhapur-Hi-tech city
Read More

Tuesday, 15 October 2013

Tamil Nadu Open University End Exam Results


Tamil Nadu Open University (TNOU) has released  a end term Examination Exam results 2013 which are held in the Month June 2013.who are attend the exam then it will check their results.All the candidates are enter their hall ticket number and get the results through the online.The candidate can enter the roll number and get the results. In case of your are forget the your roll number then enter your full name and click on the Find Results button.



    The results are available through the online website India results.com or we can check the given bellow link

Read More

Interview Point of view Mostly Asked Questions in Hibernate:



 Interview Point of view Mostly Asked Questions in Hibernate:

In Interview point view most important questions are given bellow.These are all questions in Hibernate. In real time hibernate place a very important role in applications.By using Hibernate we can connect the application with database better than the jdbc and more features are  available in hibernate.
1.what is the nee d of the Dialect in Configuration file of the Hibernate?
ans: To generate the database related sql queries internally Dialect is used.

2.what is the benefit of Configuration file name as hibernate.cfg.xml?
 ans:--> if the file name is hibernate.cfg.xml then it is optional to pass the file name as parameter to            Configure().
      -->if the file name is some other say krishna.cfg.xml the we need to pass the  configuration file name to Configure() as mandatory.
for example:
       i) if the file name is hibernate.cfg.xml
            conf.configure( );                     ----->correct
            conf.configure("hibernate.cfg.xml");---->correct
       ii)if the file name is krishna.cfg.xml then
           conf.configure( );                      ----->wrong
           conf.configure("krishna.cfg.xml");----->correct

3.what is the difference between load( ) method and get( ) method?
 ans: load( ) method
      --> if the given id is doesn't exits in the database then load( ) method throws Object     NotFoundException.
     --->load( ) method reads an object from the database when is accessed in the code ,but not immediately load( ) method called.This is called "lazy loading"
    get( )method
     ---> if the given id is doesn't exists in the hibernate then get( )method simply returns null.
    --->get( ) method reads an object from the database when accessed in the code,immediately get( ) method called .This is called "early loading".

4.In hibernate application how many states are contain a pojo class object?
ans: In hibernate application a pojo class can contain 3 states.They are
       1.Transient State
       2.Persist State
       3.Detached State
Transient State:
    --->if the object is not entered into the session then the object is in Transient State.So it is not associated with database.
    ---->if any changes are done on a Transient state object it is not effected on the database.
Persistent State:
      ---> if the object is entered into the session then the object is in Persistent State.So it is associated with database.
     ---->if any changes are done on a Persist state object is effected on the database.
Detached State:
    ---->if the object is come out of the session then the object is in Detached State.So it is not associated with database.
  ---->if any changes are done on the database object is not effected on the database.

5.what is the difference between update() method and merge( )method?
ans:-->update( )method and merge( )method both are used to convert the object from detached state to persist state
   update( ) method:
     -->we can call the update( ) method to convert a detached state object into persist state.while converting if already an object exits in a cash with the same id then update( ) method throws org.hibernate.NonUniqueObjectException it means update( ) method fails.
  merge( )method:
    ---->we can call the merge( )method to convert a detached state object to persist state.while converting  if already an object with same id exists in the cash then merge( ) just copies the changes from detached state to object which is already exists in the cash.But it does not throw any Exception.
 
Read More

Indian Postal Recruitment 2013


Indian Postal Recruitment : Indian postal Recruitment has invited a notification for Postal vacancies. Details of the post and qualification details are given bellow..

Name : Indian Post

Name of the Post and Number of Posts are

Name of the Post                                Number of Posts

  1. Director(debt)                                  01
  2. Director(Equity)                               01
  3. Director(MIS)                                  01
  4. Director(Accounts and treasury)       01
Qualification: candidate should be completed  M.Com/MA  from the Recognized University.

Age Limit :  not applicable for all the posts.

How To Apply: Applicants can apply through prescribed application format and filled from,attested copies send to Dy.Director General,Deportment of Posts, Dak Bhawan Sansad Marg New-Delhi-110001

Fees: Selected Applicant will get pay band 15600-39100/- for all the posts

Last Date of the Application: 60 days from date of the Advertisement.

For More Details of the Notification: Click Here
Read More

DRDO Recruitment 2013


DRDO Recruitment: Defense Research and Development Organization has released a notification for DRDO posts.Candidates who wish to this application must pass PhD. from a Government recognized college or university.who are Eligible for these post.Fore more details of the post are given bellow...

Name of the Post : Research Associate

No of the Posts: 1

Qualification: Candidate must passed Doctor of Philosophy

Age Limit: Candidate age must have 30 years.

Selection  Process: Candidate selection will be based on the performance.

How To Apply: Candidates have to bring Bio data of the candidate Details ,Two passport size photos and Resumes,all the documents on before 29-10-2013 at DIPR,Ministry of the Lucknow,Timarpur Delhi-110054

View More Details:
Read More