Questions tagged as 'java-bean'

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

Empty constructor without super () call

When I make parameterized constructors, I create an empty constructor as well. In the empty constructor, should I always make the super () call? Because? (Take into account, that my class is just a JavaBean.)     
asked by 15.01.2016 / 12:54
2
answers

Relationship between bean and view

I have three views that show the same table with a sequence of leds and information, I have a service class that does the business logic to know which led and which color to display, in my bean responsible for the view I get...
asked by 28.06.2017 / 15:09
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
1
answer

Define Bean dynamically according to the registration screen

I'm starting a project with JSF, but I'm still "crawling" in the Framework, and starting with Java now too. I already work with programming, but not with Java ... hehe In my project, I want to have a standard template for registers, and for e...
asked by 12.06.2016 / 04:44
1
answer

Error trying to insert data via JSF form- BEAN error

I'm starting to create a WEB application using JSF, however I try to insert some data through a form and the error below is displayed:    /usuario.xhtml @ 19.72 value="# {BlueEmail user"): Target   Unreachable, identifier 'userBean' resolved...
asked by 24.09.2016 / 03:25
0
answers

Error Injecting DAO EJB

I have an EJB project built with JDK 7. Currently in production we use GlassFish-3.1 as an application server and we are trying to migrate the same to Payara-4.1. We were able to upload the application after several attempts, configurations and...
asked by 30.11.2017 / 20:30
0
answers

CDI beans within .jar file are not found by the container (Unsatisfied dependencies)

I created a Java project to serve as lib to other projects, reducing duplication of code between projects. This lib project is exported to jar to be included in Web projects. In Web projects (where these classes are being removed) everythin...
asked by 24.08.2016 / 00:35
0
answers

My application does not find my method

Take a look at the error message; jul 28, 2015 8:12:39 PM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException GRAVE: Error Rendering View[/noticias/PesquisaNoticias.xhtml] javax.el.PropertyNotFoundException: /notic...
asked by 29.07.2015 / 01:17
0
answers

Error message Method not found: class Bean

This is the error message apprehended; mai 25, 2015 3:40:55 PM com.sun.faces.context.SessionMap put ADVERTÊNCIA: JSF1063: AVISO! Definindo valor de atributo não serializável em HttpSession (chave: produtoMB, classe do valor: managedBean.Produt...
asked by 25.05.2015 / 21:27