Prepare for your Next Interview
This is a discussion on nazeer within the Job Offers forums, part of the Career Enhancement category; I am new in java side. plz how to start Hibernate a simple program. what mean of POJO class? What is mean of Session? plz any one anwer me?...
|
|||
|
Re: nazeer
Hi friend..
Pojo is an acronym for plain old java object, and is favoured by advocates of the idea that the simpler the design, the better. The name is used to emphasize that the object in question is an ordinary java object, not a special object, and in particular not an enterprise javabean (especially before ejb 3). The term was coined by martin fowler, rebecca parsons and josh mackenzie in september 2000: "we wondered why people were so against using regular objects in their systems and concluded that it was because simple objects lacked a fancy name. So we gave them one, and it's caught on very nicely." [1] the term continues the pattern of older terms for technologies that do not use fancy new features, such as pots (plain old telephone service) in telephony, and pods (plain old data structures) that are defined in c++ but use only c language features. The term has most likely gained widespread acceptance because of the need for a common and easily understood term that contrasts with complicated object frameworks. A javabean is a pojo that is serializable, has a no-argument constructor, and allows access to properties using getter and setter methods. An enterprise javabean is not a single class but an entire component model (again, ejb 3 reduces the complexity of enterprise javabeans). As designs using pojos have become more commonly-used, systems have arisen that give pojos some of the functionality used in frameworks and more choice about which areas of functionality are actually needed. Hibernate and spring are examples. The equivalent to pojo on the .net framework is plain old clr object. Sessions.. You mean session tracking.. Please tell me.. Thanks deepasree |
|
|||
|
Re: nazeer
hi friend..
just refer this link for hibernate program Running First Hibernate 3.0 Example thanks Deepasree |