Questions tagged as 'pojo'

1
answer

What is the difference between JavaBean and POJO?

I'm new to java and I have this doubt. I looked in various places on the internet and asked several JAVA programmers friends but none could clearly explain the difference between the two. What's the difference between JavaBean and POJO?     
asked by 26.06.2014 / 22:16
2
answers

Questions about DAO, MVC, Multiple Tables and POJO

If someone can help me, I have a question that has been consuming me a lot in recent days and is psychologically locking my studies (hehehhe) MVC and DAO with multiple tables. I will put here a model, an idea and then evolve my doubts: We ima...
asked by 30.11.2015 / 20:45
2
answers

How to find a pattern to keep the same data modeling between a JSON object, a POJO, and JPA?

To make it easier for me to understand my question, follow the example below: A POJO: public class Person { private String name; private String location; } String JSON: String json = {name:"Jose", location:"Eslovenia"}; Se...
asked by 26.07.2016 / 22:36
1
answer

What are pre-specified classes?

Reading the wikipedia publication on POJO (Plain Old Java Objects), I came across the term pre-specified classes. I understood very superficially that perhaps it is the classes of the specification, but it was not very clear. Could you explai...
asked by 21.11.2018 / 17:17
2
answers

Do I need to do unit tests of system entities?

I'm working on a project and I join a team, we were given the task of doing a series of tests with a system, testes de integração continua , testes unitários .... The point is that all systems have classes of entities and rules of...
asked by 21.08.2016 / 22:01
2
answers

How to create Pojos with annotations quickly?

I have a database with many tables, do I have to create the Pojo of each table? If so, can you automate?     
asked by 07.10.2015 / 21:23
1
answer

JSON for POJO returning Null

I am making a request from the site API swapi and whenever I do the conversion from JSON to POJO, I get the NULL return RestTemplate restTemplate = new RestTemplate(); String fooResourceUrl = "https://swapi.co/api/planets/?format=json"; Plan...
asked by 25.12.2018 / 03:04