| Author |
POJOs Clarification
|
Ram Adsumalli
Ranch Hand
Joined: Oct 16, 2006
Posts: 64
|
|
Hi Guys, Can any one help me in explaining,what is the usage of Plain Old java Objects. What are the benefits of using of POJOs,For what purpose they meant for. Thanks Raghu
|
 |
Steve Fahlbusch
Ranch Hand
Joined: Sep 18, 2000
Posts: 491
|
|
Let's start with this, What you think is the difference between a POJO and a non-POJO? And this is really looking like a beginning question! [ November 10, 2006: Message edited by: Steve Fahlbusch ]
|
 |
Ram Adsumalli
Ranch Hand
Joined: Oct 16, 2006
Posts: 64
|
|
Hi Steve, I dont have idea regarding the POJO. So i am unable to express the difference . If you Know can you please share your veiws. Thanks Raghu
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24057
|
|
|
Do you know what an EJB is? POJO is usually used in contrast to EJBs, and usually it's used when saying "you don't need EJBs, you can just use POJOs." In other words, "using POJOs" basically just means "not using EJBs."
|
[Jess in Action][AskingGoodQuestions]
|
 |
Ram Adsumalli
Ranch Hand
Joined: Oct 16, 2006
Posts: 64
|
|
Hi I am little bit confused with Ernest wording. If i am not wrong if i am using POJO means its no EJB as per Ernest But when i am reading through EJB 3.0 we are using annotation with POJOs. I am reading one of article published by Chris, In that i hope he mentioned that POJOs will not implement any special interfaces. But when i am working with session bean i am implementing the local and remote interfaces . can i know what is meaning for special interfaces which was mentioned by chris Raghu
|
 |
Steve Fahlbusch
Ranch Hand
Joined: Sep 18, 2000
Posts: 491
|
|
Have a look at the following (and the associated links) and see if this addresses some your concerns. http://en.wikipedia.org/wiki/Plain_Old_Java_Object
|
 |
 |
|
|
subject: POJOs Clarification
|
|
|