Kamal Mettananda - SCJP 1.4 (98%)
Originally posted by Yilmaz Mete:
POJO : Plain Old Java Objects
but depending on the context, one may have referred EJBs also as POJOs![]()
Kamal Mettananda - SCJP 1.4 (98%)
"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."
Kamal Mettananda - SCJP 1.4 (98%)
Originally posted by Kamal Mettananda:
If that's just talking about Java Objects do we have to think anything more? It's just like learning J2SE. Is that correct?
A POJO is an object which simply contains data and methods, and nothing fancier.
Kamal Mettananda - SCJP 1.4 (98%)
A POJO is an object which simply contains data and methods, and nothing fancier.
Mike Firkser
Rutgers '84
Macy Wong<br />SCJP 1.4 & 5.0, SCJD, SCWCD, SCBCD, Oracle PL/SQL OCA
Enterprise Java consulting and training - <a href="http://www.chrisrichardson.net" target="_blank" rel="nofollow">http://www.chrisrichardson.net</a> Author, POJOs in Action - <a href="http://www.manning.com/crichardson" target="_blank" rel="nofollow">http://www.manning.com/crichardson</a> Enterprise POJOs blog - <a href="http://chris-richardson.blog-city.com" target="_blank" rel="nofollow">http://chris-richardson.blog-city.com</a>
Enterprise Java consulting and training - <a href="http://www.chrisrichardson.net" target="_blank" rel="nofollow">http://www.chrisrichardson.net</a> Author, POJOs in Action - <a href="http://www.manning.com/crichardson" target="_blank" rel="nofollow">http://www.manning.com/crichardson</a> Enterprise POJOs blog - <a href="http://chris-richardson.blog-city.com" target="_blank" rel="nofollow">http://chris-richardson.blog-city.com</a>
Originally posted by Chris Richardson:
POJOs and JavaBeans are two orthogonal concepts.
Kamal Mettananda - SCJP 1.4 (98%)
BEA 8.1 Certified Administrator, IBM Certified Solution Developer For XML 1.1 and Related Technologies, SCJP, SCWCD, SCBCD, SCDJWS, SCJD, SCEA,
Oracle Certified Master Java EE 5 Enterprise Architect
Originally posted by Billy Tsai:
POJO=PO?
PO is Persistence Object
Enterprise Java consulting and training - <a href="http://www.chrisrichardson.net" target="_blank" rel="nofollow">http://www.chrisrichardson.net</a> Author, POJOs in Action - <a href="http://www.manning.com/crichardson" target="_blank" rel="nofollow">http://www.manning.com/crichardson</a> Enterprise POJOs blog - <a href="http://chris-richardson.blog-city.com" target="_blank" rel="nofollow">http://chris-richardson.blog-city.com</a>
Originally posted by Kamal Mettananda:
Hi Chris,
According to ur explanation it is clear that java objects are called POJO when they use the basic J2SE level rather than using Framework specific classes or jars. And they basically target on the business logic.
Originally posted by Kamal Mettananda:
So is it correct to say that POJO is used in the DAO Pattern where the objects are independent of the DBMS?
Originally posted by Kamal Mettananda:
But one thing is not that clear for me.
I feel that both are a bit similar compared to EJB as non of those use any framework specific parts, except that Java Beans are used to store data while POJO are used to store data & business logic.
Enterprise Java consulting and training - <a href="http://www.chrisrichardson.net" target="_blank" rel="nofollow">http://www.chrisrichardson.net</a> Author, POJOs in Action - <a href="http://www.manning.com/crichardson" target="_blank" rel="nofollow">http://www.manning.com/crichardson</a> Enterprise POJOs blog - <a href="http://chris-richardson.blog-city.com" target="_blank" rel="nofollow">http://chris-richardson.blog-city.com</a>
BEA 8.1 Certified Administrator, IBM Certified Solution Developer For XML 1.1 and Related Technologies, SCJP, SCWCD, SCBCD, SCDJWS, SCJD, SCEA,
Oracle Certified Master Java EE 5 Enterprise Architect
Enterprise Java consulting and training - <a href="http://www.chrisrichardson.net" target="_blank" rel="nofollow">http://www.chrisrichardson.net</a> Author, POJOs in Action - <a href="http://www.manning.com/crichardson" target="_blank" rel="nofollow">http://www.manning.com/crichardson</a> Enterprise POJOs blog - <a href="http://chris-richardson.blog-city.com" target="_blank" rel="nofollow">http://chris-richardson.blog-city.com</a>
Originally posted by Chris:
* POJO - a class that does not implement special interfaces
Kamal Mettananda - SCJP 1.4 (98%)