Top "Pojo" questions

POJO is an acronym for Plain Old Java Object.

Ehcache automatic key generation and @Cacheable spring annotation

Does anybody know how the default key generation for Ehcache works? If I have the following method: @Cacheable(cacheName = CACHE_…

java spring ehcache pojo method-parameters
Why shouldn't I use immutable POJOs instead of JavaBeans?

I have implemented a few Java applications now, only desktop applications so far. I prefer to use immutable objects for …

java immutability javabeans pojo
Convert a POJO to a <K,V> map

Possible Duplicate: How to convert a Java object (bean) to key-value pairs (and vice versa)? What is the best way …

java map pojo
Freemarker print date in template

I am trying to print the current date when the template is activated. I have read that I have to …

templates datetime freemarker pojo pretty-print
Using EJB injection in a POJO

I know that injection using the @EJB annotation is only possible in an EJB class, a servlet, or a JSF …

java jsf jakarta-ee ejb pojo
Pojo to xsd generation

Is there a library which could generate a xsd schema from a java class? Google yields lots of results the …

java xml xsd pojo
What is the correct syntax for "is" variable getter/setters in a POJO class?

If a class contains a variable named "blah", then the standard getter/setter syntax is obviously getBlah() and setBlah(). But …

java pojo
Json to POJO mapping in Android

What are good practice for handling json over a Rest Framework in Android. For instance, if I get a certain …

android json pojo
Difference among Model, javabean and POJO

I started learning MVC with spring. I have heard lot of time Bean, that contains setter and getter. Model is …

java model javabeans pojo
Generate Map<String,String> from POJO

I have a POJO, and a (currently not-yet-built) class that will return Lists of it. I'd like to automatically generate …

java android pojo listactivity