Questions tagged as 'java-ee'

1
answer

Problems searching for a data by ID in jpa

Good afternoon everyone, I am working on a practice project to increase my skills in JAVA EE, the fact is that I am doing a billing system, using JSF, JPA and PrimeFaces, I have a billing page and within this I have a page that takes the client...
asked by 17.02.2017 / 22:07
1
answer

The module has not been deployed

Good afternoon, I've been studying the topic of persistence unit and running my application JEE does not execute it and sends me the following error:    GlassFish Server, deploy, null, false   C: \ Users \ PAVILION \ Documents \ NetBeansProje...
asked by 06.02.2017 / 20:18
1
answer

How to use documentViewer and ckEditor in primeFaces?

I have created a pdf file with iText and the javascript plugin ckEditor, later when I try to show it in the document viewer of primefaces it sends me the following error:    ckeditor.js: 94 GET    link   404 (Not Found) As far as I can s...
asked by 14.03.2017 / 05:28
1
answer

How to schedule tasks in Java EE 7 [closed]

I have a web app made in Java EE 7, I want to know how I can include scheduled tasks in it, I have reviewed Scheduling Tasks but what I still do not understand is about where I configure that, in what configuration file I should do it and how I...
asked by 31.01.2017 / 18:00
0
answers

XML String in Java Object

I need to serialize an XML that comes as a String from a browser Header to a Java object to be able to access one of its attributes. Ideally, something would generate it automatically so that you do not have to create classes that map...
asked by 17.03.2017 / 03:13
2
answers

Add objects of different classes to an ArrayList in Java

I have a problem adding objects to an arraylist. I have the following code line: List data = new ArrayList (); to this list I want to approve the data of different classes, to later pass this list as a datasource to ireport. Con...
asked by 16.11.2016 / 18:25
1
answer

Help with fileupload in java ee 7 xhtml, get n files uploaded

I hope you can help me with this. I'm with a web app in java ee 7 primefaces like the view and the corresponding Beans. What I want is the following: By selecting a particular category, requirements are generated dynamically and next to...
asked by 28.10.2016 / 20:45
1
answer

Error with webservices: javax.xml.stream.XMLStreamException

I created a webservice on java client from wsdl , on tomcat7 and axis2 When creating the class to invoke the operations (methods) of the webservice it gives me the Error:    javax.xml.stream.XMLStreamException: Message: Encoding Name...
asked by 21.10.2016 / 20:53
2
answers

Can a remote EJB use Classes (which are not EJBs) to be used by a remote client?

Situation: I have an EJB Project. It has a Class model that contains the business logic and database connection (the classes use JDBC). Within the same project, these classes are used by remote EJBs. Why? Because these EJBs will be used by a...
asked by 09.07.2016 / 02:26
1
answer

Remove permissions to upload file uploaded Java ee - Tomcat

I am trying to make a web with Java EE that allows uploading a file to the server and then downloading it. I have achieved both: Upload file to Java server ee However, I am having a terrible safety hole. The files are uploaded to C: \ files...
asked by 18.10.2016 / 01:07