In my aplication i want to send a html template to the users email. Everithing works correctly when i programatically create the html, but what i want to do now, is read the html text from within a fi
I just started learning portlet an开发者_JAVA技巧d got stuck in the first place. I have installed JavaEE 6 SDK, Eclipse Helios and GlassFish Server 3.0.1. I also successfully configured OpenPortal Por
I try to figure out what is the problem with this method that uses JPQL to validate if an email al开发者_如何学Cready exist in the DB, for some reason it does not work. Someone can have a look? Or giv
I am having some problems when i try to validate the user input from my JSF, in a managed beans. I recive the validation message in the console, but i dont see it in the page. I dont understand where
I seriously cannot find the correct way to do this. I have this method and it works, but it seems kind of a work around to do something so basic.
if (event.getDate().compareTo(startDate) < 0) { logger.warn(message.getValue(\"dateWarnMsg\")); FacesUtils.addWarnMessage(message.getValue(\"dateWarnMsg\"));
I have a short question: Can I test java ee 开发者_运维百科6 with junit 3, or do I have to use JUnit 4?No, JUnit version 3.8 and earlier supports Java up to version 1.4.
i am looking for a best practice handling a simple menu with JSF and CDI. I would like to have a top menu with dynamic entries. Something like (from the main template):
Researching I found that javax.persistence.ManyToMany relationship can be implemented various collection. I wonder if all java.util collections are permissible or if there are restrictions.
I\'ve been working on a Java EE 6 project (EJB 3.1, JSF 2, JPA 2) for some time now and I cannot figure out a good way to sort dynamic localized data. With dynamic localized data, I mean a user create