I want to delete a row in a database, so i created an EJB that does it for me @Stateless(name = \"ejbs/AdminAcountEJB\")
I\'m trying to write a CDI extension that needs to access the context parameters defined in web.xml via <context-param>. I think there are two ways of doing this:
I am using SOA and have multiple persistence.xml (each component dependent on DB). I am using Spring + JPA. Code sample as below:
I want to fill a simple h:datatable tag with some values from a database. But i get an exception and i cant find what is the reason:
I am struggling to create a query using the Criteria API. The following SQL query returns the result that I need:
I have a JSF page where users can enter their car into my database. The form has three input fields: Manufacturer
One of project that I am working on having this kind of designed pattern, one bean is defined and used by jsp/action/service classes, that is, used by presentation and business logic layer, while ther
When I format my JSF markup in Eclipse (Indigo), I observed that fairly short lines of codes are broken into more lines.
I am using Jersey 1.8 and the tutorials that I am referring are quiet old. Nothing works. I am referring to the tutorial given here
How to handle exceptions raised by @Transactional annotation. In a case where TransactionSystemException includes a ConstraintViolationException due to not null constraint violation for an ent开发者_G